Need help finding a TXT Key

Jennar

Chieftain
Joined
Nov 25, 2008
Messages
55
I've recently added an improvement to my mod that grants a happiness penalty to the nearby city that it is created to buy when it shows up in the sity bar it says :"All this Tree Hugging is driving me Crazy!"

I am looking for the txt key that this comes from so that I can change to a more appropriate title. Is anyone aware of what it is?

-J
 
I am no sure if i understand what happens (actually i am sure, that i don't)... Anyway...

All the on-screen text in the game should be in one of the Assets\XML\CIV4GameText_[Something].XML files. Note that, even if you are modding BTS, the file might be in Vanilla, Warlords or BTS Assets folder (depending on which version of the game introduced it).
 
Its the XML tag that grant happiness for an improvement for being inside the BFC. Just like a Forest Preserve. The difference being I place a negative value instead so that the improvement will generate unhappiness for being in the BFC.

Since forest preserves were introduced in BTS I was assuming it would in a text file somewhere there but have been unable to find anything resembling that message in any of the text files. You see the message when you mouse over the happiness/unhappiness icon in the city sub-screen.

For clarity:
ForestPreserve.jpg

Any help would be great.

-J
 
Oh, now i get it. Funny.

It's still in the Text XML files i mentioned... But now i see the exact spelling i can do the pattern search for you ;)

CivIV/Assets/XML/Text/CIV4GameTextInfos.xml:6862: <English>+%d1_Change[ICON_UNHAPPY]: "All this tree-hugging drives me crazy!"</English>
 
Back
Top Bottom