Trouble Building Newly Added Units

Well, I haven't played a game with the new units yet and thus have not had the problem you describe.

I noticed the following:

<Description>TXT_KEY_UNIT_AKULA</Description>
<Civilopedia>TXT_KEY_UNIT_AKULA_PEDIA</Civilopedia>
<Strategy>TXT_KEY_UNIT_AKULA_STRATEGY</Strategy>

Have you defined all three of those tags in the appropriate xml file? I suppose that if any of those weren't defined properly the game might crash. I often don't bother with the last two and just re-use the submarine's tags.
 
NP300 said:
Well, I haven't played a game with the new units yet and thus have not had the problem you describe.

I noticed the following:

Code:
<Description>TXT_KEY_UNIT_AKULA</Description> 
<Civilopedia>TXT_KEY_UNIT_AKULA_PEDIA</Civilopedia> 
<Strategy>TXT_KEY_UNIT_AKULA_STRATEGY</Strategy>


Have you defined all three of those tags in the appropriate xml file? I suppose that if any of those weren't defined properly the game might crash. I often don't bother with the last two and just re-use the submarine's tags.

That won't cause the problem he is having. Those three lines are merely for text entries. Having them there without the appropriate entry in the XML text file will result in that line being displayed instead of what it would be in the text file itself.

Example: TXT_KEY_UNIT_AKULA would be entered into one of the text file like this.

Code:
     <Text>
             <Tag>TXT_KEY_UNIT_AKULA</Tag>
             <English>Akula Submarine</English>

There would be translations for the other languages as well however, if this info was missing, then in game when you look for that unit, you would get the name saying TXT_KEY_UNIT_AKULA instead.

Same goes for the other two entries. ;)
 
Back
Top Bottom