Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000529Zandronum[All Projects] Suggestionpublic2011-07-26 10:082014-06-11 16:09
ReporterTribeam 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusfeedbackResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version 
Target VersionFixed in Version 
Summary0000529: New Decorate Function: A_ApplyScreenColor
DescriptionA_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.
Attached Files

- Relationships

-  Notes
User avatar (0001965)
unknownna (updater)
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.
User avatar (0001966)
unknownna (updater)
2011-07-26 12:44

> (exactly like the testcolor console command)

I see. A_SetBlend is probably not what you're looking for.
User avatar (0001967)
kgsws (reporter)
2011-07-27 07:25

But A_GenericFreezeDeath does same as A_SetBlend and not "testcolor" so description is not correct.
User avatar (0001971)
Tribeam (reporter)
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
User avatar (0001981)
kgsws (reporter)
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.
User avatar (0009054)
Watermelon (developer)
2014-06-11 16:09

Is this in zdoom but not zan 2.0?

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2011-07-26 10:08 Tribeam New Issue
2011-07-26 12:06 unknownna Note Added: 0001965
2011-07-26 12:44 unknownna Note Added: 0001966
2011-07-27 07:25 kgsws Note Added: 0001967
2011-07-27 11:12 Tribeam Note Added: 0001971
2011-07-28 10:57 kgsws Note Added: 0001981
2014-06-11 16:09 Watermelon Note Added: 0009054
2014-06-11 16:09 Watermelon Status new => feedback






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker