Medieval 2: Total War Cheats


Find below a searchable list of all Medieval 2 cheats (also known as console commands). All cheat codes in the below list are from the latest version of Medieval II (including Kingdoms) on Steam (PC / Mac).

You can open the Medieval II console by pressing the ~ (tilde) key on your keyboard. If that doesn't work, try ' (apostrophe) or ` (tilde). You can send commands by typing them into the console and hitting ENTER on your keyboard. If you're struggling to open or use the console, see our console guide for more help.


Medieval 2 Unit IDs Medieval 2 Trait IDs Medieval 2 Ancillary IDs Medieval 2 Blog

Switch between different table layouts by pressing the "Table View" and "Card View" buttons next to the search box below. Click on a command's name to visit its documentation page, on which you can find working examples and more detailed help for that specific command.

Type a cheat code or console command's name into the search box below to instantly search our entire database of 27 Medieval 2: Total War cheats.

Name Syntax Description
add_population add_population [settlement name] [amount] This command will add the specified amount of population to the settlement with the specified name. You can specify a negative amount to remove population from a settlement.
add_money add_money [faction name,] [amount] This command will give you the specified amount of money. You can optionally specify a faction type before the amount to give money to that faction (instead of yourself). To remove money, specify a negative amount.
give_ancillary give_ancillary [character name] [ancillary id] This command gives the ancillary with the specified ID to the character with the specified name. If the character name has a space in it, put it in quotation marks (e.g. "name").
remove_ancillary remove_ancillary [character name] [ancillary id] This command removes the ancillary with the specified ID from the character with the specified name. If the name of the character you wish to remove the ancillary from has a space in it, put it in quotation marks (e.g. "name").
give_trait give_trait [character name] [trait id] [level] This command gives the character with the specified name the trait with the specified ID. You can optionally specify a level for the trait to be. By default the trait level will be 1.
remove_trait remove_trait [character name] [trait id] This command will remove all traits, or a specified trait, from the character with the specified name.
toggle_terrain toggle_terrain [terrain display id] This command changes the way the map terrain is displayed/highlighted in the game. See argument information for the terrain types.
toggle_fow toggle_fow This command enables and disables (toggles) Fog of War.
create_unit create_unit [settlement / character name] [unit id] [amount] [experience] [armor] [weapon] This command will create a unit within the specified settlement or for the specified character. The unit is specified by its unit ID. You can optionally specify an amount (default is 1) and the experience, armor and weapon level of the created unit(s).
process_cq process_cq [settlement name] This command will instantly complete all pending construction work for the settlement with the specified name.
control control [faction name] This command will switch the faction you are playing as to the specified faction. Note that AI will take control of the faction you were playing as before.
show_cursorstat show_cursorstat This command will show statistics about the location your cursor is over. Information includes the coordinates of the location, the name of the location, and the region ID.
character_reset character_reset This command resets your character back to the settings he/she had at the start of your current turn.
move_character move_character [character name] [x] [y] This command moves the character with the specified name to the specified coordinates. Find coorindates wil the show_cursorstat command.
surrender_regions surrender_regions [faction name] This command surrenders all regions belonging to the specified faction to the rebels.
auto_win auto_win [attacker / defender] This command will make the specified team (attacker or defender) automatically win the next auto resolved battle. To win your battle, when on the battle scroll, use this command (adjust based on whether you are attacker or defender), and then use auto resolve.
bestbuy bestbuy This enables and disables (toggles) the "best buy" cheat, which makes units 10% cheaper. Note that sometimes this command does not turn off and you will need to open and close your game to disable it.
logon logon [password] This command enables the developer console on a server, given that the provided password is correct.
logoff logoff This command logs you out from developer console access on a server. You can re-enable it with the logon command.
clear_password clear_password [faction name] This command clears the password for the faction with the specified name (server-only).
set_password set_password [faction name] [password] [password] This command sets the password for faction with the specified name (server-only). You need to provide the password twice to confirm it was typed correctly.
set_email set_email [faction name] [email address] This command sets the email address for the specified faction (server-only).
disable_ai disable_ai [ai type] This command disables all AI, or the specified AI type.
halt_ai halt_ai [faction name] This command halts the turn sequence at the start of the turn of the faction with the specified name. If you do not specify a faction name, the turn sequence will be halted at end of the current turn.
run_ai run_ai [x] This command re-enables the AI after you have previously disabled it with the disable_ai or halt_ai commands. Use the 'x' argument to re-enable all types of AI (if you have disabled them individually using the disable_ai command).
set_option set_option [option name] [value] This command sets the value of the specified option to the specified value. Use 0 and 1 to represent false and true (respectively) if the option is a boolean.
disable_vnvs disable_vnvs This command enables and disables (toggles) game applying traits and attributes. By default they are enabled.