[BTS] New Resource Help - Wrong Icon in Civilpedia

Pir Lan Tota

Warlord
Joined
Jan 28, 2008
Messages
276
Location
Manchester
Hi all,

I made a new resource that is being generated by a building. All fine, resource works, building works, only thing that goes wrong is the following.

I took the Hollywood building as a template. Now in the Civilpedia and when I hoover over the building in the city screen, it shows the name of the building, "Amber Mine" with the icon of Hit Movies behind it. In the trade screen, it actaully does show the amber icon correctly.

Any idea where I missed a reference?
 

Attachments

  • PirLanTota_v3.1.zip
    2.8 MB · Views: 18

Pir Lan Tota

Warlord
Joined
Jan 28, 2008
Messages
276
Location
Manchester
ok, I found it, its the FONT index


<BonusArtInfo>
<Type>ART_DEF_BONUS_AMBER</Type>
<fScale>1.0</fScale>
<fInterfaceScale>1.0</fInterfaceScale>
<NIF>Art/amber_1.dds</NIF>
<KFM/>
<Button>Art/amber_1.dds</Button>
<FontButtonIndex>34</FontButtonIndex>
</BonusArtInfo>



Question is, how do I add a FontButtonIndex number to my own DDS file?
 

<Nexus>

Traveler of the Multiverse
Joined
Jan 23, 2014
Messages
5,325
Location
In a constant brainstorm...
Question is, how do I add a FontButtonIndex number to my own DDS file?
You don't.
Just use the next empty slot and index number and see if it works or not.
It works for many mods but I'm not sure about BtS. Still worth a try IMO.
 

Pir Lan Tota

Warlord
Joined
Jan 28, 2008
Messages
276
Location
Manchester
Yea this might be the best way. I am using now an high empty number, better to have nothing show up than the wrong icon! Thanks Zeta!
 

merijn_v1

Black Belt
Joined
Dec 29, 2008
Messages
5,928
Location
The city of the original vlaai
Top Bottom