OpenXcom Forum

Modding => Help => Topic started by: wcho035 on September 30, 2019, 05:07:17 pm

Title: Incorrect corpses.
Post by: wcho035 on September 30, 2019, 05:07:17 pm
Another problem I also seen in my mod, sometimes the corpses from soldier died are incorrect. I understand that from the armour.rul, the corpse png from corpseBattle are declared within  FLOOROB.PCK.

If I have a spriteSheet with     

spriteFaceGroup: 6

spriteHairGroup: 9

For example, I can have soldier of different skin color and gender.

Yet when a soldier dies, it is always the blonde guy. Is there a similar coding in the ruleset like

spriteFaceGroup: 6

spriteHairGroup: 9

that can change the skin colour of the corpse or even the gender?

Title: Re: Incorrect corpses.
Post by: Meridian on September 30, 2019, 05:16:05 pm
There is no ruleset for this.

(As far as I know) it is doable via scripts.
Title: Re: Incorrect corpses.
Post by: wcho035 on September 30, 2019, 05:19:57 pm
Thanks Meridian, appreciate the reply.