powerups "flutter" effect can be removed?

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
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

powerups "flutter" effect can be removed?

Post by DOOMERO-21 »

i really want to remove that effect when you pick up a powerup for example berserk, you can see all is red, when the effect begins to terminate appear that "flutter" effect, i really want to prevent this....
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: powerups "flutter" effect can be removed?

Post by NeuralStunner »

I'm afraid the only way to get around this is to have no screen tint at all.
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

Re: powerups "flutter" effect can be removed?

Post by DOOMERO-21 »

NeuralStunner wrote:I'm afraid the only way to get around this is to have no screen tint at all.
i really need this for the infrared googles, i really need the green screen....so is impossible??
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: powerups "flutter" effect can be removed?

Post by NeuralStunner »

Basically, yes. Note that all powerups with visual cues or effects will blink near the end of their durations.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: powerups "flutter" effect can be removed?

Post by Ceeb »

I suppose if you really wanted, you could create a large green PNG (or a smaller one, and then make it bigger in [wiki]TEXTURES[/wiki] to save space) in the image editor of your choice, make it translucent, and display it via an [wiki]HUDMessage[/wiki] when you want to use it.
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

Re: powerups "flutter" effect can be removed?

Post by DOOMERO-21 »

Ceeb wrote:I suppose if you really wanted, you could create a large green PNG (or a smaller one, and then make it bigger in [wiki]TEXTURES[/wiki] to save space) in the image editor of your cho
ice, make it translucent, and display it via an [wiki]HUDMessage[/wiki] when you want to use it.
and the infrared light effect?
1 thing is the green screen, the other is the power of see on the darkness and spectres....if the green screen having his solution the other effect? becuase i used the decorate of infrared with the same powerup only i added the green view color
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: powerups "flutter" effect can be removed?

Post by Ceeb »

Oh, you basically want GZDoom's smart infrared effect?
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: powerups "flutter" effect can be removed?

Post by NeuralStunner »

My point is, the light amplification effect is going to blink also. As far as i can think, the only other way around this would be to give it a much longer duration than "needed", and use a looping script to handle the timing part of it. (Take [wiki]PowerLightAmp[/wiki] from the player's inventory when the powerup expires.)
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

Re: powerups "flutter" effect can be removed?

Post by DOOMERO-21 »

Ceeb wrote:Oh, you basically want GZDoom's smart infrared effect?
yes i want this for gzdoom, but i dont want the flutter effect when you cancel the infrared visor....actualy if you press a button you activate the infrared, pressing again you remove the infrared...that is the point...
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: powerups "flutter" effect can be removed?

Post by NeuralStunner »

In that case, make a variation on the [wiki]Infrared[/wiki] class (which is just a [wiki]PowerupGiver[/wiki]) with infinite duration (Powerup.Duration 0x7FFFFFFF) then give that when the visor is turned on, and remove [wiki]PowerLightAmp[/wiki] when it is turned off. :)
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

Re: powerups "flutter" effect can be removed?

Post by DOOMERO-21 »

NeuralStunner wrote:In that case, make a variation on the [wiki]Infrared[/wiki] class (which is just a [wiki]PowerupGiver[/wiki]) with infinite duration (Powerup.Duration 0x7FFFFFFF) then give that when the visor is turned on, and remove [wiki]PowerLightAmp[/wiki] when it is turned off. :)
i already fixed, was a good idea remove the powerlighamp, thanks =), no no, the powerup duration was 0 is infinite, later takeinventory("powerlightamp",1); done...
Locked

Return to “Editing (Archive)”