From f186efdb424a03d8d02436b6e595137fc8f41b94 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sat, 30 Jul 2022 12:54:55 -0500 Subject: [PATCH] Added fog_volume and new color_correction inputs and KV from Alien Swarm --- base.fgd | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/base.fgd b/base.fgd index 81d4124..946bb4b 100644 --- a/base.fgd +++ b/base.fgd @@ -3817,10 +3817,24 @@ filename(string) : "Lookup Table Filename" : "" : "This is the lookup table filename" fadeInDuration(float) : "Lookup Fade In Duration" : "0.0" : "Duration of fade in on when enabled." fadeOutDuration(float) : "Lookup Fade out Duration" : "0.0" : "Dration of fade out on when disabled." + exclusive(choices) : "Exlusive" : 0 : "An exclusive color_correction entity disables and fades out all other color corrections when it is enabled. There should only be one active exclusive color_correction ent at any time." = + [ + 0 : "No" + 1 : "Yes" + ] + + spawnflags(flags) = + [ + 1 : "[1] Master (Default color correction when used with L4D fog_volume)" : 0 + 2 : "[2] Client-side simulation (Must be set when used with L4D fog_volume)" : 0 + ] // Inputs input SetFadeInDuration(float) : "Sets the 'fadeInDuration' variable, used to fade cc lookup usage when entity is enabled." input SetFadeOutDuration(float) : "Sets the 'fadeOutDuration' variable, used to fade cc lookup usage when entity is disabled." + + input SetMinFalloff(float) : "Sets the Lookup Falloff Start Distance." + input SetMaxFalloff(float) : "Sets the Lookup Falloff End Distance." ] @@ -9734,3 +9748,10 @@ input SetFocusTarget(string) : "Set the focal target for the effect." input SetFocusTargetRange(float) : "Set the distance behind the focal point that will remain in focus." ] + +@SolidClass base( Targetname, EnableDisable ) = fog_volume : "An entity to control the fog in the map." +[ + FogName(target_destination) : "Fog Name" : : "The name of the fog entity associated with this volume." + PostProcessName(target_destination) : "Postprocess Name" : : "The name of the postprocess entity associated with this volume." + ColorCorrectionName(target_destination) : "ColorCorrection Name" : : "The name of the color_correction entity associated with this volume." +]