M2TW Console Commands: All Working Cheat Codes for 2021

Gamingrobo is here to share m2tw console commands with you which are helpful to make your gaming experience better and more interesting.

You can surprise your friends by using these cheat codes since they can do the most awesome things that can be a miracle for a normal player.

We have listed m2tw console commands below in this article but some of you may not know how you can use these commands.

To use these cheat codes in your game, you must know how you can enable the console to enter those codes.

How to Enable Console in M2tw

an image with how to enable console in m2tw written on it

To use m2tw console commands, first of all, a console must be opened. You can open the console in this game by pressing the tilde (~) or apostrophe (‘) key on your keyboard.

After that you can simply enter the command of your choice and hit enter to see its effect.

M2tw Console Commands

an image with m2tw console commands written on it

Here is the list of 27 m2tw console commands for you. Enjoy the gaming without fear.

NameSyntaxDescription
disable_aidisable_ai [ai type]This command is used to disable all AI, or the specified AI type.
run_airun_ai [x]This command is used to re-enable the AI after you have previously disabled it with the disable_ai or halt_ai commands. You can use the ‘x’ argument to re-enable all types of AI (if you have disabled them individually using the disable_ai command).
give_traitgive_trait [character name] [trait id] [level]This command is used to give 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.
halt_aihalt_ai [faction name]This command is used to halt 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.
show_cursorstatshow_cursorstatThis command is used to 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.
controlcontrol [faction name]This command is used to 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.
add_moneyadd_money [faction name,] [amount]This command is used to give you the specified amount of money. You can optionally specify a faction type before the amount to give money to that faction. To remove money, specify a negative amount.
set_emailset_email [faction name] [email address]This command is used to set the email address for the specified faction (server-only).
create_unitcreate_unit [settlement / character name] [unit id] [amount] [experience] [armor] [weapon]This command is used to 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).
auto_winauto_win [attacker / defender]This command is used to 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.
set_optionset_option [option name] [value]This command is used to 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.
bestbuybestbuyThiscommand is used to toggle 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.
surrender_regionssurrender_regions [faction name]This command is used to surrender all regions belonging to the specified faction to the rebels.
remove_ancillaryremove_ancillary [character name] [ancillary id]This command is used to remove 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”).
logofflogoffThis command is used to log you out from developer console access on a server. You can re-enable it with the logon command.
move_charactermove_character [character name] [x] [y]This command is used to move the character with the specified name to the specified coordinates.
character_resetcharacter_resetThis command is used to reset your character back to the settings he/she had at the start of your current turn.
logonlogon [password]This command is used to enable the developer console on a server, given that the provided password is correct.
clear_passwordclear_password [faction name]This command is used to clear the password for the faction with the specified name (server-only).
disable_vnvsdisable_vnvsThis command is used to enable and disable the game applying traits and attributes. They are enabled by default.
toggle_fowtoggle_fowThis command is used to toggle Fog of War.
remove_traitremove_trait [character name] [trait id]This command is used to remove all traits, or a specified trait, from the character with the specified name.
add_populationadd_population [settlement name] [amount]This command is used to add the specified amount of population to the settlement with the specified name.
process_cqprocess_cq [settlement name]This command is used to instantly complete all pending construction work for the settlement with the specified name.
toggle_terraintoggle_terrain [terrain display id]This command is used to change the way the map terrain is displayed/highlighted in the game. See argument information for the terrain types.
set_passwordset_password [faction name] [password] [password]This command is used to set the password for faction with the specified name (server-only). You need to provide the password twice to confirm it was typed correctly.
give_ancillarygive_ancillary [character name] [ancillary id]This command is used to give 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”).

Frequently Asked Question About M2tw

an image with the frequently asked question about m2tw written on it

How do I open the console in Medieval 2?

As we said above, you can do so by pressing tilde key or apostrophe key on your keyboard.

What does a merchant do in Medieval 2?

Merchant trades and makes income by selling resources on the map according to merchant’s skill.

What do princesses do Medieval 2?

There are two main tasks done by princesses. One is marry and another is making deal with other factions.

How do you increase your piety in medieval 2?

You can do so by sending priest to a territory having different religion.

What factions can you play as in Medieval 2 Total War?

You can play as following factions: Kingdom of Jerusalem. Principality of Antioch. The Turks. Egypt. The Byzantine Empire.

How do you get rid of corruption in Medieval 2 Total War?

If you move your capital to the center of your empire then you can easily get rid of corruption in this game.

Summary: I hope you enjoyed this article and found m2tw console commands helpful to add extra fun to your gaming. You can find cheat codes of other games here.

Leave a Comment