OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: memmaker on January 26, 2020, 07:55:26 pm

Title: [Documentation] Moddable Callsigns
Post by: memmaker on January 26, 2020, 07:55:26 pm
Hi folks,

another recent feature that has been added to OXCE are callsigns (soldier nicknames).

They are implemented as an extension to the *.NAM files used for soldier naming.

It will now be possible to specify a list of callsigns for males and females from which the game randomly assigns to the soldiers.

An American.nam file could look like this:

Code: [Select]
lookWeights: (...)
maleFirst: (...)
femaleFirst: (...)
maleLast: (...)

maleCallsign:
  - "Odin"
  - "Papa Bear"
  - "Yeti"
  - "Moose"
  - "Kong"

femaleCallsign:
  - "Athena"
  - "Mama Bear"
  - "Goose"
  - "Peach"

Callsigns can additionally be specified by nationality, just like names.

There are however two fallback mechanisms:

The fallbacks make it possible to define one set of callsigns to be used for all soldiers, regardless of gender or nationality or specify them based on these criterias.

The current implementation displays the callsign in the battlescape if they are enabled. To enable them, they just have to be defined in the *.NAM file.

You can switch between the classic name + statstring display and the callsign by right-clicking the soldier stat area in the bottom.

I have attached a small sample mod, that adds some callsigns for testing purposes.
Title: Re: [Documentation] Moddable Callsigns
Post by: Meridian on January 27, 2020, 11:21:06 pm
The zip file contains some funny __MACOSX directory,
also contains a full .git folder
also contains tons of .DS_Store files
and probably more junk...

for a total of 118 files and 70 directories :)

Maybe you can clean it up to only contain what's necessary?
Title: Re: [Documentation] Moddable Callsigns
Post by: Solarius Scorch on January 28, 2020, 01:07:42 am
The zip file contains some funny __MACOSX directory,
also contains a full .git folder
also contains tons of .DS_Store files
and probably more junk...

for a total of 118 files and 70 directories :)

Maybe you can clean it up to only contain what's necessary?

Back in the day, OXC mods often contained __MACOSX... Pepperidge Farm remembers. :)

(And I have yet to see a Rimworld mod without a .git folder. I don't really get this.)
Title: Re: [Documentation] Moddable Callsigns
Post by: memmaker on January 28, 2020, 01:33:10 am
Sorry for that. And thanks for the feedback.

Cleaned up version is attached.