Posted: Tue Jun 18, 2019 9:31 pm Post subject:
WWWHAT's the problem here?
Subject description: Palette problem
One unit gets darkened the other does not.
They have almost identical art settings.
Code:
[TNGD] ; duel RPG launcher mech, the one with problem
CameoPCX=tngd.pcx
AltCameoPCX=tngd2.pcx
Sequence=TNGDSequence
Crawls=no
Remapable=yes
FireUp=3
PrimaryFireFLH=120,70,150
Palette=tngd
[CRYS] ; the winged guy, no problem
CameoPCX=crys.pcx
AltCameoPCX=crys2.pcx
Sequence=CrystalSequence
Crawls=no
Remapable=yes
FireUp=18
PrimaryFireFLH=150,0,200
SecondaryFire=10
Palette=crys
I tried to switch image but still the dual rpg mech didn't get darkened so I think it's art. I tried to change compression type and no luck.
I change the palette name to start with an "a," i.e. atngdxxx.pal and problem "solves."
This is not a good sign it seems like the game store a list of pal in alphabetical order and only first n palettes will work properly and what number is n? _________________
Some names work, some names don't.
"atngd" and "ztngd" work, "tngd" doesn't.
It's not the alphabetical order.
The reason behind is unknown.
All I can do is to try a random string and see if it works. QUICK_EDIT
There's another similar problem I've encountered, where only objects remapped to colors from the first half of the [Colors] list in rules appear to be tinted properly by SW lighting, map tint actions etc if they are using custom palette. The thing is that as far as I've seen, it does not discriminate on per-palette or object basis, everything that uses a custom palette and the non-working team colors do not tint, unlike what is going on your case. Then again, I've never really played around with SHP vehicles and custom palettes so maybe that's a factor. _________________ QUICK_EDIT
There's another similar problem I've encountered, where only objects remapped to colors from the first half of the [Colors] list in rules appear to be tinted properly by SW lighting, map tint actions etc if they are using custom palette.
That's another problem may or may not related and somehow I already found a solution to it. Just move all the player selectable colors ahead in [Colors]. Only the first 10 on the list would cause custom palette unit to tint.
Corrected list:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum