If you goto the game directory there's a "ModdingInfo" folder which explains the new way (much better).
You basically copy the bit you want from the main defs, and paste it into a new file in a Mods folder in your user profile. (Then after you load the game, at the main menu go into Mods and tick it.)
And you can make it so that the number of open slots depends on the level of the level of the defensive walls of the city. The stronger the walls, the more you can build in it.
jejeee me ha robado la imagen, que tío. Buen mod lo voy a probar!!! Jejee this guy stoled my image, it makes a smile for me!. Good mod, i wil try, thank you!!!
It seems like the new update changed the files a bit and now it doesn't properly work.
I won't update the file anymore because I expect the devs to update the game frequently nowadays to make small fixes.
Instead, I'll help you understand how you can edit the fiel in order to have 0 gold cost to the "extra" town slots. It's actually very simple.
1. Go to <*Game Location*\Knights of Honor II Sovereign\Defs> 2. Make a backup of the buildings.def file 3. Right click -> edit on the buildings.def file -- I recommend using notepad++ but even the default notepad can do the trick-- 4. Press CTRL+F and look for "resources slots_expand_cost" 3. Edit the line below that one to <<gold = (0 + 0 * (realm_tier)) //!!! please make this an array>> -- Look on the image to see exactly what I mean.
Yeah, as darkyy said. Just edit the "buildings.def" file in <<Knights of Honor II Sovereign\Defs>> using notepad++ (even the default open might do the trick). Of course, depending on what you want to achieve, you can edit other .def files.
I tried, I really wanted this in my game too :) but the new slots won't fit the screen. Perhaps in the future a more experienced modder may be able to also mod the UI to make the building icons smaller.
I've seen that there is even the possibility to get more than 9 agents, but again, they won't be visible because the slots will overlap.
So far, the game seems extremely moddable, so we just need to wait for some experienced modders to get to it.
14 comments
If you goto the game directory there's a "ModdingInfo" folder which explains the new way (much better).
You basically copy the bit you want from the main defs, and paste it into a new file in a Mods folder in your user profile. (Then after you load the game, at the main menu go into Mods and tick it.)
Jejee this guy stoled my image, it makes a smile for me!. Good mod, i wil try, thank you!!!
I won't update the file anymore because I expect the devs to update the game frequently nowadays to make small fixes.
Instead, I'll help you understand how you can edit the fiel in order to have 0 gold cost to the "extra" town slots. It's actually very simple.
1. Go to <*Game Location*\Knights of Honor II Sovereign\Defs>
2. Make a backup of the buildings.def file
3. Right click -> edit on the buildings.def file -- I recommend using notepad++ but even the default notepad can do the trick--
4. Press CTRL+F and look for "resources slots_expand_cost"
3. Edit the line below that one to <<gold = (0 + 0 * (realm_tier)) //!!! please make this an array>> -- Look on the image to see exactly what I mean.
Image:
https://prnt.sc/tR8sQTcg2u_R
also thank you so much, this mod makes the game so much better!
for the CSVs use separated by Tab,Comma and Semicolon, Text delimiter "
when saving, use 'Keep Current Format'
I've seen that there is even the possibility to get more than 9 agents, but again, they won't be visible because the slots will overlap.
So far, the game seems extremely moddable, so we just need to wait for some experienced modders to get to it.