Jeckel said:Alright the basics are now done. Couple things...
1) I'm sure there is a small error or two, so if you find them please report them.
2) I need more naming engines. If you have an idea for a way to name units, cities, or even buildings, post them and I will see what I can do about integrating it.
3) The next upgrade I am working on for this mod is a better way to name the early era ships, so if you have a favorite ship name let me have it and I'll add it into the list.
4) Lastly, I am also working on a way to name units based on the city they were built at, example 1st Boston Worker or 8th Beijing Warrior. This was suggested by Jimdigriz in the ModComponent request thread.
Thats it for today.
EDIT:
I reread and relized I didn't really explain how the various Naming Engines are implemented.
In the various config ini files you are able to set which naming system is used per unit, per unit class, per unit combat, and you can also set a default naming engine per domin for each era. You can declare which era to start naming units and which era to stop naming units. You can set whether or not barbarians get unique names, whether humans get random name, and whether AI units get random names. In the spoiler below is the Mod Config.ini file. I hope this shows the versitility with which unit naming can be controlled. At the moment the only limitation is small number of Naming Engines the mod has, but this will be rectified as I get more naming system ideas. Currently 3 new Naming Engines are in the planning stages.
Spoiler JRandomNames Mod Config.ini :[JRandomNames Mod]
; ###################################################################################
; ## ##
; ## This config.ini file has the main options allowing you to control ##
; ## what units get random names. These switches supercede all other options. ##
; ## ##
; ###################################################################################
; This option allows you to turn the JRamdomNames Mod on or off.
; True - This will activate the JRandom Names Mod.
; False - This will deactivate the JRandom Names Mod.
; Default = True
JRandom Names Mod Active = True
; This option turns barbarian random naming on and off.
; True - Barbarians get random names
; False - Barbarians do not get random names
; Default = True
Barbarian Units Receive Random Names = True
; This option turns the random naming of AI units on and off.
; True - AI units get random names
; False - AI units do not get random names
; Default = True
AI Units Receive Random Names = True
; This option turns the random naming of human units on and off.
; True - Human units get random names
; False - Human units do not get random names
; Default = True
Human Units Receive Random Names = True
; This option turns the random naming of land units on and off.
; True - Land units get random names
; False - Land units do not get random names
; Default = True
Land Units Receive Random Names = True
; This option turns the random naming of sea units on and off.
; True - Sea units get random names
; False - Sea units do not get random names
; Default = True
Sea Units Receive Random Names = True
; This option turns the random naming of air units on and off.
; True - Air units get random names
; False - Air units do not get random names
; Default = True
Air Units Receive Random Names = True
; This option allows you to use random naming for Great People or to
; use the normal Great Person naming.
; True - Great People get random names
; False - Great People get normal Civ4 Great People names
; Default = False
Great People Reveive Random Names = False
; This option sets the first era units can receive random names when they are created.
; Units will receive random names in this era but not in eras before this one.
; Default = ERA_ANCIENT
First Random Naming Era = ERA_ANCIENT
; This option sets the last era units can receive random names when they are created.
; Units can receive random names in this era but not in eras after this one.
; Default = ERA_MODERN
Last Random Naming Era = ERA_MODERN
Spoiler JRandomNames Era Defaults Config.ini :
; ###################################################################################################
; ## ##
; ## This config.ini file lets you set the default Naming Engine used in each Era. In each Era you ##
; ## are allowed to define a different Naming Engine for each of the three Unit Domains, Land, ##
; ## Sea, and Air. ##
; ## ##
; ###################################################################################################
; Defualt Naming Engines
; These sections, unless otherwise stated, are set to one of the following valid Naming Engines.
; The sample Naming Engines are as follows (see 'Valid_Naming_Engines_Readme.txt'):
;
; -No Random Name
; -Rathelon Generic Military Naming
; -TheLopez Random Names
; -TheLopez Random Civilization Names
; -Nexus Unit Count Names
; -Nexus Army Names
; -Nexus Navy Names
; -Nexus Air Names
; Below you can set default engines for each domain per era. Below you will find the standard eras
; in inside brackets, example [ERA_ANCIENT] or [ERA_MODERN]. Right below the bracketed era header
; will be three options, one for land units, one for sea units, and one for air units. Each of these
; three options can be set to one of the naming engines list above. If you wish for a domain units to
; not have a new name then set it equal to the first value above, ie No Random Name.
; Note:
; This is done by the Player's current era when the unit is created, not by any prereqs of the unit itself.
; Note:
; Modders, if you add new eras to your game, you can just add them into the list below and they should
; work just find.
[ERA_ANCIENT]
; This is for land units.
; Default = TheLopez Random Names
Default Land Naming = TheLopez Random Names
; This is for sea units.
; Default = Nexus Unit Count Names
Default Sea Naming = Nexus Unit Count Names
; This is for air units.
; Default = Nexus Air Names
Default Air Naming = Nexus Air Names
[ERA_CLASSICAL]
; This is for land units.
; Default = TheLopez Random Civilization Names
Default Land Naming = TheLopez Random Civilization Names
; This is for sea units.
; Default = Nexus Unit Count Names
Default Sea Naming = Nexus Unit Count Names
; This is for air units.
; Default = Nexus Air Names
Default Air Naming = Nexus Air Names
[ERA_MEDIEVAL]
; This is for land units.
; Default = TheLopez Random Civilization Names
Default Land Naming = TheLopez Random Civilization Names
; This is for sea units.
; Default = Nexus Unit Count Names
Default Sea Naming = Nexus Unit Count Names
; This is for air units.
; Default = Nexus Air Names
Default Air Naming = Nexus Air Names
[ERA_RENAISSANCE]
; This is for land units.
; Default = TheLopez Random Civilization Names
Default Land Naming = TheLopez Random Civilization Names
; This is for sea units.
; Default = Nexus Unit Count Names
Default Sea Naming = Nexus Unit Count Names
; This is for air units.
; Default = Nexus Air Names
Default Air Naming = Nexus Air Names
[ERA_INDUSTRIAL]
; This is for land units.
; Default = Rathelon Generic Military Naming
Default Land Naming = Rathelon Generic Military Naming
; This is for sea units.
; Default = Nexus Navy Names
Default Sea Naming = Nexus Navy Names
; This is for air units.
; Default = Nexus Air Names
Default Air Naming = Nexus Air Names
[ERA_MODERN]
; This is for land units.
; Default = Rathelon Generic Military Naming
Default Land Naming = Rathelon Generic Military Naming
; This is for sea units.
; Default = Nexus Navy Names
Default Sea Naming = Nexus Navy Names
; This is for air units.
; Default = Nexus Air Names
Default Air Naming = Nexus Air Names
[ERA_FUTURE]
; This is for land units.
; Default = Nexus Army Names
Default Land Naming = Nexus Army Names
; This is for sea units.
; Default = Nexus Navy Names
Default Sea Naming = Nexus Navy Names
; This is for air units.
; Default = Nexus Air Names
Default Air Naming = Nexus Air Names
Spoiler JRandomNames Advanced Config.ini :
; ########################################################################################
; ## ##
; ## This config.ini file lets you have more specific control over what units use which ##
; ## Naming Engine. ##
; ## ##
; ########################################################################################
; The following sections allow finner control over the engine used to name individual unit types.
; There are three types of data that can be entered below.
; The first type of data is a unit type, example UNIT_WARRIOR or UNIT_EXPLORER.
; The second type of data is a unit class, example UNITCLASS_SETTLER or UNITCLASS_WORKER.
; The third type of data is a unit combat, example UNITCOMBAT_GUN or UNITCOMBAT_MELEE
; You then set one of the 3 types of data equal to a valid Naming Engine and you are good to go.
; The Naming Engines declared here override the defaults set above for the whole game.
; The computation order is:
; -Unit Type
; -Unit Class
; -Unit Combat
; -Default Era
; The code starts with Unit Type and only moves to the next declared engine if no name is returned
; on the current one.
; The sample Naming Engines are as follows (see 'Valid_Naming_Engines_Readme.txt'):
;
; -No Random Name
; -sen2000 Roman Numeral Names
; -Rathelon Generic Military Naming
; -TheLopez Random Names
; -TheLopez Random Civilization Names
; -Nexus Unit Count Names
; -Nexus Army Names
; -Nexus Navy Names
; -Nexus Air Names
[JRandomNames Advanced]
; Enter Unit Types and their Naming Engine.
; Examples:
UNIT_WARRIOR = Rathelon Generic Military Naming
; UNIT_SPEARMAN = No Random Name
; UNIT_AXEMAN = Nexus Army Names
UNIT_TANK = Nexus Army Names
UNIT_DESTROYER = Nexus Navy Names
UNIT_FIGHTER = Nexus Air Names
UNIT_SETTLER = TheLopez Random Names
UNIT_WORKER = TheLopez Random Civilization Names
UNIT_SCOUT = Nexus Unit Count Names
; Enter Unit Classes and their Naming Engine.
; Example:
; UNITCLASS_EXPLORER = sen2000 Roman Numeral Names
; Enter Unit Combats and their Naming Engine.
; Example:
; UNITCOMBAT_GUN = Nexus Unit Count Names
Below are spoilers for each of the Naming Engines. The contain screenshots and a brief explanation.
Spoiler TheLopez Random Names Engine :TheLopez Random Names
This Naming Engine creates random names. These names tend to have a "Northern Barbarian" sounding names.
Spoiler TheLopez Random Civilization Names Engine :TheLopez Random Civilization Names
This Naming Engine also creates random names. These names are based on your civilization.
The following example names are for the American Civilization.
Spoiler Rathelon Generic Military Naming Engine :Rathelon Generic Military Naming
This Naming Engine creates random names. These names are in the form of military designations, but are random and generic.
Spoiler Nexus Unit Count Names Engine :Nexus Unit Count Names
This is a simple Naming Engine that names units based on the number of that type of unit that has been built.
Spoiler Nexus Army Names Engine :Nexus Army Names
These names are non random.
Spoiler Nexus Navy Names Engine :Nexus Navy Names
These names are non random.
Spoiler Nexus Air Names Engine :Nexus Air Names
These names are non random.
Im sure someone else suggested the 1st Beijing Warrior etc etc thing before me but thats definitely what I would like! Im not interested in individual names etc...just a numeric list of units from whichever city they came from would be great - I'd love to be able to tell that a certain upgraded unit is one of my very first units in the game etc....and I think it would make you 'connect' with your veteran units more.