forked from Flayra/NS2-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor_setup.xml
585 lines (438 loc) · 23.7 KB
/
editor_setup.xml
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
<classes>
<!-- Un-animated prop -->
<class name="prop_static" placeable="false">
<model>
<file>model</file>
<scale>scale</scale>
<casts_shadows>castsShadows</casts_shadows>
</model>
<size>
<scale>scale</scale>
</size>
<parameter name="scale" type="vector" label="scale" default="1.0, 1.0, 1.0"/>
<parameter name="model" type="file" label="model" filter="*.model"/>
<parameter name="castsShadows" type="boolean" label="Casts Shadows" default="true"/>
<!-- Allow prop to be shown or not for commander -->
<parameter name="commAlpha" type="real" label="Commander Alpha" help="0-1. Doesn't collide if less than 1." default="1.0"/>
<!-- Allow prop to be excluded/included from the nav mesh generation -->
<parameter name="pathInclude" type="boolean" label="Pathing Include" help="On will include in NavMesh. Off excludes prop from nav mesh" default="true"/>
</class>
<!-- Base class for all lights -->
<class name="light_base" placeable="false">
<parameter name="color" type="color" label="color" default="1.0, 1.0, 1.0"/>
<parameter name="distance" type="distance" label="Max Distance" default="2.0"/>'
<parameter name="intensity" type="real" label="Intensity" default="5.0"/>
<parameter name="ignorePowergrid" type="boolean" label="Ignore power grid" default="false"/>
</class>
<!-- Point light -->
<class name="light_point" placeable="false">
<parent>light_base</parent>
<point_light>
<color>color</color>
<radius>distance</radius>
<intensity>intensity</intensity>
<casts_shadows>casts_shadows</casts_shadows>
<shadow_fade_rate>shadow_fade_rate</shadow_fade_rate>
<specular>specular</specular>
</point_light>
<sphere>
<radius>distance</radius>
</sphere>
<parameter name="casts_shadows" type="boolean" label="Casts Shadows" default="false"/>
<parameter name="shadow_fade_rate" type="real" label="Shadow Fade Rate" default="0.25"/>
<parameter name="specular" type="boolean" label="Specular" default="true"/>
</class>
<!-- Spot light -->
<class name="light_spot" placeable="false">
<parent>light_base</parent>
<spot_light>
<color>color</color>
<radius>distance</radius>
<intensity>intensity</intensity>
<inner_angle>innerAngle</inner_angle>
<outer_angle>outerAngle</outer_angle>
<atmospheric>atmospheric</atmospheric>
<casts_shadows>casts_shadows</casts_shadows>
<shadow_fade_rate>shadow_fade_rate</shadow_fade_rate>
<specular>specular</specular>
</spot_light>
<cone_radius>
<radius>distance</radius>
<angle>outerAngle</angle>
</cone_radius>
<cone_angle>
<angle>innerAngle</angle>
<radius>distance</radius>
</cone_angle>
<cone_angle>
<angle>outerAngle</angle>
<radius>distance</radius>
</cone_angle>
<parameter name="innerAngle" type="angle" label="Inner Angle" default="30.0"/>
<parameter name="outerAngle" type="angle" label="Outer Angle" default="40.0"/>
<parameter name="atmospheric" type="boolean" label="Atmospheric" default="false"/>
<parameter name="casts_shadows" type="boolean" label="Casts Shadows" default="true"/>
<parameter name="shadow_fade_rate" type="real" label="Shadow Fade Rate" default="0.25"/>
<parameter name="specular" type="boolean" label="Specular" default="true"/>
</class>
<!-- Ambient light -->
<class name="light_ambient" placeable="false">
<parent>light_base</parent>
<ambient_light>
<color>color</color>
<radius>distance</radius>
<intensity>intensity</intensity>
<color_dir_right>color_dir_right</color_dir_right>
<color_dir_left>color_dir_left</color_dir_left>
<color_dir_up>color_dir_up</color_dir_up>
<color_dir_down>color_dir_down</color_dir_down>
<color_dir_forward>color_dir_forward</color_dir_forward>
<color_dir_backward>color_dir_backward</color_dir_backward>
</ambient_light>
<sphere>
<radius>distance</radius>
</sphere>
<parameter name="color_dir_right" type="color" label="Right Color" default="1.0, 1.0, 1.0"/>
<parameter name="color_dir_left" type="color" label="Left Color" default="1.0, 1.0, 1.0"/>
<parameter name="color_dir_up" type="color" label="Up Color" default="1.0, 1.0, 1.0"/>
<parameter name="color_dir_down" type="color" label="Down Color" default="1.0, 1.0, 1.0"/>
<parameter name="color_dir_forward" type="color" label="Forward Color" default="1.0, 1.0, 1.0"/>
<parameter name="color_dir_backward" type="color" label="Backward Color" default="1.0, 1.0, 1.0"/>
</class>
<!-- Base class for color grading -->
<class name="color_grading" placeable="false">
<color_grading>
<radius>distance</radius>
<balance>balance</balance>
<brightness>brightness</brightness>
<contrast>contrast</contrast>
</color_grading>
<parameter name="balance" type="color" label="Color Balance" default="0.0, 0.0, 0.0"/>
<parameter name="distance" type="distance" label="Max Distance" default="2.0"/>
<parameter name="brightness" type="real" label="Brightness" default="0.0"/>
<parameter name="contrast" type="real" label="Contrast" default="0.0"/>
<sphere>
<radius>distance</radius>
</sphere>
</class>
<!-- Base spawn point -->
<class name="base_start" placeable="false">
<model>
<file>models/system/editor/player_spawn.model</file>
</model>
</class>
<!-- Player spawn point -->
<class name="ready_room_start">
<parent>base_start</parent>
<model>
<file>models/system/editor/player_spawn.model</file>
</model>
</class>
<!-- Player spawn point (spawn near team_location) -->
<class name="player_start">
<parent>base_start</parent>
<model>
<file>models/system/editor/player_spawn.model</file>
</model>
</class>
<!-- Placeable structures -->
<class name="base_structure">
<parameter name="startsBuilt" type="boolean" default="true" />
<!-- Team number -->
<parameter name="teamNumber" type="choice" label="Team Number" default="1">
<choice label="World" value="0"/>
<choice label="Marine" value="1"/>
<choice label="Alien" value="2"/>
</parameter>
</class>
<class name="commandstation"> <parent>base_structure</parent><model><file>models/marine/command_station/command_station.model</file></model></class>
<class name="armory"> <parent>base_structure</parent><model><file>models/marine/armory/armory.model</file></model></class>
<class name="infantryportal"> <parent>base_structure</parent><model><file>models/marine/infantry_portal/infantry_portal.model</file></model></class>
<class name="sentry"> <parent>base_structure</parent><model><file>models/marine/sentry/sentry.model</file></model></class>
<class name="masc"> <parent>base_structure</parent><model><file>models/marine/masc/masc.model</file></model></class>
<class name="hive"> <parent>base_structure</parent><model><file>models/alien/hive/hive.model</file></model></class>
<class name="harvester"> <parent>base_structure</parent><model><file>models/alien/harvester/harvester.model</file></model></class>
<class name="hydra"> <parent>base_structure</parent><model><file>models/alien/hydra/hydra.model</file></model></class>
<class name="crag"> <parent>base_structure</parent><model><file>models/alien/crag/crag.model</file></model></class>
<class name="shift"> <parent>base_structure</parent><model><file>models/alien/shift/shift.model</file></model></class>
<class name="shade"> <parent>base_structure</parent><model><file>models/alien/shade/shade.model</file></model></class>
<class name="observatory"> <parent>base_structure</parent><model><file>models/marine/observatory/observatory.model</file></model></class>
<!-- Location for command station or hive -->
<class name="team_location">
<model>
<file>models/system/editor/team_location.model</file>
</model>
<!-- Team number -->
<parameter name="teamNumber" type="choice" label="Team Number" default="0">
<choice label="Neutral. Either team can start here" value="0"/>
<choice label="Marine only" value="1"/>
<choice label="Alien only" value="2"/>
</parameter>
<parameter name="spawnRadius" type="distance" label="Spawn radius" default="20.0" help="Players spawn at random player_starts within this radius."/>
<sphere>
<radius>spawnRadius</radius>
</sphere>
</class>
<!-- Allow map to specify where eggs can be created -->
<class name="egg_start" help="Place in same location as tech point"> <parent>base_start</parent>
<model>
<file>models/alien/egg/egg.model</file>
</model>
</class>
<!-- NS2 strategy gameplay rules -->
<class name="ns2_gamerules" label="Use core NS2 strategy gameplay">
<parent>gamerules</parent>
<model>
<file>models/system/editor/team_location.model</file>
</model>
</class>
<!-- Reverb control -->
<class name="reverb">
<help>FMOD Reverb object. Place it to adjust the audio reverb qualities nearby. References reverb settings from FMOD Designer.</help>
<model>
<file>models/system/editor/sound_reverb.model</file>
</model>
<sphere><radius>minRadius</radius></sphere>
<parameter name="minRadius" type="distance" label="Min Radius" default="5.0" help="At this distance from the point, the reverb settings are fully heard."/>
<sphere><radius>maxRadius</radius></sphere>
<parameter name="maxRadius" type="distance" label="Max Radius" default="20.0" help="At this distance from the point, the reverb settings are no longer heard."/>
<parameter name="reverbType" type="choice" label="Type" default="1">
<choice label="Generic" value="1"/>
<choice label="Hallway" value="2"/>
<choice label="Vent" value="3"/>
<choice label="Medium Room" value="4"/>
<choice label="Large Room" value="5"/>
<choice label="Big Hallway" value="6"/>
<choice/>
</parameter>
</class>
<!-- Trigger -->
<class name="trigger">
<model>
<file>models/system/editor/location.model</file>
<scale>scale</scale>
</model>
<!-- <cube><volume>volume</volume></cube>
<parameter name="volume" type="vector" label="volume" default="1.0, 1.0, 1.0" help="Effective area of trigger."/>-->
<size>
<scale>scale</scale>
</size>
<parameter name="scale" type="vector" label="scale" default="1.0, 1.0, 1.0" help=""/>
<parameter name="name" type="string" label="name" help="Name of trigger which can be referenced by other entities" />
</class>
<!-- Ladder -->
<class name="ladder"> <parent>trigger</parent> </class>
<!-- Tell overview what area to render out and the game what area is playable for commander -->
<class name="minimap_extents">
<parent>trigger</parent>
</class>
<!-- Team join -->
<class name="team_join">
<parent>trigger</parent>
<!-- Team number -->
<parameter name="teamNumber" type="choice" label="Team Number" default="1">
<choice label="Marine" value="1"/>
<choice label="Alien" value="2"/>
<choice label="Spectate" value="0"/>
<choice label="Random" value="3"/>
</parameter>
</class>
<!-- Simple location -->
<class name="location" help="Enter name location which is shown to players" >
<parent>trigger</parent>
<parameter name="showOnMinimap" type="boolean" label="Show On Minimap" default="true"/>
</class>
<!-- Kill trigger -->
<class name="death_trigger">
<parent>trigger</parent>
</class>
<!-- Ambient sound -->
<class name="ambient_sound">
<help>Plays sound for local player when entering radius.</help>
<model>
<file>models/system/editor/ambient_sound.model</file>
</model>
<parameter name="eventName" type="file" filter="sound" label="FMOD event name" default="" help="Sound to play when player enters radius."/>
<sphere><radius>radius</radius></sphere>
<parameter name="radius" type="distance" label="Trigger radius" default="12.5" help="Players entering this sphere will have sound triggered for them."/>
<sphere><radius>minFalloff</radius></sphere>
<parameter name="minFalloff" type="distance" label="Minimum falloff" default="5" help="Sound played at full volume within this distance."/>
<sphere><radius>maxFalloff</radius></sphere>
<parameter name="maxFalloff" type="distance" label="Maximum falloff" default="12" help="Sound is decreased to inaudible at this distance (using linear or logarithmic falloff)."/>
<parameter name="falloffType" type="choice" label="Type" default="2">
<choice label="Logarithmic" value="1" help="minFalloff is where sound starts to attenuate from. maxFalloff is ignored. More realistic, not very game-friendly."/>
<choice label="Linear" value="2" help="Sound is full volume at minFalloff and becomes inaudible at maxFalloff."/>
<choice label="Custom" value="3" help="Sound uses custom falloff (defined in FMOD)."/>
</parameter>
<parameter name="volume" type="real" label="Volume (0 to 1)" default=".5"/>
<parameter name="pitch" type="real" label="Pitch (+4 octaves to -4 octaves)" default="0.0"/>
<parameter name="positioning" type="choice" label="Type" default="1" help="">
<choice label="World relative" value="1"/>
<choice label="Head relative" value="2"/>
</parameter>
<parameter name="offOnExit" type="boolean" label="Turns off when player leaves radius" default="true"/>
<parameter name="startsOn" type="boolean" label="Starts on" default="false"/>
</class>
<!-- Tech point for building a Command Station or Hive -->
<class name="tech_point">
<model>
<file>models/misc/tech_point/tech_point.model</file>
</model>
<parameter name="teamNumber" type="choice" label="Team Number" default="0">
<choice label="Neutral. Either team can build here" value="0"/>
<choice label="Marine only" value="1"/>
<choice label="Alien only" value="2"/>
</parameter>
</class>
<!-- Tech point to be used in smaller rooms -->
<class name="tech_point_hole">
<model>
<file>models/misc/tech_point_hole/tech_point_hole.model</file>
</model>
</class>
<class name="resource_point">
<model>
<file>models/misc/resource_nozzle/resource_nozzle.model</file>
</model>
</class>
<class name="commander_camera">
<model>
<file>models/system/editor/commander_camera.model</file>
</model>
<parameter name="cameraHeight" type="distance" label="Camera height" default="10.0"/>'
</class>
<class name="door">
<model>
<file>models/misc/door/door.model</file>
</model>
<parameter name="weldTime" type="real" label="Weld time in seconds" default="20.0"/>
<parameter name="weldHealth" type="real" label="Health to destroy after welded (1 to 2000)" default="250.0"/>
</class>
<!-- Power grid -->
<class name="power_point" help="Place in location entity to affect structures and lights there">
<model>
<file>models/system/editor/power_node.model</file>
</model>
</class>
<!-- Cinematic entity -->
<class name="cinematic_base" placeable="false">
<parameter name="cinematicName" type="file" label="Cinematic file" default="" filter="*.cinematic" help="Name of cinematic file (created with Cinematic Editor)"/>
<parameter name="repeatStyle" type="choice" label="Repeat Style" default="1">
<choice label="No Repeat" value="0"/>
<choice label="Loop" value="1"/>
<choice label="Endless" value="2"/>
</parameter>
</class>
<class name="cinematic">
<parent>cinematic_base</parent>
<help>Adds a cinematic entity to the game world.</help>
<model>
<file>models/system/editor/cinematic.model</file>
</model>
</class>
<!-- Particle effect - child of generic cinematic -->
<class name="particles">
<parent>cinematic_base</parent>
<help>Creates environmental particle system effect.</help>
<model>
<file>models/system/editor/particles.model</file>
</model>
<sphere>
<radius>radius</radius>
</sphere>
<parameter name="radius" type="distance" label="Trigger radius" default="20.0" help="Players entering this sphere will trigger the effect."/>
<parameter name="offOnExit" type="boolean" label="Turns off when player leaves radius" default="false"/>
<parameter name="startsOn" type="boolean" label="Starts on" default="false"/>
</class>
<!-- Animated prop -->
<class name="prop_dynamic" placeable="true">
<model>
<file>model</file>
<scale>scale</scale>
</model>
<size>
<scale>scale</scale>
</size>
<parameter name="scale" type="vector" label="scale" default="1.0, 1.0, 1.0"/>
<parameter name="model" type="file" label="model" filter="*.model"/>
<parameter name="animation" type="string" label="animation" />
<parameter name="commAlpha" type="real" label="commander alpha" help="0-1. Doesn't collide if less than 1." default="1.0"/>
<parameter name="dynamic" type="boolean" label="Dynamic" default="false"/>
</class>
<!-- Skybox cinematic - child of generic cinematic -->
<class name="skybox">
<parent>cinematic_base</parent>
<help>Creates a skybox cinematic that's always centered around the viewer.</help>
<model>
<file>models/system/editor/skybox.model</file>
</model>
</class>
<class name="target" placeable="true">
<model>
<file>model</file>
</model>
<parameter name="model" type="file" label="model" default="models/misc/target/target.model" filter="*.model"/>
<parameter name="teamNumber" type="choice" label="Team Number" default="3">
<choice label="Always take damage" value="0"/>
<choice label="Marine" value="1"/>
<choice label="Alien" value="2"/>
</parameter>
<parameter name="health" type="real" label="Health before dying" default="1.0"/>
<parameter name="deathSoundName" type="file" filter="sound" label="Kill sound" default="" help="Sound to play when killed."/>
<parameter name="spawnAnimation" type="string" label="Spawn animation" default="idle" help="Animation played when target is first spawned." />
<parameter name="popupAnimation" type="string" label="Popup animation" default="popup" help="Animation played when player is nearby." />
<parameter name="popupSoundName" type="file" filter="sound" label="Popup sound" default="" help="Sound to play when target pops up."/>
<parameter name="popupRadius" type="distance" label="Popup radius" default="10.0" help="Target plays popup animation when any player comes within this range."/>
<sphere>
<radius>popupRadius</radius>
</sphere>
<parameter name="popupDelay" type="real" label="Random delay before popping up" default="0.0"/>
</class>
<!-- Navigation path waypoint -->
<class name="navigation_waypoint">
<help>Creates a navigation path waypoint.</help>
<model>
<file>models/system/editor/waypoint.model</file>
</model>
</class>
<!-- Base class for fog controls -->
<class name="fog_controls" placeable="true">
<fog_controls>
<default_zone_scale>default_zone_scale</default_zone_scale>
<default_zone_color>default_zone_color</default_zone_color>
<view_zone_scale>view_zone_scale</view_zone_scale>
<view_zone_color>view_zone_color</view_zone_color>
<skybox_zone_scale>skybox_zone_scale</skybox_zone_scale>
<skybox_zone_color>skybox_zone_color</skybox_zone_color>
</fog_controls>
<parameter name="default_zone_scale" type="real" label="Default Depth Scale" default="1000"/>
<parameter name="default_zone_color" type="color" label="Default Color" default="0.35, 0.4, 0.5"/>
<parameter name="view_zone_scale" type="real" label="View Model Depth Scale" default="1000"/>
<parameter name="view_zone_color" type="color" label="View Model Color" default="0.35, 0.4, 0.5"/>
<parameter name="skybox_zone_scale" type="real" label="Skybox Depth Scale" default="1000"/>
<parameter name="skybox_zone_color" type="color" label="Skybox Color" default="0.35, 0.4, 0.5"/>
<help>Allows tuning of fog values for different rendering zones.</help>
<model>
<file>models/system/editor/fogcontrols.model</file>
</model>
</class>
<class name="pathing_settings" placeable="true">
<model>
<file>models/system/editor/location.model</file>
</model>
<parameter name="option_cell_size" type="real" label="Cell Size" default="0.30"/>
<parameter name="option_cell_height" type="real" label="Cell Height" default="0.40"/>
<parameter name="option_agent_height" type="real" label="Agent Height" default="2.00"/>
<parameter name="option_agent_radius" type="real" label="Agent Radius" default="0.6"/>
<parameter name="option_agent_max_climb" type="real" label="Agent Max Climb" default="0.90"/>
<parameter name="option_agent_max_slope" type="real" label="Agent Mac Slope" default="45.0"/>
<parameter name="option_region_min_size" type="real" label="Region Min Size" default="8"/>
<parameter name="option_region_merge_size" type="real" label="Region Merge Size" default="20"/>
<parameter name="option_edge_max_len" type="real" label="Edge Max Len" default="12.0"/>
<parameter name="option_verts_per_poly" type="real" label="Verts Per Poly" default="6.0"/>
<parameter name="option_detail_sample_dist" type="real" label="Detail Sample Distance" default="6.0"/>
<parameter name="option_detail_sample_max_error" type="real" label="Detail Sample Max Error" default="1.0"/>
<parameter name="option_tile_size" type="real" label="Tile Size" default="48.0"/>
<help>Allows tuning of pathing settings to help optimize pathing</help>
</class>
</classes>