Subversion-Projekte sthq.colony7

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
9 lars 1
//Generated by BehavEd
2
 
3
rem ( "comment" );
4
set ( /*@SET_TYPES*/ "SET_TIMESCALE", 5.000 );
5
 
6
affect ( "Ling", /*@AFFECT_TYPE*/ FLUSH )
7
{
8
	set ( /*@SET_TYPES*/ "SET_CROUCHED", /*@BOOL_TYPES*/ "true" );
9
}
10
 
11
 
12
affect ( "grops", /*@AFFECT_TYPE*/ FLUSH )
13
{
14
	set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "grops" );
15
}
16
 
17
 
18
affect ( "Tagara", /*@AFFECT_TYPE*/ FLUSH )
19
{
20
	set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "tagara" );
21
}
22
 
23
 
24
affect ( "klingon_background1", /*@AFFECT_TYPE*/ FLUSH )
25
{
26
	set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_CONSOLE1" );
27
	set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
28
}
29
 
30
camera ( /*@CAMERA_COMMANDS*/ ENABLE );
31
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 1.000, 0 );
32
wait ( 1000.000 );
33
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam1", ORIGIN)$, 0 );
34
camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 325.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
35
 
36
affect ( "Gordon", /*@AFFECT_TYPE*/ FLUSH )
37
{
38
 
39
	task ( "walk1" )
40
	{
41
//$"walkTo"@2
42
		set ( "BSTATE", "BS_WALK" );
43
		set ( "NAVGOAL", "gordon_nav" );
44
	}
45
 
46
	dowait ( "walk1" );
47
	set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 105.000 0.000 > );
48
}
49
 
50
 
51
affect ( "Illia", /*@AFFECT_TYPE*/ FLUSH )
52
{
53
 
54
	task ( "walk1" )
55
	{
56
//$"walkTo"@2
57
		set ( "BSTATE", "BS_WALK" );
58
		set ( "NAVGOAL", "illia_nav" );
59
	}
60
 
61
	dowait ( "walk1" );
62
	set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 90.000 0.000 > );
63
}
64
 
65
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 1000 );
66
camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 280.000 0.000 >, < 0.000 0.000 0.000 >, 4000 );
67
wait ( 6000.000 );
68
camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 90.000 0.000 >, < 0.000 0.000 0.000 >, 2000 );
69
camera ( /*@CAMERA_COMMANDS*/ ZOOM, 120.000, 6000 );
70
camera ( /*@CAMERA_COMMANDS*/ TRACK, "track", 12.000, 0 );
71
wait ( 5000.000 );
72
camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "rotate", 15.000, 1 );
73
wait ( 10000.000 );
74
 
75
affect ( "klingon_background2", /*@AFFECT_TYPE*/ FLUSH )
76
{
77
 
78
	task ( "walk1" )
79
	{
80
//$"walkTo"@2
81
		set ( "BSTATE", "BS_WALK" );
82
		set ( "NAVGOAL", "klingon_background2_nav1" );
83
	}
84
 
85
	dowait ( "walk1" );
86
	set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 60.000 0.000 > );
87
	set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "klingon_background1" );
88
 
89
	affect ( "klingon_background1", /*@AFFECT_TYPE*/ FLUSH )
90
	{
91
		set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "klingon_background2" );
92
		wait ( 5000.000 );
93
		set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "NULL" );
94
		wait ( 1000.000 );
95
 
96
		affect ( "klingon_background2", /*@AFFECT_TYPE*/ FLUSH )
97
		{
98
			set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "NULL" );
99
 
100
			task ( "walk2" )
101
			{
102
//$"walkTo"@2
103
				set ( "BSTATE", "BS_WALK" );
104
				set ( "NAVGOAL", "klingon_background2_nav2" );
105
			}
106
 
107
			dowait ( "walk2" );
108
		}
109
 
110
		set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_CONSOLE1" );
111
		set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
112
	}
113
 
114
}
115
 
116
wait ( 32000.000 );
117
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam2", ORIGIN)$, 6000 );
118
wait ( 6000.000 );
119
camera ( /*@CAMERA_COMMANDS*/ ZOOM, 80.000, 0 );
120
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam3", ORIGIN)$, 0 );
121
camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "tagara", 0.000, 0 );
122
 
123
affect ( "engineer", /*@AFFECT_TYPE*/ FLUSH )
124
{
125
//$"walkTo"@2
126
	set ( "BSTATE", "BS_WALK" );
127
	set ( "NAVGOAL", "engineer_nav" );
128
	wait ( 2000.000 );
129
 
130
	affect ( "Tagara", /*@AFFECT_TYPE*/ FLUSH )
131
	{
132
		set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "engineer" );
133
		wait ( 3000.000 );
134
		set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "NULL" );
135
		wait ( 1000.000 );
136
 
137
		affect ( "engineer", /*@AFFECT_TYPE*/ FLUSH )
138
		{
139
//$"walkTo"@4
140
			set ( "BSTATE", "BS_WALK" );
141
			set ( "NAVGOAL", "engineer_nav2" );
142
			wait ( 5000.000 );
143
			set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
144
		}
145
 
146
		wait ( 2000.000 );
147
 
148
		affect ( "Ling", /*@AFFECT_TYPE*/ FLUSH )
149
		{
150
			camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "bomb_cam1", ORIGIN)$, 0 );
151
			camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 190.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
152
			wait ( 2000.000 );
153
			camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "bomb_cam2", ORIGIN)$, 4000 );
154
			camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "grops", 10.000, 1 );
155
			wait ( 6000.000 );
156
			camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "bomb_cam3", ORIGIN)$, 0 );
157
 
158
			affect ( "grops", /*@AFFECT_TYPE*/ FLUSH )
159
			{
160
				set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 0.000 0.000 > );
161
			}
162
 
163
			wait ( 6000.000 );
164
 
165
			affect ( "Marx", /*@AFFECT_TYPE*/ FLUSH )
166
			{
167
				camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "coreroom_cam5", ORIGIN)$, 0 );
168
				camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 270.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
169
				wait ( 4000.000 );
170
 
171
				affect ( "Ling", /*@AFFECT_TYPE*/ FLUSH )
172
				{
173
					camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "bomb_cam4", ORIGIN)$, 0 );
174
					camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 350.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
175
					wait ( 4000.000 );
176
 
177
					affect ( "Marx", /*@AFFECT_TYPE*/ FLUSH )
178
					{
179
						camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "coreroom_cam6", ORIGIN)$, 0 );
180
						camera ( /*@CAMERA_COMMANDS*/ PAN, < -25.000 12.000 10.000 >, < 0.000 0.000 0.000 >, 0 );
181
						set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 270.000 0.000 > );
182
						set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_CONSOLE1" );
183
						set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
184
						wait ( 4000.000 );
185
 
186
						affect ( "bridge_officer", /*@AFFECT_TYPE*/ FLUSH )
187
						{
188
							camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cin_cam7", ORIGIN)$, 0 );
189
							camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "captain", 0.000, 0 );
190
 
191
							affect ( "display", /*@AFFECT_TYPE*/ FLUSH )
192
							{
193
								move ( $tag( "display1_cam", ORIGIN)$, 0.000 );
194
								rotate ( < 0.000 180.000 0.000 >, 0.000 );
195
							}
196
 
197
							wait ( 4000.000 );
198
 
199
							affect ( "Tagara", /*@AFFECT_TYPE*/ FLUSH )
200
							{
201
								set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "tagara_look" );
202
								camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "display1_cam", ORIGIN)$, 0 );
203
								camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 90.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
204
								wait ( 5000.000 );
205
 
206
								affect ( "bridge_officer", /*@AFFECT_TYPE*/ FLUSH )
207
								{
208
									camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cin_cam7", ORIGIN)$, 0 );
209
									camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "captain", 0.000, 0 );
210
									wait ( 4000.000 );
211
									camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "bomb_cam2", ORIGIN)$, 0 );
212
									camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "grops", 0.000, 0 );
213
									camera ( /*@CAMERA_COMMANDS*/ ZOOM, 120.000, 0 );
214
									wait ( 1000.000 );
215
 
216
									affect ( "guard1", /*@AFFECT_TYPE*/ FLUSH )
217
									{
218
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
219
										wait ( 750.000 );
220
										remove ( "self" );
221
									}
222
 
223
 
224
									affect ( "guard2", /*@AFFECT_TYPE*/ FLUSH )
225
									{
226
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
227
										wait ( 750.000 );
228
										remove ( "self" );
229
									}
230
 
231
									wait ( 2000.000 );
232
 
233
									affect ( "guard3", /*@AFFECT_TYPE*/ FLUSH )
234
									{
235
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
236
										wait ( 750.000 );
237
										remove ( "self" );
238
									}
239
 
240
 
241
									affect ( "guard4", /*@AFFECT_TYPE*/ FLUSH )
242
									{
243
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
244
										wait ( 750.000 );
245
										remove ( "self" );
246
									}
247
 
248
									wait ( 1500.000 );
249
 
250
									affect ( "guard6", /*@AFFECT_TYPE*/ FLUSH )
251
									{
252
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
253
										wait ( 750.000 );
254
										remove ( "self" );
255
									}
256
 
257
 
258
									affect ( "guard5", /*@AFFECT_TYPE*/ FLUSH )
259
									{
260
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
261
										wait ( 750.000 );
262
										remove ( "self" );
263
									}
264
 
265
									wait ( 2000.000 );
266
									camera ( /*@CAMERA_COMMANDS*/ ZOOM, 80.000, 0 );
267
									rem ( "fight" );
268
									camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "fight_cam", ORIGIN)$, 0 );
269
									camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 180.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
270
 
271
									affect ( "starfleet1", /*@AFFECT_TYPE*/ FLUSH )
272
									{
273
										set ( /*@SET_TYPES*/ "SET_ENEMY", "guard7" );
274
										set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
275
									}
276
 
277
 
278
									affect ( "starfleet2", /*@AFFECT_TYPE*/ FLUSH )
279
									{
280
										set ( /*@SET_TYPES*/ "SET_ENEMY", "guard8" );
281
										set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
282
									}
283
 
284
 
285
									affect ( "guard7", /*@AFFECT_TYPE*/ FLUSH )
286
									{
287
										set ( /*@SET_TYPES*/ "SET_ENEMY", "starfleet1" );
288
										set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
289
									}
290
 
291
 
292
									affect ( "guard8", /*@AFFECT_TYPE*/ FLUSH )
293
									{
294
										set ( /*@SET_TYPES*/ "SET_ENEMY", "starfleet1" );
295
										set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
296
									}
297
 
298
 
299
									affect ( "guard10", /*@AFFECT_TYPE*/ FLUSH )
300
									{
301
										set ( /*@SET_TYPES*/ "SET_ENEMY", "starfleet2" );
302
										set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
303
									}
304
 
305
									wait ( 4000.000 );
306
 
307
									affect ( "guard7", /*@AFFECT_TYPE*/ FLUSH )
308
									{
309
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
310
										wait ( 750.000 );
311
										remove ( "self" );
312
									}
313
 
314
 
315
									affect ( "guard8", /*@AFFECT_TYPE*/ FLUSH )
316
									{
317
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
318
										wait ( 750.000 );
319
										remove ( "self" );
320
									}
321
 
322
 
323
									affect ( "guard10", /*@AFFECT_TYPE*/ FLUSH )
324
									{
325
										set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
326
										wait ( 750.000 );
327
										remove ( "self" );
328
									}
329
 
330
									wait ( 4000.000 );
331
 
332
									affect ( "grops", /*@AFFECT_TYPE*/ FLUSH )
333
									{
334
										set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "grops_look" );
335
 
336
										affect ( "display", /*@AFFECT_TYPE*/ FLUSH )
337
										{
338
											move ( $tag( "display2_cam", ORIGIN)$, 0.000 );
339
											rotate ( < 0.000 225.000 0.000 >, 0.000 );
340
										}
341
 
342
										camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "display2_cam", ORIGIN)$, 0 );
343
										camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 135.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
344
										wait ( 5000.000 );
345
 
346
										affect ( "guard9", /*@AFFECT_TYPE*/ FLUSH )
347
										{
348
											set ( /*@SET_TYPES*/ "SET_EVENT", /*@EVENT_NAMES*/ "EV_SCAV_TELEPORT" );
349
											wait ( 750.000 );
350
											remove ( "self" );
351
										}
352
 
353
										wait ( 5000.000 );
354
 
355
										affect ( "display", /*@AFFECT_TYPE*/ FLUSH )
356
										{
357
											move ( $tag( "display3_cam", ORIGIN)$, 0.000 );
358
											rotate ( < 0.000 0.000 0.000 >, 0.000 );
359
										}
360
 
361
										camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "bomb_cam5", ORIGIN)$, 0 );
362
										camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 1000 );
363
										camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 225.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
364
//$"walkTo"@2
365
										set ( "BSTATE", "BS_WALK" );
366
										set ( "NAVGOAL", "bomb_nav" );
367
 
368
										affect ( "Ling", /*@AFFECT_TYPE*/ FLUSH )
369
										{
370
//$"walkTo"@2
371
											set ( "BSTATE", "BS_WALK" );
372
											set ( "NAVGOAL", "ling_nav" );
373
											wait ( 3000.000 );
374
											set ( /*@SET_TYPES*/ "SET_AIM", 5 );
375
											set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_PHASER" );
376
											//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_ENEMY", "grops" );
377
											set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "true" );
378
											set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
379
											set ( /*@SET_TYPES*/ "SET_ENEMY", "grops" );
380
											wait ( 5000.000 );
381
											camera ( /*@CAMERA_COMMANDS*/ DISABLE );
382
 
383
											affect ( "Illia", /*@AFFECT_TYPE*/ FLUSH )
384
											{
385
//$"walkTo"@2
386
												set ( "BSTATE", "BS_WALK" );
387
												set ( "NAVGOAL", "illia_nav2" );
388
												wait ( 2500.000 );
389
												set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_CONSOLE1" );
390
												set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
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
affect ( "klingon_background1", /*@AFFECT_TYPE*/ FLUSH )
417
{
418
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
419
}
420
 
421
 
422
affect ( "klingon_background2", /*@AFFECT_TYPE*/ FLUSH )
423
{
424
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
425
}
426
 
427
 
428
affect ( "klingon_background3", /*@AFFECT_TYPE*/ FLUSH )
429
{
430
	set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_STAND_AND_SHOOT" );
431
}
432
 
433
 
434
loop ( -1 )
435
{
436
	use ( "chunks" );
437
	wait ( $random( 1500, 2000 )$ );
438
	use ( "bolts" );
439
	use ( "bolts2" );
440
	wait ( 500.000 );
441
	use ( "chunks" );
442
	wait ( $random( 1500, 2000 )$ );
443
	use ( "bolts2" );
444
	wait ( 500.000 );
445
	use ( "bolts" );
446
	wait ( $random( 1500, 3000 )$ );
447
	camera ( /*@CAMERA_COMMANDS*/ SHAKE, 0.500, 750 );
448
}
449
 
450
wait ( 5000.000 );
451
 
452
affect ( "lift", /*@AFFECT_TYPE*/ FLUSH )
453
{
454
	move ( $tag( "lift_down", ORIGIN)$, 5000.000 );
455
	wait ( 6000.000 );
456
	move ( $tag( "lift_middle", ORIGIN)$, 4000.000 );
457
	wait ( 3500.000 );
458
	use ( "bolt3" );
459
	wait ( 10000.000 );
460
	move ( $tag( "lift_up", ORIGIN)$, 2000.000 );
461
}
462