Unit Code Entrance?
Moderator: Forum Moderators
-
- Posts: 30
- Joined: December 5th, 2005, 1:46 pm
- Location: London
- Contact:
Unit Code Entrance?
I'd like to cheat in Wesnoth. Well, sort of anyway. (I don't care what people might criticise me for, I've played Wesnoth long enough to allow myself a few sins
)
A while back, god knows from where, I learned of a way to almost enter the coding of a certain unit, whilst in a game. It was some keyboard combination, can't remember what, and it allowed you to change stats like experience and hitpoints.
You hit the keyboard combination, and a dialogue box appears, and you had to type a certain code to change a certain thing (followed by it's value). It was very useful when stuck in a situation, and I'd like to know if anyone still knows where I can locate it? And what the codes etc. are?
Cheers, Raven.

A while back, god knows from where, I learned of a way to almost enter the coding of a certain unit, whilst in a game. It was some keyboard combination, can't remember what, and it allowed you to change stats like experience and hitpoints.
You hit the keyboard combination, and a dialogue box appears, and you had to type a certain code to change a certain thing (followed by it's value). It was very useful when stuck in a situation, and I'd like to know if anyone still knows where I can locate it? And what the codes etc. are?
Cheers, Raven.
silentoutpost.net • my moosic
- Elvish_Pillager
- Posts: 8137
- Joined: May 28th, 2004, 10:21 am
- Location: Everywhere you think, nowhere you can possibly imagine.
- Contact:
to open the command line, type ":". That is, a colon.
Then the command is "unit attribute=value", then press Enter while mousing over the unit.
Then the command is "unit attribute=value", then press Enter while mousing over the unit.
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.
-
- Retired Developer
- Posts: 2633
- Joined: March 22nd, 2004, 11:22 pm
- Location: An Earl's Roadstead
Re: Unit Code Entrance?
I am afraid that you are out of luck. All such knowledge was lost after the battle of Haral-Matlak when the Great Archives were burned to the ground by Orcish raiders and the ruins inhabited by a lich of great power. Alas, for there are no heros left who dare challenge his evil might and all knowledge of yore is lost.Ravenheart wrote:I'd like to cheat in Wesnoth. Well, sort of anyway. (I don't care what people might criticise me for, I've played Wesnoth long enough to allow myself a few sins)
A while back, god knows from where, I learned of a way to almost enter the coding of a certain unit, whilst in a game. It was some keyboard combination, can't remember what, and it allowed you to change stats like experience and hitpoints.
You hit the keyboard combination, and a dialogue box appears, and you had to type a certain code to change a certain thing (followed by it's value). It was very useful when stuck in a situation, and I'd like to know if anyone still knows where I can locate it? And what the codes etc. are?
Cheers, Raven.
http://www.wesnoth.org/wiki/CommandMode
"you can already do that with WML"
Fight Creeeping Biggerism!
http://www.wesnoth.org/forum/viewtopic. ... 760#131760
http://www.wesnoth.org/forum/viewtopic. ... 1358#11358
-
- Posts: 30
- Joined: December 5th, 2005, 1:46 pm
- Location: London
- Contact:
Okay, I've got my command line on the screen, but the wiki is very confusing I find. I've tried to experiment but the command line does nothing to the unit.
Say if I wanted my unit's experience to go up to 23 from 0, can someone please tell me exactly what I would need to type, where my mouse would be, if I have to select the unit etc.
Say if I wanted my unit's experience to go up to 23 from 0, can someone please tell me exactly what I would need to type, where my mouse would be, if I have to select the unit etc.
silentoutpost.net • my moosic
- Elvish_Pillager
- Posts: 8137
- Joined: May 28th, 2004, 10:21 am
- Location: Everywhere you think, nowhere you can possibly imagine.
- Contact:
They're forgetting to mention that you need to enter debug mode first.
To do so, bring up the command line by typing a colon, and then type:
debug
THEN all those unit attribute commands will work, and you'll also notice that your contextual menus have a few additional options (such as creating units, and changing the side a unit is on).
To turn off debug mode, enter the command:
nodebug
Note: using debug mode to change something in a (network) multiplayer game will ruin that match, because the things you're changing don't change on the opposite side, and the game will rapidly get out-of-sync. Debug mode is for single-player games, only.
To do so, bring up the command line by typing a colon, and then type:
debug
THEN all those unit attribute commands will work, and you'll also notice that your contextual menus have a few additional options (such as creating units, and changing the side a unit is on).
To turn off debug mode, enter the command:
nodebug
Note: using debug mode to change something in a (network) multiplayer game will ruin that match, because the things you're changing don't change on the opposite side, and the game will rapidly get out-of-sync. Debug mode is for single-player games, only.
-
- Posts: 30
- Joined: December 5th, 2005, 1:46 pm
- Location: London
- Contact: