FGD: Add light_spot from ZHLT

This commit is contained in:
Steam Deck User 2023-03-14 13:38:45 -04:00
parent 64c0fd15c6
commit 3535edd3a5
2 changed files with 60 additions and 0 deletions

View file

@ -762,6 +762,36 @@
@PointClass size(-4 -4 -12, 4 4 20) base(Light, Target, Targetname) =
light_torch_small_walltorch : "Small walltorch" []
@PointClass size(-8 -8 -8, 8 8 8) base(Targetname, Target, Angles) = light_spot : "Spotlight"
[
_cone(integer) : "Inner (bright) angle" : 30
_cone2(integer) : "Outer (fading) angle" : 45
pitch(integer) : "Pitch" : -90
_light(color255) : "Brightness" : "255 255 128 200"
_sky(Choices) : "Is Sky" : 0 =
[
0 : "No"
1 : "Yes"
]
spawnflags(Flags) = [ 1 : "Initially dark" : 0 ]
style(Choices) : "Appearance" : 0 =
[
0 : "Normal"
10: "Fluorescent flicker"
2 : "Slow, strong pulse"
11: "Slow pulse, noblack"
5 : "Gentle pulse"
1 : "Flicker A"
6 : "Flicker B"
3 : "Candle A"
7 : "Candle B"
8 : "Candle C"
4 : "Fast strobe"
9 : "Slow strobe"
]
pattern(string) : "Custom Appearance"
]
//
// misc
//

View file

@ -762,6 +762,36 @@
@PointClass size(-4 -4 -12, 4 4 20) base(Light, Target, Targetname) =
light_torch_small_walltorch : "Small walltorch" []
@PointClass size(-4 -4 -12, 4 4 20) base(Targetname, Target, Angles) = light_spot : "Spotlight"
[
_cone(integer) : "Inner (bright) angle" : 30
_cone2(integer) : "Outer (fading) angle" : 45
pitch(integer) : "Pitch" : -90
_light(color255) : "Brightness" : "255 255 128 200"
_sky(Choices) : "Is Sky" : 0 =
[
0 : "No"
1 : "Yes"
]
spawnflags(Flags) = [ 1 : "Initially dark" : 0 ]
style(Choices) : "Appearance" : 0 =
[
0 : "Normal"
10: "Fluorescent flicker"
2 : "Slow, strong pulse"
11: "Slow pulse, noblack"
5 : "Gentle pulse"
1 : "Flicker A"
6 : "Flicker B"
3 : "Candle A"
7 : "Candle B"
8 : "Candle C"
4 : "Fast strobe"
9 : "Slow strobe"
]
pattern(string) : "Custom Appearance"
]
//
// misc
//