OpenXcom Forum
OpenXcom => Open Feedback => Topic started by: Orz on March 01, 2016, 04:19:47 pm
-
So I've modified Aqua Plastic Armor and Mag. Ion Armor spritesheets (first for better color scheme and second to add orange "grav-pack" on land). I couldn't fail to notice that all female head/hair sprites default to blonde as if the "Enhanced soldier sprites" options specifically didn't apply to them. Please do note that male heads/hairs still display correctly (all 4 variations of them on both modified versions of Plastic And Ion Armors), so this is some sort of bug or coding issue specific to female sprites.
"Enhanced soldier sprites" works fine on vanilla spritesheets. For illustration purposes only, this is what female heads/hair sprites should look like (in Diving Suit here):
(https://s16.postimg.org/mipv7z9h1/screen196.png)
And no, I have specifically made sure I didn't touch head/hair colors when modifying the armors themselves.
Fix?
-
You need to copy this section in armors.rul to apply to any armors that are showing hair and skin:
spriteFaceGroup: 14
spriteFaceColor: [160, 160, 64, 160, 160, 64, 160, 160] #M0 F0 M1 F1 M2 F2 M3 F3
spriteHairGroup: 4
spriteHairColor: [130, 160, 201, 130, 64, 198, 160, 64] #M0 F0 M1 F1 M2 F2 M3 F3
-
You need to copy this...
Thanks, I had already tried that and (unless I'm missing something!) it still doesn't work. Blondes still be blonde :P
(https://s12.postimg.org/rkzzfoypp/screen203.png)
-
Have you changed the hair color on the spritesheet?
-
Have you changed the hair color on the spritesheet?
Nope.
-
Hmm... so I don't know. I don't know TFTD palette well enough.
-
One caveat original sprites are rewritten on load to fix multiple bugs in them and simplify recoloring.
In your graphic male and female have different hair colors, male work because it have same as in ruleset defined:
spriteHairGroup: 4
This value mean that index from 4*16 to 5*16-1 are replaced by new color.
-
One caveat original sprites are rewritten on load to fix multiple bugs in them and simplify recoloring.
In your graphic male and female have different hair colors, male work because it have same as in ruleset defined:
spriteHairGroup: 4
This value mean that index from 4*16 to 5*16-1 are replaced by new color.
Alright! So what's the solution? :P
-
made female hairs in same color group as male ones.
-
https://falkooxc.pythonanywhere.com/palconvert
reference. Keep hair color to a single color row, no matter which one. Avoid too dark shades though, keeping to 8 lightest shades of a 16-shade color allows for a more wild recoloring (else you could get rogue pixels).
-
Thanks a LOT, both of ya! It's all fixed now :D