Kohan II: Kings of War

Kohan II: Kings of War

Unit cap?
Does anyone happen to know where in the files the unit cap is? I would like to increase it but not sure where to find it. Any help would be appreciated. Thanks!
< >
Showing 1-5 of 5 comments
mzub245 11 Jan @ 4:35pm 
You should change EconomyLimitedResourceMax to the desired value in steamapps\common\Kohan II\data\Game\SVars_k2.tgi

Keep in mind, that 1) it may have unforeseen consequences elsewhere and 2) the engine is old and may not support a big increase in squad and model number (i.e., every Lich animates 2 squads of skeletons, 2 Liches per undead squad and now every +1 to supply leads to +17 models +3 squads in-game, so an increase in max number of squads may lead to much greater increase in-game).

Hope that helps.
Thank you very much, so far we have been throwing mods at the game and its been surprisingly stable. And if it gets messed up its pretty easy to delete and re-install
So i found the SVars file in my documents folder not in the steam app folder, dont know if that makes a difference but in the SVar file the EconomyLimitedResourceMax value was 150, so i changed it to 300 but it made no difference on the population cap. Is there something im missing? Thanks again for your help.
mzub245 12 Jan @ 10:05pm 
No. That's either a wrong file, or somewhere in it should be the second EconomyLimitedResourceMax.

I have Arcane Wars installed, but I checked another mod called Heavy Mod and, while Heavy Mod's author was quite a purist (he packed his mod into an RWD and insisted that all modding should be done through provided hex editor) in his recommendations he says that indeed the string EconomyLimitedResourceMax = 20 should be changed to change the max squad number.

I also checked the file you changed. Based on the next string, I suspect that you changed the max displayed amount of supply-based resources, like wood or mana.

The needed file should probably be in the same directory with the one you edited (at least it is on my PC). Sorry if my reply is not of much help.
So an update, i found the line that i needed to change, it was indeed EconomyLimitedResourceMax, and there is 2 values under that same name, but i found the pop cap one in the Data.RWD file not the SVar file in case anyone else wants to make this modification. Thanks for the help on this
< >
Showing 1-5 of 5 comments
Per page: 1530 50