powerups "flutter" effect can be removed?
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.
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.
- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
powerups "flutter" effect can be removed?
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....
- 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?
I'm afraid the only way to get around this is to have no screen tint at all.
- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
Re: powerups "flutter" effect can be removed?
i really need this for the infrared googles, i really need the green screen....so is impossible??NeuralStunner wrote:I'm afraid the only way to get around this is to have no screen tint at all.
- 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?
Basically, yes. Note that all powerups with visual cues or effects will blink near the end of their durations.
Re: powerups "flutter" effect can be removed?
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.
- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
Re: powerups "flutter" effect can be removed?
and the infrared light effect?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.
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
Re: powerups "flutter" effect can be removed?
Oh, you basically want GZDoom's smart infrared effect?
- 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?
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.)
- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
Re: powerups "flutter" effect can be removed?
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...Ceeb wrote:Oh, you basically want GZDoom's smart infrared effect?
- 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?
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. 

- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
Re: powerups "flutter" effect can be removed?
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...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.