MantisBT - Zandronum
View Issue Details
0000529Zandronum[All Projects] Suggestionpublic2011-07-26 10:082014-06-11 16:09
Tribeam 
 
normalfeatureN/A
feedbackopen 
MicrosoftWindowsXP/Vista/7
 
 
0000529: New Decorate Function: A_ApplyScreenColor
A_ApplyScreenColor(Red, Green, Blue)
to apply a tint over the screen for player classes.(exactly like the testcolor console command)

A_SetTranslation("translation string")
Add translations to an actor's sprite dynamically.

This comes from the idea that A_GenericFreezeDeath can do both of these, so why not take advantage of it and make it more dynamic, so modders can do crazy awesome effects to sprites and the screen rather than doing Decorate to ACS interaction.
No tags attached.
Issue History
2011-07-26 10:08TribeamNew Issue
2011-07-26 12:06unknownnaNote Added: 0001965
2011-07-26 12:44unknownnaNote Added: 0001966
2011-07-27 07:25kgswsNote Added: 0001967
2011-07-27 11:12TribeamNote Added: 0001971
2011-07-28 10:57kgswsNote Added: 0001981
2014-06-11 16:09WatermelonNote Added: 0009054
2014-06-11 16:09WatermelonStatusnew => feedback

Notes
(0001965)
unknownna   
2011-07-26 12:06   
'http://zdoom.org/wiki/A_SetBlend [^]'

A_SetBlend (color blendcolor, float alpha, int duration)

Sets a blend effect to the calling player's screen. This function should only be used by player classes, weapons or custom inventory items. Colors are specified as an "rr gg bb" string or by using one of the color names specified in X11R6RGB lump.

BTW: I strongly advise you to ask these questions in the editing section on the forums before creating tickets on the tracker.
(0001966)
unknownna   
2011-07-26 12:44   
> (exactly like the testcolor console command)

I see. A_SetBlend is probably not what you're looking for.
(0001967)
kgsws   
2011-07-27 07:25   
But A_GenericFreezeDeath does same as A_SetBlend and not "testcolor" so description is not correct.
(0001971)
Tribeam   
2011-07-27 11:12   
A_SetBlend is like when taking damage, it fills the screen with a solid color and fades it away

Testcolor kinda acts like Sector_SetColor, cept only to your view, and to the entire map
(0001981)
kgsws   
2011-07-28 10:57   
Yes, but it is still different effect than A_GenericFreezeDeath.
A_GenericFreezeDeath is unending blend effect, not sector color change.
(0009054)
Watermelon   
2014-06-11 16:09   
Is this in zdoom but not zan 2.0?