How do I negatize the screen in DECORATE?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Deathsong12
Posts: 1083
Joined: Sat May 07, 2005 1:29 pm
Location: On the hunt

How do I negatize the screen in DECORATE?

Post by Deathsong12 »

In DOOM when you got the Invulnerability or when you fired the sigil in strife, the all the colors on the screen would flip, as though in a film negative. Is there any way to replicate this effect in Decorate? (I apologize for all the "How do I" questions, but I think I may have bit off more than I can swallow with this wad)
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

Involves palette shifting, not a straight inversion. So this is a really good request! Perhaps if we could set up any palette shifting, slow ramping, and so on, we could have Unreal-like weapon flashes. Happy happy fun.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

For weapons you can use the A_LightInverse code pointer. But that's all that can be done so far (Unofficial build only!)
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

What does that do, internally? Does it actually do a true inversion of the palette, or the sector light level mapwide, or does it create a new palette based on an inversion of the original?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

It uses a palette translation. No new palette is loaded for this effect.
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

Less complicated, then, but requires more specific user input. :P Seems like it might be more open-ended, though.
User avatar
Deathsong12
Posts: 1083
Joined: Sat May 07, 2005 1:29 pm
Location: On the hunt

Post by Deathsong12 »

WHat are the parameters for A_LightInverse? I think it's just duration in tics.
User avatar
Ultraviolet
Posts: 1152
Joined: Tue Jul 15, 2003 9:08 pm
Location: PROJECT DETAILS CLASSIFIED.

Post by Ultraviolet »

D'oh. Critical misunderstanding on my part.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Deathsong12 wrote:WHat are the parameters for A_LightInverse? I think it's just duration in tics.

None. It's like A_Light1 etc. and has to be reset explicitly by calling A_Light0.
Locked

Return to “Editing (Archive)”