-
Notifications
You must be signed in to change notification settings - Fork 0
/
kreedz.fgd
286 lines (257 loc) · 7.27 KB
/
kreedz.fgd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
// Kreedz mapping fgd
//#####################################################
// Base Class
//#####################################################
@BaseClass = kzVersion
[
kz_fgd_version(integer) : "KZ FGD Version": 1
]
// Documentation/ Information about FGD
@BaseClass = kzHelp [ kzhelp(string): "Documentation" : "https://github.com/G2Pavon/kz_fgd" ]
// Engine stuff
@BaseClass = kzAngles
[
angles(string) : "Pitch Yaw Roll (Y Z X)" : "0 0 0"
]
@BaseClass = kzTargetname
[
targetname(string): "Name"
]
@BaseClass = kzVHLT
[
zhlt_lightflags(choices) : "VHLT Lightflags" : 0 =
[
0 : "Default"
1 : "Embedded Fix"
2 : "Opaque (blocks light)"
3 : "Opaque + Embedded fix"
6 : "Opaque + Concave Fix"
]
light_origin(string) : "Light Origin Target"
zhlt_noclip(choices) : "Pasable" : 0 =
[
0 : "No"
1 : "Yes"
]
]
// Trigger
@BaseClass base(kzTarget, kzTargetname) = kzTrigger
[
//
// Common properties for all kz_trigger entities:
//
killtarget(target_destination) : "Kill target"
netname(target_destination) : "Target Path"
master(string) : "Master"
sounds(choices) : "Sound style" : 0 =
[
0 : "No Sound"
]
delay(string) : "Delay before trigger" : "0"
message(string) : "Message (set sound too!)"
zhlt_invisible(string): "invisible" :"yes"
spawnflags(flags) =
[
1: "Monsters" : 0
2: "No Clients" : 0
4: "Pushables": 0
]
]
// Render
@BaseClass = kzRenderFxChoices
[
renderfx(choices) :"Render FX" : 0 =
[
0: "Normal"
1: "Slow Pulse"
2: "Fast Pulse"
3: "Slow Wide Pulse"
4: "Fast Wide Pulse"
9: "Slow Strobe"
10: "Fast Strobe"
11: "Faster Strobe"
12: "Slow Flicker"
13: "Fast Flicker"
5: "Slow Fade Away"
6: "Fast Fade Away"
7: "Slow Become Solid"
8: "Fast Become Solid"
14: "Constant Glow"
15: "Distort"
16: "Hologram (Distort + fade)"
]
]
@BaseClass base(kzRenderFxChoices) = kzRenderFields
[
rendermode(choices) : "Render Mode" : 0 =
[
0: "Normal"
1: "Color"
2: "Texture"
3: "Glow"
4: "Solid"
5: "Additive"
]
renderamt(integer) : "FX Amount (1 - 255)" : 255
rendercolor(color255) : "FX Color (R G B)" : "0 0 0"
]
// Sounds
@BaseClass = kzSounds
[
sounds(choices) : "Sounds" : 0 =
[
0: "None"
1: "Big zap & Warmup"
2: "Access Denied"
3: "Access Granted"
4: "Quick Combolock"
5: "Power Deadbolt 1"
6: "Power Deadbolt 2"
7: "Plunger"
8: "Small zap"
9: "Keycard Sound"
10: "Buzz"
11: "Buzz Off"
14: "Lightswitch"
]
]
// Button
@BaseClass = kzButtonFlags
[
spawnflags(flags) =
[
1: "Don't move" : 1
32: "Toggle" : 0
64: "Sparks" : 0
256:"Touch Activates": 0
]
]
// Player Hull
@BaseClass = kzPlayerHull1
[
onlystand(choices) : "Force Stand" : 0 =
[
0: "No"
1: "Yes"
]
]
@BaseClass = kzPlayerHull3
[
onlyduck(choices) : "Force Duck" : 0 =
[
0: "No"
1: "Yes"
]
]
//===========================================================================================================
//###########################################################################################################
// Brush Entities
//###########################################################################################################
//----------------------
// KZ Timercounter
@SolidClass base(kzRenderFields, kzVHLT, kzSounds, kzButtonFlags, kzHelp) = kz_start_button : "KZ Start Button"
[
targetname(string) : "Name" : "counter_start_button"
target(string) : "Target" :"counter_start"
master(string) : "Master" : "power"
speed(decimal) : "Speed" : 5.0
wait(decimal) : "Delay before reset (-1 stay)" : 3.0
delay(decimal) : "Delay before trigger" : 0.0
_minlight(string) : "Minimum light level"
]
@SolidClass base(kzRenderFields, kzVHLT, kzSounds, kzButtonFlags, kzHelp) = kz_end_button : "KZ Stop Button"
[
targetname(string) : "Name" : "counter_stop_button"
target(string) : "Target" : "counter_off"
master(string) : "Master" : "stopsource"
speed(decimal) : "Speed" : 5.0
wait(decimal) : "Delay before reset (-1 stay)" : 2.0
delay(decimal) : "Delay before trigger" : 0.0
_minlight(string) : "Minimum light level"
]
@SolidClass base(kzTargetname, kzTrigger, kzHelp) = kz_start_zone : "Time starts when enters the zone"
[
target(string) : "Target" : "counter_start_button"
master(string) : "Master" : "power"
wait(decimal) : "Delay before reset" : 0.1
spawnflags(flags) =
[
256: "Touches activate" : 1
]
]
@SolidClass base(kzTargetname, kzTrigger, kzHelp) = kz_stop_zone : "Time ends when enters the zone"
[
target(string) : "Target" : "counter_stop_button"
master(string) : "Master" : "stopsource"
wait(decimal) : "Delay before reset" : 0.2
spawnflags(flags) =
[
256: "Touches activate" : 1
]
]
//----------------------
// Bhop
@BaseClass base(kzTargetname, kzGlobal, kzSounds, kzHelp, kzVersion) = kzBhopBase
[
//
// Common properties for all Bhop entities:
//
// Behavior properties related to the brush movement:
angles(string) : "Bhop move direction" : "0 0 0" : "Angles representing the direction of brush movement"
direction(choices) : "Bhop move direction, alternative to 'angles'" : 0 =
[
0: "Angles"
1: "Down -Z"
2: "Right +X"
3: "Left -X"
4: "Forward +Y"
5: "Backward -Y"
6: "Up +Z"
]
speed(decimal) : "Speed" : 150.0 : "Speed at which the bhop brush moves"
wait(string) : "Delay before close" : "1" : "Time in seconds before the Bhop brush closes after activation. Use -1 to keep it open."
move(decimal) : "Move distance" : -1.0 : "Distance the Bhop brush will move when activated. Negative values extend movement."
delay(string) : "Delay before fire" : "0.1" : "Time in seconds before the Bhop brush fires after being activated"
// kzSounds properties related to the brush movement:
movesnd(choices) : "Move Sound" : 0 =
[
0: "No Sound"
1: "Servo (Sliding)"
2: "Pneumatic (Sliding)"
3: "Pneumatic (Rolling)"
4: "Vacuum"
5: "Power Hydraulic"
6: "Large Rollers"
7: "Track kzBhopBase"
8: "Snappy Metal kzBhopBase"
9: "Squeaky 1"
10: "Squeaky 2"
]
stopsnd(choices) : "Stop Sound" : 0 =
[
0: "No Sound"
1: "Clang with brake"
2: "Clang reverb"
3: "Ratchet Stop"
4: "Chunk"
5: "Light airbrake"
6: "Metal Slide Stop"
7: "Metal Lock Stop"
8: "Snappy Metal Stop"
]
// Misc properties:
killtarget(target_destination) : "KillTarget" : "" : "Entity to kill when this Bhop brush is activated"
target(target_destination) : "Target" : "" : "Entity to trigger when this Bhop brush is activated"
master(string) : "Master" : "" : "Master entity that controls this Bhop brush"
netname(string) : "Fire on Close" : "" : "Entity to trigger when this Bhop brush closes"
// SpawnFlags
spawnflags(flags) =
[
1 : "Starts Open" : 0 : "Starts in its 'open' position"
4 : "Don't link" : 0 : "Restricts the bhop from being linked to another bhop with the same name"
8 : "Passable" : 0 : "Allows entities to pass through"
32 : "Toggle" : 0 : "Can be turned on and off by player or triggers"
256 : "Use Only" : 0 : "Opens only by using the 'use' key"
]
]
@SolidClass base(kzBhopBase, kzPlayerHull1, kzPlayerHull3) = kz_bhop : "Bhop" []