• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Screen effects applied through buffs.

Im currently working on a mod that adds new drugs/chems with an addiction system (possibly they will replace candy) and i would like to add some screen effects like increased saturation, brightness, field of view, sharpness, etc. Ive only found a few effects like this in robelotos custom zombies wich i think he reused from the the nightvision goggles so im asking if there are any other known effects like this or variations of the commands that i could use.

 
Ok i was wrong. the effect roeloto used in his mod wasnt the same used for the effect of the night vision goggles, i searched some xml files and found quite a bunch of others aswell that im now going to test with im gonna post them here for people that search for something similar.

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Greyscale"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Infected"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Distortion"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Drunk"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Radiation"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Cold2"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Hot2"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Blur"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Dark"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="Posterize"/>

            <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="1" fade="1" effect_name="VibrantDeSat"/>    
        

If someone knows more screen effects i would apreciate if they could post them.

 
Last edited by a moderator:
Here's a copy and past from the informative XML.txt document (this from the a19 configs):

(A17) Screen effects and particles

    <triggered_effect trigger="onSelfBuffStart" action="ModifyScreenEffect" intensity="0.5" fade="1" effect_name="Blur"/>
    All of them are permanently loaded on the player. Set intensity to 0 to disable.

        Blur
        Bright
        Cold
        Dark
        Dead (no intensity)
        Distortion
        Drunk
        Dying (no intensity)
        Hot
        Posterize
        Underwater
        Vibrant
        VibrantDeSat

 
I have a mod which uses screen effects on a few buffs, so have tested a few out while creating the mod.

I have the following commented out in my buffs.xml, so presume I tried out all of them at some stage:

Code:
<!-- effect_name variations: Greyscale, Infected, Radiation, Cold, Cold2, Hot, Hot2, Dark, Distortion, Drunk, Blur -->
 
Back
Top