OpenXcom Forum
Modding => Help => Topic started by: wcho035 on January 02, 2020, 02:33:28 pm
-
Hi, I wish to have missionweight by certain alien races starting later in the year.
This is my original format.
missionWeights:
6:
STR_ALIEN_RESEARCHSECTOID: 33
STR_ALIEN_RESEARCHSNAKEMAN: 33
STR_ALIEN_RESEARCHFLOATER: 34
9:
STR_ALIEN_RESEARCHSECTOID: 33
STR_ALIEN_RESEARCHSNAKEMAN: 23
STR_ALIEN_RESEARCHFLOATER: 24
STR_ALIEN_RESEARCHMUTON: 20
15:
STR_ALIEN_RESEARCHSECTOID: 23
STR_ALIEN_RESEARCHSNAKEMAN: 23
STR_ALIEN_RESEARCHFLOATER: 24
STR_ALIEN_RESEARCHMUTON: 20
STR_ALIEN_RESEARCHETHEREAL: 10
It is incorrect.
Can a correct sample be provided?
Alien race initially start at Month 6, then 9 and lastly 15
Thank you.
-
There's not enough information provided.
We don't know if these mission weights are defined in regions ruleset, or alien mission ruleset, or mission scripts ruleset or somewhere else.
-
Hi Meridian, they are from missionscript.
I should have provided the full details, sorry.
- type: reconResearch
missionWeights:
6:
STR_ALIEN_RESEARCHSECTOID: 33
STR_ALIEN_RESEARCHSNAKEMAN: 33
STR_ALIEN_RESEARCHFLOATER: 34
9:
STR_ALIEN_RESEARCHSECTOID: 33
STR_ALIEN_RESEARCHSNAKEMAN: 23
STR_ALIEN_RESEARCHFLOATER: 24
STR_ALIEN_RESEARCHMUTON: 20
15:
STR_ALIEN_RESEARCHSECTOID: 23
STR_ALIEN_RESEARCHSNAKEMAN: 23
STR_ALIEN_RESEARCHFLOATER: 24
STR_ALIEN_RESEARCHMUTON: 20
STR_ALIEN_RESEARCHETHEREAL: 10
firstMonth: 6
varName: continueResearch
maxRuns: -1
executionOdds: 60
-
in mission script, with "firstMonth: 6", it is correct
-
The missionweight syntax legal but incorrect.
What is the correct format? If I want muton to appear in month 9 and ETHEREAL in month 15? With cumulative weight distribution for the other races changed as well? Base of month and appearance?
Can a correct version be provided for missionweight?
-
Your example is correct.
I didn't know it was from mission script and that you defined firstMonth, when I said it was incorrect.
-
Sorry. Should have been more accurate. My fault. Thank you Meridian as always.