New bonus resources - how to display them in the city screen?

Joined
Feb 6, 2006
Messages
796
I'm trying to add some bonus resources in my mod (like cotton, coffee, etc.).
I've downloaded a lot of resources in these forums, and it seems that everyting is ok.
However, one thing still doesn't work. When I open a city screen, I expect to see the hooked resources in the upper right panel, between the others (where the happiness and health bonuses are listed).
I actually see the new resources bonuses, but the resource icon is not showed!

I'm trying to discover where this graphic is specified, but neither in xmls, nor in pythoons, nor in the cpp source codes, I can find anything.
It seems that some tags in the CIV4PlotLSystem.xml file could specify something similar, but I don't know how to refer those tags.
Can anyone help me?
 
if you look carefully in the CIV4ArtDefines_Bonus.xml, olives, tobacco, and cotton are already there, and defined, they just don't have the icons that Edgecrusher spoke of.

They will also need to be defined in the CIV4bonusinfos.xml, as you've already done.

Actually in BtS, they don't have to be in any order. Fireaxis added the little <FontButtonIndex>0</FontButtonIndex> tags, only for resources though.

I'd suggest seeing the tutorial on "how to modify gamefonts for free", in the tutorials section.
 
Back
Top Bottom