Total War: WARHAMMER II

Total War: WARHAMMER II

Console Commands (Modding Tool) (WH2 VERSION)
 This topic has been pinned, so it's probably important
prop joe  [developer] Aug 12, 2020 @ 5:30am
3
2
1
Lists of DB keys and how to find them
List of trait keys, found in db/character_traits_tables/data__:
WH3: https://pastebin.com/raw/fSvcvkFs
WH2: https://pastebin.com/Du2EgT1A

List of faction keys, found in db/factions_tables/data__:
WH3: https://pastebin.com/raw/ACQJTyYz
WH2: https://pastebin.com/tcjrFt1c

List of region keys, found in db/regions_tables/data__:
WH3: https://pastebin.com/raw/FzNQJDyL
WH2: https://pastebin.com/JmqdaNsf

List of unit keys, found in db/main_units_tables/data__:
WH3: https://pastebin.com/raw/bZ4gF7Sz
WH2: https://pastebin.com/PHT1GxXC

You can get things like faction keys and unit keys by searching the game tables using RPFM[github.com]. Use Packfile->Load All CA Packfiles.
Make sure path to WH2 is set correctly and game selected in RPFM is WH2 or WH3.

If you're interested in modding, join Da Modding Den: https://discord.gg/FNyCS5c
Last edited by prop joe; Aug 28, 2022 @ 9:05am
< >
Showing 1-15 of 18 comments
ilya-rysenkov May 8, 2022 @ 2:41pm 
Hello. May I add types of agents (heroes) for better spawn here? If not, can you please do it himself?
Freankh May 21, 2022 @ 4:20am 
I search for a list of hero commands as well. Specially Borgut Facebeater. Thank you.
Kalenz Jun 18, 2022 @ 6:11pm 
How to set the path to WH2 correctly? I tried the main directly and the data directory neither works.
Hey man im trying to spawn the 4 legendary chaos lords for the deamon prince faction, how would i do so? thanks
Player of Games Jul 27, 2022 @ 9:44am 
Hello, I used RPFM to find the db key for patriarch starting traits, "strong", "knowledgeable", "disciplined", etc. I believe found them in db/character_skills_tables/data_ . For example disciplined seems to be "wh2_main_skill_innate_all_disciplined". But when I try to add them with at or remove them with rt it does nothing. Works fine with ice court mages and their starting traits, but not patriarchs. Anyone gone through and found a solution for this or have any ideas about what I'm doing wrong here?
Last edited by Player of Games; Jul 27, 2022 @ 9:53am
Spanks Aug 24, 2022 @ 10:58am 
would love to see an updated list with the keys of the new units released in IE if you have time to get around to it :) thank you so much for your work
Master Fuch Aug 25, 2022 @ 3:38am 
@Player of games
Same here, seems only to work for some heroes like ice court mage but not for DE master and dreadlord for example
Player of Games Aug 25, 2022 @ 5:28pm 
@Master Fuch
I believe the issue is that it's coded as a starting skill. Console Commands doesn't touch those... yet.
Last edited by Player of Games; Aug 25, 2022 @ 5:28pm
John Aug 26, 2022 @ 8:39pm 
Is there a list for agent_key? Drycha's Legendary Hero didn't spawn after doing the quest. So I want to add it manually.
fabbydog Aug 27, 2022 @ 11:01am 
Originally posted by Spanks:
would love to see an updated list with the keys of the new units released in IE if you have time to get around to it :) thank you so much for your work

I agree
Happy-cat-down Aug 27, 2022 @ 12:15pm 
Originally posted by ilya-rysenkov:
Hello. May I add types of agents (heroes) for better spawn here? If not, can you please do it himself?
yes pleas
Traim Aug 27, 2022 @ 4:53pm 
Would love a list of Building-Keys. I used to use Save-Parser to speed up the Buildingprocess to get Tier II Outposts and Sparring Chambers for the dwarfs, so I could start recruiting Quarrelers...
xChase182x Sep 6, 2022 @ 7:05pm 
Anyone happen to know the unit key for ROR Ghorgon for wh2? I cant seem to find it on the list.
DeepFriedNobu Sep 18, 2022 @ 4:19pm 
Originally posted by xChase182x:
Anyone happen to know the unit key for ROR Ghorgon for wh2? I cant seem to find it on the list.

wh2_dlc17_bst_mon_ghorgon_ror_0
Figaround Oct 14, 2022 @ 4:43pm 
How do I use a command to spawn an army with the right units? I clicked on my city and entered the command:
spawn wh2_dlc09_tmb_tomb_king wh2_dlc11_cst_mon_necrofex_colossus_0,wh2_dlc11_cst_mon_necrofex_colossus_0,wh2_dlc11_cst_mon_necrofex_colossus_0 units
- nothing happened. :wftosad: I need some Necrofex Colossus units. I'm playing as Nagash (mod), in the mortal empire campaign.
< >
Showing 1-15 of 18 comments
Per page: 1530 50