Decal is not changing color

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
spamzilla
Posts: 3
Joined: Sat Jan 16, 2016 3:17
Contact:

Decal is not changing color

Post by spamzilla »

I've changed the picture format but I cannot tell why this decal is not changing color as it is supposed to!

Code: Select all

decal __RocketBurnOut {
	pic D_ROCKET
	x-scale 0.25
	y-scale 0.25
	randomflipx
	randomflipy
	animator ___ColorChangeToGray
}

colorChanger ___ColorChangeToGray {
	color "7F 7F 7F"
	fadeStart 2
	fadeTime 5
}


generator Rocket		__RocketBurnOut
Attachments
The graphic in question
The graphic in question
d_rocket.png (44.84 KiB) Viewed 360 times
OS: Windows 10 Home x64 Edition
CPU: AMD 64-bit 2.1Ghz 4-Core A8-5550M APU
VRAM: 768 MB
RAM: 8 GB DDR3
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Decal is not changing color

Post by Graf Zahl »

It's not working because you need a colorized decal to do this. This is just a regular image without any colorization info that can be altered.
Guest

Re: Decal is not changing color

Post by Guest »

Can you tell me how to fix this? I don't know what you're talking about! :?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Decal is not changing color

Post by Graf Zahl »

The DecalColorer is not changing the palette but the "shade" property used on alphatextured decals. Your decal does not have this. It uses a real palette.
Locked

Return to “Closed Bugs”