OpenXcom Forum
Modding => Work In Progress => Topic started by: Cerazor on May 30, 2017, 01:52:56 pm
-
If i ever had troubles modding this, is this the place to ask for help? I don't want to clutter this place with my own crap.
Uhhh I do also kinda have a problem. I made a quick easy weapon mod to allow Gauss Rifles. But it's giving me crap about syntax and I'm very confused.
-
This is the ruleset I've been trying to fix. The OpenXCOM modding tools say there's syntax errors on lines 48 and 47. Sorry If this is basically a nothing problem. :(
-
Which "OpenXCOM modding tools" are you referring to?
There are no syntax errors on lines 47 and 48 (I tried your file and it works fine for me).
EDIT: yeah, the error is later (line 65) as Warboy says... I removed everything after line 48 during my test
-
Apologies, It's really late so I guess I assumed you'd know which one. This one: https://falkooxc2.pythonanywhere.com/
I tried running my mod as well and it claims I have problems with syntax too. Should I post the entire mod so you can try it?
Here's the error I get.
-
there's a tab on line 65, you need to use spaces to indent, tab is bad.
-
Apologies, It's really late so I guess I assumed you'd know which one. This one: https://falkooxc2.pythonanywhere.com/
Just a warning, Falko hasn't updated his tools in a while, which means that you'll get error messages if the ruleset uses features that were implemented recently since it doesn't recognize the code
-
there's a tab on line 65, you need to use spaces to indent, tab is bad.
Oh, weird. I swear that wasn't there before. Infact I swear I fixed that. I must've just forgot to save it and then got confused. That or I saw another rule file with a gap at the bottom and assumed that was fine.
Just a warning, Falko hasn't updated his tools in a while, which means that you'll get error messages if the ruleset uses features that were implemented recently since it doesn't recognize the code
Ah okay. I'll remember this. Also do what do the XYZ coordinates do for HandOb? I can't seem to find anything to explain what they do. Allot of mods seem to have different ones even with multiple weapons listed.
Anyways, I'll fix everything and tell you if I anything else is wrong.
(EDIT: Errrr, okay. Apparently I forgot to add the music file the Gauss RIfle used in the Gauss Rifle mod.)
-
Errrr, okay when I fire it, it crashes because it can't find sound in Battle.Cat 8067. Weird, I never specified that.
(Here's the error, the log and the updated mod rules)
-
fireSound: 67
57: Resources/GaussRifle/GaussRifle_fire.ogg
Either 67 is wrong or 57 is wrong.
-
D'ow. I'm an idiot. Thanks for the help.