New Resource has Problems in Civilopedia

trystero49

Prince
Joined
Apr 30, 2012
Messages
515
I made a new luxury resource and it all works fine and well. I'm having a pretty mundane problem with it though. I want to add a small "Game Info" blurb, like Jewelry and Porcelain have. So I looked into the XML files and noticed that these two resources have TXT_KEY_RESOURCE_[ResourceName]_HELP rows that contain the text in the Game Info blurb on the civilopedia. However, when I make my own Row with that tag, nothing happens in game. I've also tried making more headings the way they are done with leaders and civilizations. Is this sort of thing hard-coded? Seems a pretty lame limitation to have. Anyone have a solution?

This isn't a very big problem, like I said. It's just that I'd like my mod to emulate the game content presentation as best as possible.
 
Hello trystero49, how did you code your text ?

you need :

-1 the row with the key string
(example : <Help>TXT_KEY_RESOURCE_ALE_HELP</Help>)

- 2 to give your key string a content, done with this code :

<Language_en_US>
<Row Tag="TXT_KEY_RESOURCE_ALE_HELP">
<Text>Resource for the Pub. Requires a Brewery and Wheat.</Text>
</Row>
</Language_en_US>
 
Back
Top Bottom