Imperator Knoedel
Currently obsessed with The Owl House
How do I add a page to the Civilopedia?
You have to edit the Civilopedia XML doc in the assets folder: Assets/XML/Text/CIV4GameText_Civilopedia.XML
It depends on how you define "add a page". If you want to add a page for a unit, you just add the unit to xml and the DLL should take care of the rest. If you want to make a new category of pages, then you need to write code in python. In fact I would say it is so much code that it wouldn't fit a quick question.How do I add a page to the Civilopedia?
You need to use a modified dll to go above the limit.
CvGameTextMgr::assignFontIds() doesn't appear to have a limitWithout a modified DLL, the limit of resources is 74 (3 rows of 25 minus 1 slot so that it still works!).
I think it requires DLL modifications. However it should be fairly easy to implement. Something like power = power*(101-X)/100, where X is the number of military units on the plot in question. Add this at the right location and you have what you are asking for.I'm looking more for something that properly scales with the number of units on a tile, e.g. a unit sharing a tile with 17 units would get a -17% combat penalty.
I think it requires DLL modifications. However it should be fairly easy to implement. Something like power = power*(101-X)/100, where X is the number of military units on the plot in question. Add this at the right location and you have what you are asking for.
The question is: where is the right location? Also X should likely be capped or the AI can place 102 units on the same plot and maybe the game will crash due to negative power.