OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: Lingri on February 26, 2021, 08:07:12 pm
-
Hello!
Is there any way to add new ranks for soldiers/change current ranks? In search i found mentions of ranks only in Language and .exe
-
You can change the names of current ranks.
You can also add new soldier types with their specific ranks.
Check bigger mods (xcomfiles, piratez, 40k, etc.) for inspiration.
-
I installed xcom-files for inspiration, but this dont have new ranks. Only different translations of old ranks in language file:
STR_COMMANDER: "Chief Agent"
STR_COLONEL: "Commissar"
STR_SERGEANT: "Senior Agent"
STR_SQUADDIE: "Agent"
STR_ROOKIE: "Rookie"
-
Xcomfiles has new ranks for dogs for example.
If you want a better example, here's a couple from Piratez:
- type: STR_SOLDIER_LOKNAR
rankStrings:
- STR_RANK_LOK_0
- STR_RANK_LOK_1
- STR_RANK_LOK_2
- STR_RANK_LOK_3
- STR_RANK_LOK_4
- STR_RANK_LOK_5
- type: STR_SOLDIER_HERO
rankStrings:
- STR_RANK_HERO_0
- STR_RANK_HERO_1
- STR_RANK_HERO_2
- STR_RANK_HERO_3
- STR_RANK_SS_4
- STR_RANK_SS_5
- type: STR_SOLDIER_PEASANT
rankStrings:
- STR_RANK_PEA_0
- STR_RANK_PEA_1
- STR_RANK_PEA_2
- STR_RANK_PEA_3
- STR_RANK_PEA_4
- STR_RANK_PEA_5
-
So, on this samples I see the pattern, that there ara no more than 6 (0-5) ranks for any type, or this is coincidence?
And how happens promotions for new soldier types with unique ranks? Can I set my own rule? In file searching I also fount there ranks only in rankstrings and languages.
-
So, on this samples I see the pattern, that there ara no more than 6 (0-5) ranks for any type, or this is coincidence?
And how happens promotions for new soldier types with unique ranks? Can I set my own rule? In file searching I also fount there ranks only in rankstrings and languages.
Yes, 6 ranks or less.
Promotion rules depend on the total number of soldiers. You can set your own thresholds.