This Python modcomp extends the existing unit naming
feature of BUG (and BUG-compatible mods) with a new
convention, "^nav^". For certain civilizations, this will
name naval units by drawing from the historical navies of
those civs. Some of these names come from lists while
others are generated according to a numbering scheme
(e.g., German U-Boats).
Some generated names will include a ship prefix
appropriate to the civilization, such as "USS" for
America and "HMS" for England. To specify a specific
prefix for any civilization, use the "^nav:<prefix>^"
format. E.g., "^nav:X.S.^" would prefix all naval unit
names with "X.S.". Note that "^nav:^" is also supported,
if you don't want any ship prefix at all.
If no name can be found or
generated, this behaves the same as the "^rc^"
convention, generating a civ-specific random name.
Compatibility:
This modcomp requires the latest BtS patch (3.19) as well
as a recent version of BUG or mod incorporating BUG
(e.g., BAT). It has been tested against BUG 4.5 and BAT
3.0.
Installation:
1. BACK UP your mod's Assets/Python/Contrib
directory. This modcomp includes modified versions of
RandomNameUtils.py and UnitNameEventManager.py and these
files will be overwritten.
2. Unzip the contents of this zip file to the mod's root
directory.
3. After starting the game, go to the BUG options screen
Unit Naming tab and set the value for NAVAL units to
^nav^ or ^nav:<prefix>^.
Known limitations and future directions:
As previously mentioned, this convention only works with
certain civilizations for which historical lists of ship
names are available from Wikipedia and similar online
sources. As of right now, that list includes:
* America * China * England * France
* Germany * Greece * India * Japan
* Korea * Netherlands * Ottomans * Persia
* Portugal * Russia * Spain
I welcome any suggestions and contributions for future
versions of this modcomp. Fictional ship names are fine,
provided they are freely usable for non-commercial
purposes.
Send me (duckstab) a PM on civfanatics.com with any bug
reports or other requests.
Changelog:
1.1: Added ability to override default ship prefix.
feature of BUG (and BUG-compatible mods) with a new
convention, "^nav^". For certain civilizations, this will
name naval units by drawing from the historical navies of
those civs. Some of these names come from lists while
others are generated according to a numbering scheme
(e.g., German U-Boats).
Some generated names will include a ship prefix
appropriate to the civilization, such as "USS" for
America and "HMS" for England. To specify a specific
prefix for any civilization, use the "^nav:<prefix>^"
format. E.g., "^nav:X.S.^" would prefix all naval unit
names with "X.S.". Note that "^nav:^" is also supported,
if you don't want any ship prefix at all.
If no name can be found or
generated, this behaves the same as the "^rc^"
convention, generating a civ-specific random name.
Compatibility:
This modcomp requires the latest BtS patch (3.19) as well
as a recent version of BUG or mod incorporating BUG
(e.g., BAT). It has been tested against BUG 4.5 and BAT
3.0.
Installation:
1. BACK UP your mod's Assets/Python/Contrib
directory. This modcomp includes modified versions of
RandomNameUtils.py and UnitNameEventManager.py and these
files will be overwritten.
2. Unzip the contents of this zip file to the mod's root
directory.
3. After starting the game, go to the BUG options screen
Unit Naming tab and set the value for NAVAL units to
^nav^ or ^nav:<prefix>^.
Known limitations and future directions:
As previously mentioned, this convention only works with
certain civilizations for which historical lists of ship
names are available from Wikipedia and similar online
sources. As of right now, that list includes:
* America * China * England * France
* Germany * Greece * India * Japan
* Korea * Netherlands * Ottomans * Persia
* Portugal * Russia * Spain
I welcome any suggestions and contributions for future
versions of this modcomp. Fictional ship names are fine,
provided they are freely usable for non-commercial
purposes.
Send me (duckstab) a PM on civfanatics.com with any bug
reports or other requests.
Changelog:
1.1: Added ability to override default ship prefix.