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
use ( "activate_trigger" );
5
 
6
affect ( "norton", /*@AFFECT_TYPE*/ FLUSH )
7
{
8
	set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
9
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
10
	set ( /*@SET_TYPES*/ "SET_INVINCIBLE", /*@BOOL_TYPES*/ "true" );
11
	set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "fight" );
12
}
13
 
14
 
15
affect ( "klingon", /*@AFFECT_TYPE*/ FLUSH )
16
{
17
	set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
18
	set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
19
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
20
	set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "fight" );
21
}
22
 
23
 
24
affect ( "klingon1", /*@AFFECT_TYPE*/ FLUSH )
25
{
26
	set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
27
	set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
28
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
29
}
30
 
31
 
32
affect ( "klingon2", /*@AFFECT_TYPE*/ FLUSH )
33
{
34
	set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );
35
	set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
36
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
37
}
38
 
39
 
40
affect ( "bot1", /*@AFFECT_TYPE*/ FLUSH )
41
{
42
	set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
43
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
44
}
45
 
46
 
47
affect ( "bot2", /*@AFFECT_TYPE*/ FLUSH )
48
{
49
	set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
50
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
51
}
52
 
53
 
54
affect ( "bot3", /*@AFFECT_TYPE*/ FLUSH )
55
{
56
	set ( /*@SET_TYPES*/ "SET_SOLID", /*@BOOL_TYPES*/ "true" );
57
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
58
}
59
 
60
 
61
affect ( "munro_cin1", /*@AFFECT_TYPE*/ FLUSH )
62
{
63
	set ( /*@SET_TYPES*/ "SET_CAMERA_GROUP", "munro_cin1" );
64
	set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
65
	camera ( /*@CAMERA_COMMANDS*/ ENABLE );
66
	camera ( /*@CAMERA_COMMANDS*/ TRACK, "track", 6.000, 0 );
67
	camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "munro_cin1", 0.000, 0 );
68
 
69
	task ( "walk" )
70
	{
71
//$"walkTo"@2
72
		set ( "BSTATE", "BS_WALK" );
73
		set ( "NAVGOAL", "witness_nav1" );
74
	}
75
 
76
	dowait ( "walk" );
77
 
78
	task ( "Illia0" )
79
	{
80
		sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Illia/goingon.wav" );
81
	}
82
 
83
	dowait ( "Illia0" );
84
	//(BHVDREM)  wait ( 3000.000 );
85
	camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "track_cam2", ORIGIN)$, 0 );
86
	camera ( /*@CAMERA_COMMANDS*/ PAN, < 10.000 15.000 0.000 >, < 0.000 0.000 0.000 >, 2000 );
87
	wait ( 3000.000 );
88
	camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "fight_cam1", ORIGIN)$, 0 );
89
	camera ( /*@CAMERA_COMMANDS*/ FOLLOW, "fight", 0.000, 0 );
90
	wait ( 1000.000 );
91
 
92
	affect ( "Klingon", /*@AFFECT_TYPE*/ FLUSH )
93
	{
94
 
95
		task ( "Klingon1" )
96
		{
97
			sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Klingon/send.wav" );
98
		}
99
 
100
		dowait ( "Klingon1" );
101
 
102
		task ( "Klingon2" )
103
		{
104
			sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Klingon/bring.wav" );
105
		}
106
 
107
		dowait ( "Klingon2" );
108
 
109
		affect ( "Norton", /*@AFFECT_TYPE*/ FLUSH )
110
		{
111
 
112
			task ( "Norton3" )
113
			{
114
				sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Norton/hours.wav" );
115
			}
116
 
117
			dowait ( "Norton3" );
118
 
119
			affect ( "Klingon", /*@AFFECT_TYPE*/ FLUSH )
120
			{
121
 
122
				task ( "Klingon4" )
123
				{
124
					sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Klingon/delays.wav" );
125
				}
126
 
127
				dowait ( "Klingon4" );
128
 
129
				affect ( "Norton", /*@AFFECT_TYPE*/ FLUSH )
130
				{
131
 
132
					task ( "Norton5" )
133
					{
134
						sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Norton/choice.wav" );
135
					}
136
 
137
					dowait ( "Norton5" );
138
 
139
					task ( "Norton6" )
140
					{
141
						sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-3_8/Norton/secondary.wav" );
142
					}
143
 
144
					dowait ( "Norton6" );
145
 
146
					affect ( "bot1", /*@AFFECT_TYPE*/ FLUSH )
147
					{
148
						set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
149
						set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon" );
150
					}
151
 
152
					wait ( 200.000 );
153
 
154
					affect ( "bot2", /*@AFFECT_TYPE*/ FLUSH )
155
					{
156
						set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
157
						set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon1" );
158
					}
159
 
160
					wait ( 200.000 );
161
 
162
					affect ( "bot3", /*@AFFECT_TYPE*/ FLUSH )
163
					{
164
						set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
165
						set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon2" );
166
					}
167
 
168
					wait ( 500.000 );
169
					set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_PHASER" );
170
					set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
171
					set ( /*@SET_TYPES*/ "SET_ENEMY", "klingon2" );
172
					wait ( 500.000 );
173
 
174
					affect ( "klingon", /*@AFFECT_TYPE*/ FLUSH )
175
					{
176
						set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
177
						set ( /*@SET_TYPES*/ "SET_ENEMY", "bot1" );
178
					}
179
 
180
 
181
					affect ( "klingon1", /*@AFFECT_TYPE*/ FLUSH )
182
					{
183
						set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
184
						set ( /*@SET_TYPES*/ "SET_ENEMY", "bot2" );
185
					}
186
 
187
 
188
					affect ( "klingon2", /*@AFFECT_TYPE*/ FLUSH )
189
					{
190
						set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
191
						set ( /*@SET_TYPES*/ "SET_ENEMY", "bot3" );
192
					}
193
 
194
					wait ( 4000.000 );
195
					camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 1.000, 500 );
196
					wait ( 500.000 );
197
 
198
					affect ( "munro_cin1", /*@AFFECT_TYPE*/ FLUSH )
199
					{
200
						set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );
201
 
202
						affect ( "munro", /*@AFFECT_TYPE*/ FLUSH )
203
						{
204
							set ( /*@SET_TYPES*/ "SET_ORIGIN", $tag( "player_dest", ORIGIN)$ );
205
						}
206
 
207
						camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 500 );
208
						camera ( /*@CAMERA_COMMANDS*/ DISABLE );
209
					}
210
 
211
				}
212
 
213
			}
214
 
215
		}
216
 
217
	}
218
 
219
}
220