-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathQuake.fgd
644 lines (587 loc) · 21 KB
/
Quake.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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
//
// Quake game definition file (.fgd)
// for Worldcraft 1.6 and above
//
// written by autolycus / [email protected]
// email me with improvements and suggestions
//
// Modified by CZG : [email protected] : http://www.planetquake.com/greyvoid/
// further modified by various authors
//
// worldspawn
//
@SolidClass = worldspawn : "World entity"
[
message(string) : "Text on entering the world"
worldtype(choices) : "Ambience" : 0 =
[
0 : "Medieval"
1 : "Metal (runic)"
2 : "Base"
]
sounds(integer) : "CD track to play" : 0
light(integer) : "Ambient light"
sky(string) : "Skybox"
_dirt(integer) : "use dirtmapping" : 0
_bounce(integer) : "use bounce" : 0
_bouncestyled(integer) : "bounce styled lights" : 0
_sunlight(integer) : "Sunlight"
_sun_mangle(string) : "Sun mangle (Yaw pitch roll)"
_sunlight_penumbra(integer) : "Specifies the penumbra width, in degrees, of sunlight. Useful values are 3-4 for a gentle soft edge, or 10-20+ for more diffuse sunlight." : 0
_sunlight_color(string) : "Specify red(r), green(g) and blue(b) components for the colour of the sunlight. RGB component values are between 0 and 255 (between 0 and 1 is also accepted)." : "1 1 1"
_sunlight2(integer) : "Set the brightness of a dome of lights arranged around the upper hemisphere. (i.e. ambient light, coming from above the horizon). Default 0."
]
//
// base marker definitions
//
@baseclass = Angle [ angle(integer) : "Direction" ]
@baseclass = Appearflags [
spawnflags(Flags) =
[
256 : "Not on Easy" : 0
512 : "Not on Normal" : 0
1024 : "Not on Hard" : 0
2048 : "Not in Deathmatch" : 0
]
]
@baseclass = Targetname [ targetname(target_source) : "Name" ]
@baseclass = Target [
target(target_destination) : "Target"
killtarget(target_destination) : "Killtarget"
]
@baseclass = Shadows [
_shadow(choices) : "Shadows" = [
-1 : "Force off"
0 : "Entity default"
1 : "Force on"
]
_shadowself(choices) : "Self-shadows" = [
0 : "Off"
1 : "On"
]
_phong(choices) : "Phong lighting" = [
0 : "Off"
1 : "On"
]
_minlight(integer) : "Set the minimum light level for any surface of the brush model."
_dirt(choices) : "Use dirtmapping" = [
-1 : "Force off"
0 : "Use worldspawn value"
]
]
@baseclass = Alpha [
alpha(integer) : "Set entity opacity" : 1
]
//
// player starts, deathmatch, coop, teleport
//
@baseclass base(Appearflags) size(-16 -16 -24, 16 16 32)
color(0 255 0) model({ "path": ":progs/player.mdl" }) = PlayerClass []
@PointClass base(PlayerClass) = info_player_start : "Player 1 start" []
@PointClass base(PlayerClass) = info_player_coop : "Player cooperative start" []
@PointClass base(PlayerClass) = info_player_start2 : "Player episode return point" []
@PointClass base(PlayerClass) = info_player_deathmatch : "Deathmatch start" []
@PointClass base(PlayerClass) = testplayerstart : "Testing player start" []
@PointClass color(0 255 0) size(-16 -16 0, 16 16 64) base(Targetname) = info_teleport_destination : "Teleporter destination" []
@PointClass color(200 150 150) = info_null : "info_null (spotlight target)"
[
targetname(target_source) : "Name"
]
@PointClass base(Appearflags, Target, Targetname) color(200 150 150) = info_notnull : "Wildcard entity" // I love you
[
use(string) : "self.use"
think(string) : "self.think"
nextthink(integer) : "nextthink"
noise(string) : "noise"
touch(string) : "self.touch"
]
@PointClass base(Appearflags) = info_intermission : "Intermission camera"
[
mangle(string) : "Camera angle (Pitch Yaw Roll)"
]
//
// items
//
@baseclass base(Appearflags, Target, Targetname) = Item
[
message(string) : "Message"
target(string) : "Target"
killtarget(string) : "Killtarget"
delay(integer) : "Delay"
]
@baseclass size(0 0 0, 32 32 56) color(80 0 200) base(Item) = Ammo
[
spawnflags(flags) =
[
1 : "Large box" : 0
]
]
@PointClass
base(Ammo)
model(
{{
spawnflags & 1 -> ":maps/b_batt1.bsp",
":maps/b_batt0.bsp"
}}
) =
item_cells : "Thunderbolt ammo" []
@PointClass
base(Ammo)
model(
{{
spawnflags & 1 -> ":maps/b_rock1.bsp",
":maps/b_rock0.bsp"
}}
) =
item_rockets : "Rockets" []
@PointClass
base(Ammo)
model(
{{
spawnflags & 1 -> ":maps/b_shell1.bsp",
":maps/b_shell0.bsp"
}}
) = item_shells : "Shells" []
@PointClass
base(Ammo)
model(
{{
spawnflags & 1 -> ":maps/b_nail1.bsp",
":maps/b_nail0.bsp"
}}
) = item_spikes : "Nailgun/Perforator ammo" []
@PointClass
size(0 0 0, 32 32 56)
base(Appearflags)
model(
{{
spawnflags & 2 -> ":maps/b_bh100.bsp",
spawnflags & 1 -> ":maps/b_bh10.bsp",
":maps/b_bh25.bsp"
}}
) =
item_health : "Health pack"
[
spawnflags(flags) =
[
1 : "Rotten" : 0
2 : "Megahealth" : 0
]
]
@PointClass size(-16 -16 -24, 16 16 32) base(Item, Appearflags) model({ "path": ":progs/suit.mdl" }) =
item_artifact_envirosuit : "Environmental protection suit" []
@PointClass size(-16 -16 -24, 16 16 32) base(Item, Appearflags) model({ "path": ":progs/quaddama.mdl" }) =
item_artifact_super_damage : "Quad damage" []
@PointClass size(-16 -16 -24, 16 16 32) base(Item, Appearflags) model({ "path": ":progs/invulner.mdl" }) =
item_artifact_invulnerability : "Pentagram of Protection" []
@PointClass size(-16 -16 -24, 16 16 32) base(Item, Appearflags) model({ "path": ":progs/invisibl.mdl" }) =
item_artifact_invisibility : "Ring of Shadows" []
@PointClass size(-16 -16 0, 16 16 56) base(Item, Appearflags) model({ "path": ":progs/armor.mdl", "skin": 2 }) =
item_armorInv : "Red armor (200%)" []
@PointClass size(-16 -16 0, 16 16 56) base(Item, Appearflags) model({ "path": ":progs/armor.mdl", "skin": 1 }) =
item_armor2 : "Yellow armor (150%)" []
@PointClass size(-16 -16 0, 16 16 56) base(Item, Appearflags) model({ "path": ":progs/armor.mdl" }) =
item_armor1 : "Green armor (100%)" []
@PointClass size(-16 -16 -24, 16 16 32) base(Item, Appearflags) model({ "path": ":progs/w_s_key.mdl" }) =
item_key1 : "Silver key" []
@PointClass size(-16 -16 -24, 16 16 32) base(Item, Appearflags) model({ "path": ":progs/w_g_key.mdl" }) =
item_key2 : "Gold key" []
@PointClass size(-16 -16 -24, 16 16 32) base(Item, Appearflags) model({ "path": ":progs/end1.mdl" }) =
item_sigil : "Sigil"
[
spawnflags(Flags) =
[
1 : "Episode 1" : 1
2 : "Episode 2" : 0
4 : "Episode 3" : 0
8 : "Episode 4" : 0
]
]
//
// weapons
//
@baseclass size(-16 -16 0, 16 16 56) color(0 0 200) base(Item, Appearflags) = Weapon []
@PointClass base(Weapon) model({ "path": ":progs/g_shot.mdl" }) = weapon_supershotgun : "Double-barrelled shotgun" []
@PointClass base(Weapon) model({ "path": ":progs/g_nail.mdl" }) = weapon_nailgun : "Nailgun" []
@PointClass base(Weapon) model({ "path": ":progs/g_nail2.mdl" }) = weapon_supernailgun : "Super nailgun" []
@PointClass base(Weapon) model({ "path": ":progs/g_rock.mdl" }) = weapon_grenadelauncher : "Grenade launcher" []
@PointClass base(Weapon) model({ "path": ":progs/g_rock2.mdl" }) = weapon_rocketlauncher : "Rocket launcher" []
@PointClass base(Weapon) model({ "path": ":progs/g_light.mdl" }) = weapon_lightning : "Thunderbolt" []
//
// monsters
//
@baseclass base(Angle, Appearflags, Target, Targetname) color(220 0 0) = Monster
[
spawnflags(Flags) =
[
1 : "Ambush" : 0
]
]
@PointClass base(Monster) size(-16 -16 -24, 16 16 40) model({ "path": ":progs/soldier.mdl" }) = monster_army : "Grunt" []
@PointClass base(Monster) size(-32 -32 -24, 32 32 40) model({ "path": ":progs/dog.mdl" }) = monster_dog : "Nasty Doggie" []
@PointClass base(Monster) size(-32 -32 -24, 32 32 64) model({ "path": ":progs/ogre.mdl" }) = monster_ogre : "Ogre" []
@PointClass base(Monster) size(-32 -32 -24, 32 32 64) model({ "path": ":progs/ogre.mdl" }) = monster_ogre_marksman : "Ogre marksman" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 40) model({ "path": ":progs/knight.mdl" }) = monster_knight : "Knight" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 40) model({ "path": ":progs/hknight.mdl" }) = monster_hell_knight : "Hell knight" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 40) model({ "path": ":progs/wizard.mdl" }) = monster_wizard : "Scrag" []
@PointClass base(Monster) size(-32 -32 -24, 32 32 64) model({ "path": ":progs/demon.mdl" }) = monster_demon1 : "Fiend" []
@PointClass base(Monster) size(-32 -32 -24, 32 32 64) model({ "path": ":progs/shambler.mdl" }) = monster_shambler : "Shambler" []
@PointClass base(Monster) size(-128 -128 -24, 128 128 256) model({ "path": ":progs/boss.mdl" }) = monster_boss : "Chthon" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 40) model({ "path": ":progs/enforcer.mdl" }) = monster_enforcer : "Enforcer" []
@PointClass base(Monster) size(-32 -32 -24, 32 32 64) model({ "path": ":progs/shalrath.mdl" }) = monster_shalrath : "Vore" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 24) model({ "path": ":progs/tarbaby.mdl" }) = monster_tarbaby : "Spawn" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 24) model({ "path": ":progs/fish.mdl" }) = monster_fish : "Rotfish" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 32) model({ "path": ":progs/oldone.mdl" }) = monster_oldone : "Shub-Niggurath" []
@PointClass base(Monster) size(-16 -16 -24, 16 16 32) model({ "path": ":progs/zombie.mdl" }) = monster_zombie : "Zombie"
[
spawnflags(Flags) =
[
1 : "Crucified" : 0
2 : "Ambush" : 0
]
]
//
// lights
//
@baseclass color(255 255 40) = Light [
light(integer) : "Brightness" : 300
wait(integer) : "Fade distance multiplier" : 1
delay(choices) : "Attenuation" =
[
0 : "Linear falloff (Default)"
1 : "Inverse distance falloff"
2 : "Inverse distance squared"
3 : "No falloff"
4 : "Local minlight"
5 : "Inverse distance squared B"
]
mangle(string) : "Spotlight angle"
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"
]
_color(string) : "Specify red(r), green(g) and blue(b) components for the colour of the light. RGB component values are between 0 and 255 (between 0 and 1 is also accepted)." : "255 255 255"
angle(integer) : "Specifies the angle in degrees for a spotlight cone. Default 40." : 40
_softangle(integer) : "Specifies the angle in degrees for an inner spotlight cone (must be less than the angle cone. Creates a softer transition between the full brightness of the inner cone to the edge of the outer cone." : 0
]
@PointClass size(-8 -8 -8, 8 8 8) base(Light, Target, Targetname) =
light : "Invisible light source"
[
spawnflags(Flags) = [ 1 : "Start off" : 0 ]
_surface(string) : "Makes surfaces with the given texture name emit light, by using this light as a template which is copied across those surfaces. Lights are spaced about 128 units (though possibly closer due to bsp splitting) apart and positioned 2 units above the surfaces."
_surface_offset(integer) : "Controls the offset lights are placed above surfaces for '_surface'. Default 2." : 2
]
@PointClass size(-8 -8 -8, 8 8 8) base(Light, Target, Targetname) =
light_fluoro : "Fluorescent light"
[
spawnflags(Flags) = [ 1 : "Start off" : 0 ]
]
@PointClass size(-8 -8 -8, 8 8 8) base(Light, Target, Targetname) =
light_fluorospark : "Sparking fluorescent light"
[
spawnflags(Flags) = [ 1 : "Start off" : 0 ]
]
@PointClass size(-8 -8 -8, 8 8 8) base(Appearflags, Light, Target, Targetname) =
light_globe : "Globe light"
[
spawnflags(Flags) = [ 1 : "Start off" : 0 ]
]
@PointClass size(-8 -8 -12, 8 8 20) base(Appearflags, Light, Target, Targetname) model({ "path": ":progs/flame2.mdl" }) =
light_flame_large_yellow : "Large yellow flame"
[
spawnflags(Flags) = [ 1 : "Start off" : 0 ]
]
@PointClass size(-4 -4 -12, 4 4 20) base(Appearflags, Light, Target, Targetname) model({ "path": ":progs/flame2.mdl" }) =
light_flame_small_yellow : "Small yellow flame"
[
spawnflags(Flags) = [ 1 : "Start off" : 0 ]
]
@PointClass size(-4 -4 -12, 4 4 20) base(Appearflags, Light, Target, Targetname) model({ "path": ":progs/flame2.mdl" }) =
light_flame_small_white : "Small white flame"
[
spawnflags(Flags) = [ 1 : "Start off" : 0 ]
]
@PointClass size(-4 -4 -12, 4 4 20) base(Appearflags, Light, Target, Targetname) model({ "path": ":progs/flame.mdl" }) =
light_torch_small_walltorch : "Small walltorch" []
//
// misc
//
@SolidClass base(Appearflags, Shadows, Alpha) = func_illusionary : "Static nonsolid model" []
@PointClass base(Appearflags) color(0 150 220) = air_bubbles : "Air bubbles" []
@PointClass base(Appearflags, Targetname) =
event_lightning : "Chthon's lightning" []
@PointClass base(Appearflags) model({ "path": ":progs/lavaball.mdl" }) = misc_fireball : "Small fireball"
[ speed(integer) : "Speed" : 40 ]
@PointClass base(Appearflags) size(0 0 0, 32 32 64) model({ "path": ":maps/b_explob.bsp" }) = misc_explobox : "Large exploding container" []
@PointClass base(Appearflags) size(0 0 0, 32 32 32) model({ "path": ":maps/b_exbox2.bsp" }) = misc_explobox2 : "Small exploding container" []
@PointClass base(Appearflags) size(-8 -8 -8, 8 8 8) model({ "path": ":progs/teleport.mdl" }) = misc_teleporttrain : "Flying teleporter destination"
[
target(string) : "First stop target"
targetname(target_source) : "Name"
]
@PointClass base(Appearflags, Targetname) color(220 150 150) = trap_spikeshooter : "Triggered shooter"
[
spawnflags(Flags) =
[
1 : "Spike" : 0
2 : "Laser" : 0
]
]
@PointClass base(Appearflags) color(220 150 150) = trap_shooter : "Continuous shooter"
[
nextthink(integer) : "Delay before first spike"
wait(integer) : "Delay between spikes"
spawnflags(Flags) =
[
1 : "Spike" : 0
2 : "Laser" : 0
]
]
@SolidClass base(Shadows) = func_group : "Group of brushes for in-editor use" []
@SolidClass base(Shadows) = func_detail : "Group of brushes for certain compilers" []
@SolidClass base(Shadows) = func_detail_illusionary : "func_detail variant with no collision (players / monsters / gunfire) and doesn't split world faces." []
@SolidClass base(Shadows) = func_detail_wall : "func_detail variant that doesn't split world faces." []
@SolidClass base(Shadows) = func_detail_fence : "Similar to func_detail_wall except it’s suitable for fence textures, never clips away world faces. Useful for fences, grates, etc., that are solid and block gunfire." []
@PointClass base(Appearflags, Target, Targetname) size(8 8 8) color(200 150 150) = info_notnull : "Wildcard entity"
[
use(string) : "self.use"
think(string) : "self.think"
nextthink(integer) : "nextthink"
noise(string) : "noise"
touch(string) : "self.touch"
]
@SolidClass base(Appearflags, Target, Targetname) = info_notnull : "Wildcard entity"
[
use(string) : "self.use"
think(string) : "self.think"
nextthink(integer) : "nextthink"
noise(string) : "noise"
touch(string) : "self.touch"
]
//
// ambient sounds
//
@PointClass base(Appearflags) color(150 0 150) = ambient_drip : "Dripping sound" []
@PointClass base(Appearflags) color(150 0 150) = ambient_drone : "Engine/machinery sound" []
@PointClass base(Appearflags) color(150 0 150) = ambient_comp_hum : "Computer background sounds" []
@PointClass base(Appearflags) color(150 0 150) = ambient_flouro_buzz : "Fluorescent buzzing sound" []
@PointClass base(Appearflags) color(150 0 150) = ambient_light_buzz : "Buzzing sound from light" []
@PointClass base(Appearflags) color(150 0 150) = ambient_suck_wind : "Wind sound" []
@PointClass base(Appearflags) color(150 0 150) = ambient_swamp1 : "Frogs croaking" []
@PointClass base(Appearflags) color(150 0 150) = ambient_swamp2 : "Frogs croaking B" []
@PointClass base(Appearflags) color(150 0 150) = ambient_thunder : "Thunder sound" []
//
// moving things
//
@SolidClass base(Angle, Appearflags, Targetname, Target, Shadows, Alpha) = func_door : "Basic door"
[
speed(integer) : "Speed" : 100
sounds(choices) : "Sound" : 0 =
[
0: "Silent"
1: "Stone"
2: "Machine"
3: "Stone Chain"
4: "Screechy Metal"
]
wait(string) : "Wait before close" : "3"
lip(integer) : "Lip" : 8
dmg(integer) : "Damage inflicted when blocked" : 2
message(string) : "Message if touched"
health(integer) : "Health (shootable)" : 0
spawnflags(flags) =
[
1 : "Starts Open" : 0
4 : "Don't link" : 0
8 : "Gold Key required" : 0
16: "Silver Key required" : 0
32: "Toggle" : 0
]
]
@SolidClass base(Appearflags, Targetname, Target, Shadows, Alpha) = func_door_secret : "Secret door"
[
angle(integer) : "Direction of second move"
t_width(integer) : "First move length"
t_length(integer) : "Second move length"
dmg(integer) : "Damage when blocked" : 2
wait(string) : "Wait before close" : "2"
sounds(choices) : "Sounds" : 3 =
[
1: "Medieval"
2: "Metal"
3: "Base"
]
message(string) : "Message"
spawnflags(flags) =
[
1 : "Open once" : 0
2 : "Move left first" : 0
4 : "Move down first" : 0
8 : "Not shootable" : 0
16 : "Always shootable" : 0
]
]
@SolidClass base(Appearflags, Targetname, Shadows, Alpha) = func_wall : "Wall, starts animation when triggered (if supporting texture)" []
@SolidClass base(Angle, Appearflags, Targetname, Shadows, Alpha) = func_button : "Button"
[
speed(integer) : "Speed" : 40
lip(integer) : "Lip" : 4
target(target_source) : "Target"
health(integer) : "Health (shootable)"
sounds(choices) : "Sounds" =
[
0 : "Steam metal"
1 : "Wooden clunk"
2 : "Metallic clink"
3 : "In-out"
]
wait(string) : "Wait before reset" : "1"
delay(string) : "Delay before trigger"
message(string) : "Message"
]
@SolidClass base(Appearflags, Targetname, Shadows, Alpha) = func_train : "Moving platform"
[
sounds(choices) : "Sound" : 1 =
[
0: "Silent"
1: "Ratchet Metal"
]
speed(integer) : "Speed (units per second)" : 64
target(target_source) : "Target to start at"
dmg(integer) : "Damage on block" : 2
]
@PointClass base(Appearflags, Targetname) size(16 16 16) color(0 255 255) =
path_corner : "Waypoint for platforms and monsters"
[
target(target_source) : "Next target"
wait(integer) : "Wait" : 0
]
@SolidClass base(Appearflags, Targetname, Shadows, Alpha) = func_plat : "Elevator"
[
spawnflags(Flags) =
[
1 : "Low trigger volume" : 0
]
speed(integer) : "Speed" : 150
height(integer) : "Travel altitude (can be negative)" : 0
sounds(choices) : "Sound" : 1 =
[
0: "None"
1: "Base fast"
2: "Chain Slow"
]
]
@SolidClass base(Appearflags) = func_episodegate : "Episode Gate"
[
spawnflags(Flags) =
[
1 : "Episode 1" : 1
2 : "Episode 2" : 0
4 : "Episode 3" : 0
8 : "Episode 4" : 0
]
]
@SolidClass base(Appearflags) = func_bossgate : "Boss gate" []
//
// triggers
//
@baseclass base(Appearflags, Target, Targetname) = Trigger
[
sounds(choices) : "Sound style" : 0 =
[
0 : "None"
1 : "Secret sound"
2 : "Beep beep"
3 : "Large switch"
]
delay(string) : "Delay before trigger" : "0"
message(string) : "Message"
]
@SolidClass base(Trigger) = trigger_changelevel : "Trigger: Change level"
[
map(string) : "Next map"
target(target_destination) : "Target"
spawnflags(flags) =
[
1: "No intermission" : 0
]
]
@SolidClass base(Trigger) = trigger_once : "Trigger: Activate once"
[
health(integer) : "Health (shootable)"
spawnflags(flags) = [ 1: "Not touchable" : 0 ]
]
@SolidClass base(Trigger) = trigger_multiple : "Trigger: Activate multiple"
[
wait(string) : "Wait before reset" : "0.2"
health(integer) : "Health (shootable)"
spawnflags(flags) = [ 1: "Not touchable" : 0 ]
]
@SolidClass base(Trigger) = trigger_onlyregistered : "Trigger: Registered only"
[
spawnflags(flags) = [ 1: "Not touchable" : 0 ]
]
@SolidClass base(Trigger) = trigger_secret : "Trigger: Secret"
[
sounds(choices) : "Sound" : 1 =
[
1 : "Secret sound"
2 : "Beep beep"
]
spawnflags(flags) = [ 1: "Not touchable" : 0 ]
]
@SolidClass base(Appearflags, Target, Targetname) = trigger_teleport : "Trigger: Teleporter"
[
spawnflags(Flags) =
[
1 : "Player only" : 0
2 : "Silent" : 0
]
]
@SolidClass base(Appearflags) = trigger_setskill : "Trigger: Set skill"
[
message(choices) : "Skill to change to" : 1 =
[
0 : "Easy"
1 : "Medium"
2 : "Hard"
3 : "Nightmare!"
]
]
@PointClass base(Trigger) = trigger_relay : "Trigger: Relay"
[
]
@SolidClass base(Angle, Appearflags, Targetname) = trigger_monsterjump : "Trigger: Monster jump"
[
speed(integer) : "Jump Speed" : 200
height(integer) : "Jump Height" : 200
]
@PointClass base(Appearflags, Target, Targetname) = trigger_counter : "Trigger: Counter"
[
spawnflags(flags) = [ 1: "No Message" : 0 ]
count(integer) : "Count before trigger" : 2
delay (integer) : "Delay"
message(string) : "Message"
]
@SolidClass base(Angle, Appearflags, Targetname) = trigger_push : "Trigger: Push"
[
spawnflags(flags) = [ 1: "Push once" : 0 ]
speed(integer) : "Speed" : 1000
]
@SolidClass base(Appearflags, Targetname) = trigger_hurt : "Trigger: Hurt"
[
dmg(integer) : "Damage per second" : 5
]
@PointClass size(16 16 16) = misc_noisemaker : "Debug entity: continuously plays enforcer sounds" []
@PointClass size(16 16 16) = viewthing : "Debug entity: fake player model" []