Civilization Appropriate Great General and Great Admiral Names
G & K and BNW Only
G & K and BNW Only
This is a mod that creates Great General and Great Admiral Names that are appropriate for the player's chosen civilization, rather than using random names.
With this mod, Rome will get Gnaeus Pompeius or Germanicus Julius Caesar as great generals but not Mikhail Illarionovich Kutuzov or Kiyotake Kawaguchi. England will get great generals such as Arthur Wellesley or John Churchill, and admirals such as Horatio Nelson or Sir Edward Pellew but not admiral names such as Alfred von Tirpitz or Chester Nimitz.
Download Links: Steam Mod Page Here Forum Download Page Here
I can only be sure the mod is Compatible with G&K and BNW. I have structed the mod so it might also be compatible with Vanilla, but I cannot be sure.
Custom Civilizations Compatibility
The mod is compatible with any custom civilization. If the author of the custom civ adds Great General and/or Great Admirals names correct for their custom civ, then this mod will use those names for that civ when both mods are enabled by the player.
I will be adding a bit more detailed instructions for authors of custom civilizations on how to add names specific to their civilization to their mods. This may take me a day or two to get the specific details ironed-out and presented here.
Authors of Custom Civilization Mods Please See Post #9 For Instructions
- I have completed the Great Generals list, but still have some work to do on the Admirals list. I will most likely 'flesh-out' the Admirals list a little more and then publish the Generals-heavy version of the mod this coming weekend. The Admirals I will plump out as I find more names that are good to use. If you have any suggestions for additional names, please send me a PM or drop a note here. See the link just below to Post #8, where I have a complete current list of generals and admirals.
- As of this moment the list of Great Generals is over 600 names. The Admirals list is currently 195 total names. (18July2014)
List of Great Generals and Admirals
Please see post # 8. The list was too large to include in this post.
How the Mod Works
Without going into painful details of how the lua functions that handles all this, the mod works like this:
- Civilizations are assigned their own unique list of Great General and Great Admiral Names. This has been done for all the "stock" Firaxis-supplied civilizations, whether from Vanilla, Gods & Kings, BNW, or one of the DLC packages.
- There is also a list of ~50 Generic Great General and ~20 Generic Great Admiral Names.
- Custom civilizations added by other mods can also specify a list of unique names for Great Generals and Great Admirals, but they do not have to do so.
- If a specific civilization is active within a game, it's unique list of General and Admiral Names is reserved for its use only.
- If two or more versions of the same civilization are being used within the same game, each of these is assigned the complete list correct for this civilization, and for each such civilization its own version of the list for that civ is drawn from and tracked individually to all other 'copies' of the same civilization.
- So if you load up a lol-game with 8 opponent civs all playing as Shaka, each of these Shakas will use the set of General and Admiral names for Shaka, and it is quite possible (perhaps even likely) that there will be multiple copies of Zwelithini as a Great General for differing versions of Shaka in such a game.
- If a civilization (Major or Minor) does not have any unique names assigned to it, it draws from the Generic list.
- If a civilization uses up all its assigned names, it will begin to draw from the Generic list.
- City-States never have a specific list so they always draw from the Generic list.
- Names for civilizations that are nor active within a particular game are thrown into a Fallback List. If at any time during the game the Generic list becomes exhausted, then the Fallback list takes the place of the Generic list.
- Selection of a particular name for a great general or great admiral is done randomly from the appropriate lists. This should give a more unique flavor to every play-through as Rome, for example. A player will not necessarily always get the same set of Great General names appearing. All will be appropriate to the Civilization the player is playing as, but in an individual play-through, a Rome player might get Gaius Marius, Quintus Sertorius, and Marcus Aurelius. On the next play-through the player might get Marius again, but get Lucius Sulla and Fabius Maximus instead of Sertorius and Aurelius.
- The same effects as outlined pertain to all players within a game, Human or AI, Major Civilization or City State.
Comments, Feedback, Buggyness Reports
Please leave any thoughts, comments, feedback on the overall concept, or reports of suspected buggyness here on this thread.
Mods Compatibility to Game-Mechanic-Mods
- As of V8 the mod is now compatible with Great Heroes Mod
- Until recently I was not even aware there was a problem
- The Mod is Compatible with Really Advanced Set-up but there will be no unit renaming and you will get a player notification of an error with this mod when using Really Advanced Set-Up to add a Great General or Great Admiral unit at the start of the game. Really Advanced Set-Up does its thing with adding units before this mod even has a chance to 'set itself up' to get ready for a new game.
- Until recently I was not even aware there was a problem
Credits and Thanks
Credit and Thanks for borrowed code elements:
- Pazyryk for the TableSaverLoader.lua
- Darkscythe for help at numerous times for advice and help, most significantly for recently figuring out the bug in Pazyryk's TableSaverLoader method and coming up with a solution so all mods that use Pazyryk's TableSaverLoader can safely store and retrieve their needed data across saved and reloaded games. DarkScythe's add-on for TableSaverLoader also vastly simplifies the coding-procedures needed to activate Pazyryk's TableSaverLoader.
- Machiavelli for his SerialEventUnitCreatedGood lua/xml system
Credit and Thanks for helping with General and Admiral names:
Forum Members -> Gaius Octavius, DonStamos, Nokmirt, LoneRebel, EgonSpengler, awesome, andreafin, Sagax, Krajzen, CaterpillarKing, ArnoldI, ehecatzin, Syailendra, Hyronymus.
Credit and Thanks (for general ideas etc. as I was working on the mod:
- DarkScythe for letting me rant and spitball when I was having trouble getting the table save / table load to work
- JFD for some of the starting code ideas in SQL
- Whoward at various times, but most especially because he halted me from wasting endless hours chasing a fruitless rabbit-hole code-path. Also for a sort of 'by the way' comment in a tutorial thread that showed a much easier-to-manage method of adding multiple rows in xml.
- V2 Uploaded 17Aug14 Primarily lua improvements. First in the method for attaching the mods needed data to save games, and second in giving compatibility with the lua system for all great people types.
- V5 Uploaded 09Feb15: added a few Admiral and General names. Primary reason for the update was to solve an issue with the method used to save necessary data, where two or more mods using the same method could interfere with each other and only one mod would get its data saved.
- V6 Uploaded 27Feb15: Fixed a small typo with a Great Admiral name
- V7 Uploaded 09Apr15: Added more Great Admiral Names and Updated the mod to use V3 of DarkScythe's Serializer Addon for Pazyryk's TSL data saving system.
- V8 added compatibility for the Great Heroes Mod and to not make this mod crash when people are using Really Advanced Setup to give themselves a starting Great Admiral or Great General
- V9 Uploaded 01Jun16:
- Fixed compatibility issue with the CP base mod, which was causing this mod to fail when the CP base mod was also in use, and which then had a cascade effect of making this mod non-compatible with any of JFD's Game-Mechanic mods that required the CP Base mod.
- Alterred and expanded the Korean and Ottoman names for both Generals and Admirals based on suggestions of DistantRainbow and balparmak