Hi all!
I am trying to understand how to apply the alienItemLevels to the soldiers that will accompany the player in new missions that I am working on. I understand how they work for aliens (after a lot of searching here in the forum and in the UFOpedia Ruleset Reference Page), but I do not really know how to apply it to civilians!
I share a bit of the code to illustrate them:
units:
- type: STR_BRITISH_RIFLEMAN_NPC
race: STR_HUMANS
rank: STR_LIVE_SOLDIER
stats:
tu: 50
stamina: 100
health: 35
bravery: 100
reactions: 40
firing: 65
throwing: 50
strength: 45
psiStrength: 35
psiSkill: 0
melee: 20
armor: STR_BRITISH_FIELD_UNIFORM
standHeight: 22
kneelHeight: 14
value: 10
deathSound: [44, 45, 46]
intelligence: 6
aggression: 0
builtInWeaponSets:
- STR_SMLE_MKIII
- STR_SMLE_MKIII_CLIP
- STR_SMLE_MKIII_CLIP
- STR_WEBLEY_REVOLVER
- STR_WEBLEY_REVOLVER_CLIP
- STR_MILLS_BOMB
-
- STR_SMLE_MKIII
- STR_SMLE_MKIII_CLIP
- STR_SMLE_MKIII_CLIP
- STR_BANDAGES
- STR_MILLS_BOMB
- STR_MILLS_BOMB
-
- STR_FARQHUAR_HILL
- STR_FARQHUAR_HILL_CLIP
- STR_FARQHUAR_HILL_CLIP
- STR_MILLS_BOMB
-
- STR_FARQHUAR_HILL
- STR_FARQHUAR_HILL_CLIP
- STR_FARQHUAR_HILL_CLIP
- STR_WEBLEY_REVOLVER
- STR_WEBLEY_REVOLVER_CLIP
- STR_MILLS_BOMB
The Farqhuar-Hill is an "experimental" rifle that the player needs to investigate to use it, so I want to define its use after a certain time so that the player does not find it in the hands of an NPC at the beginning of the game. A potential solution was this one that I wrote, the experimental rifle would start appearing after the third month:
alienItemLevels:
- [0, 0, 0, 0, 0, 1, 1, 1, 1, 1]
- [0, 0, 0, 0, 0, 1, 1, 1, 1, 1]
- [0, 0, 1, 1, 1, 2, 2, 2, 3, 3]
Where do I place the alienItemLevels section? Is there a problem if I put this in the ruleset where I define the allied civilians and their weapons and define another alienItemLevels in another ruleset, along with the alien weapons?
Thanks in advance!