OpenXcom Forum
Modding => Work In Progress => Topic started by: Quinch on November 28, 2014, 09:26:06 pm
-
I'm working on a companion mod for the Final Mod Pack, but I'm hitting a snag - when I kill a Reptoid, one of the added alien races, the game CTDs. The same happens when I load a crashed UFO with a dead unit, leading me to believe that I may have a resource missing or misdefined, but I can't figure out what. The vanilla races act fine, both pre and post-mortem.
Any idea what I'm missing?
-
Apart from a missing body picture/bad definition of it, I can't really say what the problem could be (I haven't checked the data yet).
-
I'd say mis defined corpse in your rul, or a missing graphic. Have you tried running it through Falco's rule validator yet? Sometimes that turns up additional information for me when OSX doesn't provide a more specific crash.
-
Alrighty, it's sorted now. I
blindly stumbled into figured out what was wrong - drawing routines. I copypasted the parameters from Solarius' ruleset, but the spritesheet he used was a different one than what I was using, so using drawroutine 0 {sectoid} tried to pull on non-existent frames, rather than 14, which is the one designed for Tasoths.