Overview
We all try to expand our gameplay somehow, so that it is not boring, or simply to facilitate it. Here I will show you a list of commands for Battle for Wesnoth! These commands may not work in Multiplayer Game! First of all, we need to access to the command mode, you need to click Shift + : .Then we see an area at the bottom of the screen where we can enter the text. Just enter the command you want (Don’t type with “:”)I hope that guide help you! The list of commands has been taken from the official Battle of Wesnoth website.
Commands
Shift + : activates this:
And here is the list of commands you can type:
(There’s also a “help” command if you still don’t know anything about one of these commands)
- :q!
quit the scenario (without prompting) - :w
save the game (without prompting) - :wq
save the game and quit the scenario (without prompting) - :refresh
redraw the screen - :droid [side] [on|off]
toggle player on side between human and AI player. The player/client who controls that side needs to issue this command. If you don’t provide side, the current side is assumed. - :idle [side] [on|off]
toggle player side between idle mode and not. This command should normally be needed only for debugging purposes. - :controller [side]
debugging command which displays the current controller type of a side. - :muteall
toggles muting/silencing of all observers on/off - :mute [username]
mute a specific observer. If no username is supplied the muted usernames are displayed. - :unmute [username]
unmute a specific observer. If no username is given everyone is unmuted. (Doesn’t effect the muteall setting.) - :kick username
kick a user in multiplayer. They will be able to rejoin the game. Generally a friendly way to remove someone who is having connection or other difficulties. - :ban username
kick and ban a user in multiplayer by the IP address used by that username. Can be used on users not in the game but on the server. (Of course they won’t be kicked then.) - :unban username
unban a user by the IP address used by that username. Can be used on users not in the game but on the server. - :control side username
change the controller for side (write here the number of the side, the side must be controlled by you) to username (write here the nick of the player or observer) - :give_control
launch a friendly gui to assist with assigning control of sides to players - :clear
clear chat messages. Also possible with ctrl+x - :debug
switch debug mode on (does not work in multiplayer). Debug mode is turned off by quitting the game or using the :nodebug command. - :theme
bring up theme selection menu - :nosaves
turns off the autosave function - :show_coordinates (or :sc)
Overlay x,y coordinates on map tiles. - :show_terrain_codes (or :tc)
Overlay terrain codes on visible map tiles. - :discover/undiscover
Show all hidden unit descriptions in the in-game Help, or forget the known ones.
Debug Commands
Debug Commands are more advanced than regular commands, some of people call them: Cheats. They concern army, resources, map, etc.
To activate debug commands, you need to type “debug” in commands mode
For Example:
List of Debug Commands:
- :lua statement
execute a Lua statement - :nodebug
disables debug-mode commands - :n/next_level
skip to next scenario by triggering a win event - :cl/choose_level
pops up a menu that allows you to move directly to a specified scenario. - :shroud
toggles shroud on/off - :fog
toggles fog on/off - :gold amount
add amount gold to the current player’s side - :create unit_type
create a unit of type specified at last selected hex - :unit hitpoints=amount
edit units hitpoints - :unit experience=amount
edit units experience - :unit attribute=value
when a unit is selected, this will set the unit’s attribute to value. See SingleUnitWML [wiki.wesnoth.org]for possible values. - :unit advances=N
when a unit is selected, this will advance (level up) the unit N times. - :unit status=petrified,-slow
(Version 1.13.2 and later only) sets or unsets statuses on a unit; put a – in front of the status to unset it. - :unit invulnerable=yes
(Version 1.13.6 and later only) makes the selected unit invulnerable. - :set_var attribute=value
this will set a WML variable to a given value - :show_var attribute
this will display a popup with the content of the variable - :throw/fire event_name
throw an event by name, like time over or enemies defeated. - :inspect
show a gamestate inspector dialog which allows to see variable info, team info, ai info. - :turn [number]
change the current turn to the specified number. If no number is provided, the turn number is increased by one. - :turn_limit [number]
change the turn limit for the current scenario to the specified number. If no number is provided, or it is -1, the turn limit is switched off. - :version
Report the release version and repository revision level.