OpenXcom Forum
Modding => Help => Topic started by: wcho035 on September 11, 2019, 08:58:37 pm
-
Hey guys, I have an annoying problem with this should be simple and obvious code in my starting condition.
For example.
startingConditions:
- type: STR_UNDERWATERTEST
defaultArmor:
STR_SOLDIER:
STR_NONE_UC : 100
forbiddenCraft:
- STR_MI_24_HIND
forbiddenArmors:
- STR_STANDARD_UC
forbiddenSoldierTypes
- STR_DOGE
- type: STR_UNDERWATERTESTMIDDEEP
defaultArmor:
STR_SOLDIER:
STR_NONE_UC : 100
forbiddenCraft:
- STR_MI_24_HIND
forbiddenArmors:
- STR_STANDARD_UC
forbiddenSoldierTypes
- STR_DOGE
This is a simple code with two different type of starting condition. However, the game will boot up properly with only one type
working. If I stack more than two, this error happens. It says illegal map value. I uses a Notepad++ and the same error still persist.
Any clue is to why? I now currently have to have 2 separate startingcondition.ruls to prevent the game from crashing.
-
Missing ":" after "forbiddenSoldierTypes"
Also, please use the ruleset validator, it will make your life easier.
-
Hey thanks again Meridian. Didn't notice of the small typo mistake.