platyping
Sleeping Dragon
Unique Names
Feature 1:
Great People born will get different names based on the civilization of the player.
Example:
A Great General born in China may be Liu Bei, Guan Yu or Zhang Fei, but a Great General born elsewhere will never be one of those.
There are just 3 parts:
1) UnitInfos.xml
Remove all default unique names.
2) CvEventManager
Just one part under onGreatPersonBorn.
Leave it alone.
2) Text files
Some examples there.
So the first Scientist born in Greece will be Harry0.
The next Scientist born in Greece will be Harry1.
If the next Great Person is enginner, then it will be Riddler instead.
If the next Great Person is enginner again, since there is no further entry for enginner, it will simply be Great Enginner just like default BTS.
The only issue is that the yellow global message will simply display as Great Enginner born in XXX(XXX) without the unique name.
Currently, it will just follow the numbers so the first Scientist in Greece will always be Harry0 and not Harry1.
May look into randomisation when bored again.
Feature 2:
Cities built with different names according to Leader rather than Civ.
Alexander can have a different name list compared to Pericles.
Uses Greece city name list instead when Alexander list runs out.
Feature 1:
Great People born will get different names based on the civilization of the player.
Example:
A Great General born in China may be Liu Bei, Guan Yu or Zhang Fei, but a Great General born elsewhere will never be one of those.
There are just 3 parts:
1) UnitInfos.xml
Remove all default unique names.
2) CvEventManager
Just one part under onGreatPersonBorn.
Leave it alone.
2) Text files
Some examples there.
Code:
<TEXT>
<Tag>TXT_GREECE_SCIENTIST_0</Tag>
<English>Harry0</English>
</TEXT>
<TEXT>
<Tag>TXT_GREECE_SCIENTIST_1</Tag>
<English>Harry1</English>
</TEXT>
<TEXT>
<Tag>TXT_GREECE_SCIENTIST_2</Tag>
<English>Harry2</English>
</TEXT>
<TEXT>
<Tag>TXT_GREECE_ARTIST_0</Tag>
<English>Potter</English>
</TEXT>
<TEXT>
<Tag>TXT_GREECE_GREAT_SPY_0</Tag>
<English>Ron</English>
</TEXT>
<TEXT>
<Tag>TXT_GREECE_MERCHANT_0</Tag>
<English>Hermoine</English>
</TEXT>
<TEXT>
<Tag>TXT_GREECE_PROPHET_0</Tag>
<English>Tom</English>
</TEXT>
<TEXT>
<Tag>TXT_GREECE_ENGINEER_0</Tag>
<English>Riddler</English>
</TEXT>
So the first Scientist born in Greece will be Harry0.
The next Scientist born in Greece will be Harry1.
If the next Great Person is enginner, then it will be Riddler instead.
If the next Great Person is enginner again, since there is no further entry for enginner, it will simply be Great Enginner just like default BTS.
The only issue is that the yellow global message will simply display as Great Enginner born in XXX(XXX) without the unique name.
Currently, it will just follow the numbers so the first Scientist in Greece will always be Harry0 and not Harry1.
May look into randomisation when bored again.
Feature 2:
Cities built with different names according to Leader rather than Civ.
Alexander can have a different name list compared to Pericles.
Uses Greece city name list instead when Alexander list runs out.