OpenXcom Forum
Modding => Work In Progress => Topic started by: greyassassin24 on January 14, 2017, 06:06:51 am
-
So, having an issue here. Modified my ruleset entirely to be much easier for my first playthrough, but now it tells me it can't load the ruleset when I try to load the game? The vanilla ruleset loads fine, but when I use my modded one, it gives this issue. I've tried to make it work with a modular one too, but I can't get that to work either. Any ideas? The ruleset in question has been attached if you would like to try it in any fashion.
-
Okay, we need a bit more information here, this is a long file to read and just look for generic problems. What were you changing in the ruleset?
-
Basically everything. Research time, interceptor damages, council funding, start date, score points... I wanted a whole overhaul of the ruleset.
-
Alright. So first off, I'm guessing you're using the 1.0 build since this ruleset matches that - it's much easier to modify things (i.e. make your own mods, even just balance changes to the vanilla game) in a more recent nightly version, since the folder structure has significantly changed since 1.0, and I'd suggest switching to the nightly builds. As for your modified ruleset:
- Line 1152, refuelRate:150 is missing a space in-between the colon and the number
- Line 1178, same issue with refuelRate:25
- Aaaand that's it.
Was the error you were getting something along the lines of 'bad YAML map'? The syntax and spacing in the ruleset files is very important, missing a space or using TAB instead of spaces to indent will cause you problems.
-
Wow, I can't believe it, but those two spaces fixed it. Bless you sir/ma'am.