Made Maximum distance in light_spot a sphere

This commit is contained in:
Blixibon 2020-11-25 20:16:03 -06:00
parent da6d648dee
commit 48883643e3

View File

@ -3582,7 +3582,7 @@
[
target(target_destination) : "Entity To Point At" : : "The name of an entity in the map that the spotlight will point at. This will override the spotlight's angles."
spawnflags(Flags) = [ 1 : "[1] Initially dark" : 0 ]
_distance(integer) : "Maximum Distance" : 0 : "This is the distance that light is allowed to cast, in inches."
_distance(integer) : "Maximum Distance" : 0 : "This is the distance that light is allowed to cast."
]
@PointClass base(Angles) iconsprite("editor/light_env.vmt") = light_environment :
@ -3599,14 +3599,14 @@
SunSpreadAngle(float) : "SunSpreadAngle" : 0 : "The angular extent of the sun for casting soft shadows. Higher numbers are more diffuse. 5 is a good starting value."
]
@PointClass base(Targetname, Angles, Light) lightprop("models/editor/spot.mdl") lightcone() sphere(_fifty_percent_distance) sphere(_zero_percent_distance) sphere(_hardfalloff) = light_spot :
@PointClass base(Targetname, Angles, Light) lightprop("models/editor/spot.mdl") lightcone() sphere(_fifty_percent_distance) sphere(_zero_percent_distance) sphere(_hardfalloff) sphere(_distance) = light_spot :
"An invisible and directional spotlight."
[
target(target_destination) : "Entity to point at" : : "The name of an entity in the map that the spotlight will point at. This will override the spotlight's angles."
_inner_cone(integer) : "Inner (bright) angle" : 30
_cone(integer) : "Outer (fading) angle" : 45
_exponent(integer) : "Focus" : 1
_distance(integer) : "Maximum distance" : 0 : "This is the distance that light is allowed to cast, in inches."
_distance(integer) : "Maximum distance" : 0 : "This is the distance that light is allowed to cast."
pitch(angle_negative_pitch) : "Pitch" : -90
spawnflags(Flags) = [ 1 : "Initially dark" : 0 ]
]