Confused by unit names

morchuflex

Emperor
Joined
Feb 19, 2004
Messages
1,389
Location
Paris
Hello.

I love this mod. :goodjob:

But I don't like the way units are labelled (on the main view): after upgrading my warrior to a maceman, it shows as "warrior (maceman)". I find this extremely confusing.
I don't find really helpful, either, to know where the unit is from.

Is there a way to have units just show as what they are, without any other indication? I went though every option but couldn't find anything related.
 
Maybe the unit naming tab in the BUG options screen is labeled wrong in French but it's definitely there. It's the 8th tab form the left (or 3rd from the right). Just untick the first option.

Edit: btw: We are looking for someone who is willing to update the French translation of BUG with the latest changes. *hint* :D
 
Maybe the unit naming tab in the BUG options screen is labeled wrong in French but it's definitely there. It's the 8th tab form the left (or 3rd from the right). Just untick the first option.

Edit: btw: We are looking for someone who is willing to update the French translation of BUG with the latest changes. *hint* :D

You're right, of course. And I had seen it. But it seems that the change (ticking or unticking) only takes effect after you start a new game. That's a bit surprising.

As for updating the French translation, I'd be glad to help. Tell me what you need. :)
 
I'm not quite sure but I think, it takes effect immediately but once named units don't get there old names back. :dunno:

Would be great if you could lend us a hand. :D Just get the latest daily build from here, unzip it, and navigate to "...\BUG Mod\Assets\XML\Text\" and open one of the files to translate it. The files are pretty self-explanatory: just write your translation between the <French> tags. A big part was already translated by falc but it shouldn't be a problem, if you got a better phrase and want to rewrite it. :)

Edit: Forgot to say: You absolutely don't have to translate "Strategy_CIV4GameText.xml". And "TraitsPedia_CIV4GameText.xml" only if you would like to do it.
 
How can I add new unitcombat types to BUG ?

First modify the config file Assets/Config/UnitNaming.xml to add a new option for each new combat type. Copy one of the existing ones as an example.

Next modify the Python file Assets/Python/BUG/Tabs/UnitNamingOptionsTab.py to add the new options to the screen. Again, copy an existing call to "addCheckbox" for each new option.

I think that's all you'll need to do. All other parts of BUG that involve combat types are able to do it without referring to explicit combat type constants. That means they will use the new combat types without any changes on your part.
 
Back
Top Bottom