Here you can find the Mod from the Steam-Modpage from “prop Joe” which allows you to use console commands to manipulate the game for your liking.
Open the Console
Adds a bunch of commands that help with mod making and testing. Type the command into a text box below the chat box which can be accessed by pressing the chat button. Below the chat window you will find the console to put in the commands from below:
![type into the console to activate any cheats](https://warhammer.livingsites.com/wp-content/uploads/2021/06/Capture.png)
When adding to a unit or a settelment any cheat you need to select the given unit or settelment first and while selected you need to type in the command. It works only on one unit/settelment at once.
The Following Commands are avaiable:
Basic Commands
give gold number | gives number of gold to the player (can also be negative), if you have a settlement selected it will give gold to the faction owning the settlement |
give gold | gives 50000 gold to the player, same faction things as above |
fow on | fog of war on |
fow off | fog of war off |
add mov | restore selected char movement points |
mov | gives the selected character a buff with bonus movement points |
mov off | removes the buff with bonus movement points from the selected character |
add unit unit_key number | add number of units with unit_key to selected army |
add unit unit_key | add unit with unit_key to selected army |
add axp number | add number of ranks to all units of selected army |
add axp | add 1 rank to all units of selected army |
add xp number | add number of xp points to the selected character |
primary number | set primary slot level of selected region to number |
primary | set primary slot level of selected region to max |
region | recieve 1000 growth and one turn build-timer for buildings or hordes for all regions |
region off | turns off region |
give region | gives the player ownership of the selected region |
give region faction_key | gives faction_key ownership of the selected region, if a faction has no regions or armies on the map you can’t give them a region, spawn them an army first |
abandon | makes the selected region be abandoned |
kill | kills (or wounds if immortal) the selected character and his army |
technology | gives the player +2000% research speed |
technology number | gives the player number% research speed (can also be negative) |
technology off | remove the technology bonuses |
global rec number | changes the player’s global recruitment time by number of turns (use negative value to lower) |
global rec off | remove the global recruitment time bonuses |
heal number | sets health of each unit in the selected army to number, that is between 0-100 |
to_pool agent_key agent_subtype_key | adds a lord to the player faction recruit pool, the name will be blank and the character won’t be immortal, cross-race stuff won’t work without table adjustments, see link to my mod below for Lords |
item ancillary_key | gives the player an ancillary (items characters can equip), list of keys[pastebin.com], giving mounts won’t work, some items are culture-locked. See whole list of Item-Types here. |
tele | first select a character, then select another character or a settlement as a teleport target, after that typing tele will teleport the character |
export map | will create a map_out.json file in your WH2 Steam folder, you can import that into tww-interactive-map |
add trait trait_key | adds a trait to the selected character, e.g. add trait wh2_dlc09_trait_defeated_settra |
show mp | shows the “Load map.json” button that is in my Map Painter mod, it’s usually hidden past turn 1 |
show css | shows the “Change Starting Settlement” button that is in my Change Starting Settlement mod, it’s usually hidden past turn 1 |
dump ui | logs the UI hierarchy |
spawn subtype faction_key units | spawns an army next to selected character or settlement, use one of the general subtypes[pastebin.com], faction_key and units are optional |
shroud2 | switches the fog of war on the whole map to the “second stage” where you can see city ownership but cannot see armies, I think it looks a lot nicer, BUT YOU CAN ONLY TURN IT OFF by loading a save before this command |
kill2 | like kill but doesn’t kill the army so the army gets a new commander |
killc | like kill but kills the character permanently |
killc2 | like killc but doesn’t kill the army |
agent agent_type agent_subtype | spawns an agent near selected character or settlement, you can’t spawn legendary heroes with this, agent_subtype is optional, e.g. “agent dignitary”, “agent champion wh2_main_hef_noble” |
bb building_key | builds this building in the selected settlement, you need an empty building slot |
prg | combines the commands: primary, region and give gold because I use them a lot together |
ancies | gives your faction a bunch of ancillaries, I needed this when testing something |
cinv | starts the end game chaos invasion |
cinv2 | starts the mid-game chaos invasion |
Note: See whole list of Item-Types here.
Resources
Commands related to resources, you probably want one of the pooled resources:
res pooled_res_key number | add number of a pooled_res_key to the player faction (can be negative), look in the discussion thread for a list of keys |
hef_inf number | gives the player a faction buff that gives number of High Elf influence per turn, can be negative |
hef_inf off | remove the High Elf influence bonuses |
skaven_food number | gives a faction buff that gives number of food each turn, use off to disable |
give slaves number | gives number of slaves to the player faction, it gives 10000 slaves if used without a number |
other_res number | way to change chivalry, type other_res number to adjust how much you get those every turn, you don’t need to specify the resource name here |
cst_infamy | |
def_malus_sanity | |
dwf_oathgold | |
emp_imperial_authority | |
emp_loyalty | |
emp_prestige | |
emp_progress | |
emp_wanted | |
grn_salvage | |
grn_waaagh | |
lzd_old_ones_favour | |
lzd_sacrificial_offerings | |
skaven_food | |
skv_clan_mors | |
skv_clan_moulder | |
skv_clan_pestilens | |
skv_clan_skyre | |
skv_dust | |
skv_nuke | |
skv_reactor_core | |
tmb_canopic_jars | |
vmp_blood_kiss | |
wardens_supply | |
wh2_main_ritual_currency | |
yvresse_defence | |
skv_mutagen | |
skv_growth_vat | |
wef_worldroots_athel_loren | |
wef_worldroots_emerald_pools | |
wef_worldroots_gaean_vale | |
wef_worldroots_gryphon_wood | |
wef_worldroots_heart_of_the_jungle | |
wef_worldroots_laurelorn | |
wef_worldroots_naggarond_glade | |
wef_worldroots_vale_of_webs | |
wef_worldroots_naggarond_glade_vortex | |
wef_amber |
Diplomacy
Commands related to diplomacy, you can disable fog of war to be able to select any region:
alliance | make a military alliance with the owner of the currently selected settlement or character |
peace | make peace with the owner of the currently selected settlement or character |
trade | make a trade agreement with the owner of the currently selected settlement or character |
confederate | confederate the owner of the currently selected settlement or character |
war | starts a war between the player and the owner of the currently selected settlement or character |
vassal | some thing as above |
alliance2, peace2, trade2, confederate2, war2, vassal2 | same thing as the commands above but can target any 2 factions, and not necessarily involve the player faction, so the way it works: select first region, select second region, type the command (for example war2) |
Misc
Commands related to executing Lua code: lua, e, ee
Commands related to printing game information: info, more info, coords, comps