Difference between revisions of "Soldier Names (OpenXcom)"

From UFOpaedia
Jump to navigation Jump to search
Line 30: Line 30:
  
 
* [http://openxcom.org/forum/index.php/topic,205.0.html Soldier Names thread]
 
* [http://openxcom.org/forum/index.php/topic,205.0.html Soldier Names thread]
 +
* [https://github.com/SupSuper/OpenXcom/tree/master/bin/data/SoldierName Latest Soldier Names in Github]
  
 
[[Category:OpenXcom]]
 
[[Category:OpenXcom]]

Revision as of 07:01, 16 May 2013

OpenXcom allows customization of the soldier names used when generating new soldiers. They are stored in the Data\SoldierName folder with a .nam extension.

Format

Each file contains a set of soldier names stored in YAML format.

maleFirst:
  - Austin
  - Calvin
  - Carl
  ...
femaleFirst:
  - Barbara
  - Catherine
  - Evelyn
  ...
maleLast:
  - Bradley
  - Bryant
  - Carr
  - ...
femaleLast:
  - ...

When generating a name for a new soldier, a random first and last name are picked from a random set. If femaleFirst or femaleLast are omitted, then respectively maleFirst or maleLast are used for both genders.

External Links