Files
Fake-CSM-Mapbase/fgd/csm.fgd
celisej567 bcd7cfad25 new inputs
-new input LightColor that changes a color.
-new input SetAngles that changes angles
-added csm_intensity convar

-now TurnOn and TurnOff its Enable and Disable
2022-09-05 21:54:11 +03:00

28 lines
1.1 KiB
Plaintext

@include "halflife2.fgd"
@PointClass base(Targetname, Parentname, Angles) studio("models/editor/cone_helper.mdl") frustum(lightfov,nearz,farz,lightcolor,-1) = env_cascade_light :
"An entity to control the sunlight that casts cascaded shadows in the map."
[
spawnflags(flags) =
[
1 : "Enabled" : 1
]
lightcolor(color255) : "Light Color" : "255 255 255 200" : "Light Color RGB-Intensity"
cameraspace(integer) : "Camera Space" : 0 : "Angles are interpreted as being relative to camera."
uselightenvangles(Choices) : "Use light_environment's angles" : 1 : "If true, the CSM shadow angles are automatically harvested from the light_environment's angles. If false, this entity's angles are used." =
[
1 : "Yes"
0 : "No"
]
ambient(integer) :"Ambient" : 0 : "idk"
input Enable(void) : "Turn on the texture"
input Disable(void) : "Turn off the texture"
input EnableShadows(bool) : "Turn off the shadows"
input SpotlightTexture(string) : "Change texture"
input LightColor(color255) : "Set the light color."
input SetAngles(string) : "Set the sun direction."
]