-3 Removals
+5 Additions
1(global string data_mine_mission_segment "")1(global string data_mine_mission_segment "")
2(global short seconds 30)2(global short seconds 30)
3(global short global_random 0)3(global short global_random 0)
4(global short global_random_rumble 0)4(global short global_random_rumble 0)
5(global short global_random_bridge 0)5(global short global_random_bridge 0)
6(global short delay_prompt_blink (* 2 seconds))6(global short delay_prompt_blink (* 2 seconds))
7(global short delay_prompt_short (* 8 seconds))7(global short delay_prompt_short (* 8 seconds))
8(global short delay_prompt_medium (* 16 seconds))8(global short delay_prompt_medium (* 16 seconds))
9(global short delay_prompt_long (* 36 seconds))9(global short delay_prompt_long (* 36 seconds))
10(global short delay_prompt_drag (* 48 seconds))10(global short delay_prompt_drag (* 48 seconds))
11(global short delay_prompt_final (* 60 seconds))11(global short delay_prompt_final (* 60 seconds))
12(global bool mark_bsp0 False)12(global bool mark_bsp0 False)
13(global bool mark_bsp1 False)13(global bool mark_bsp1 False)
14(global bool mark_bsp2 False)14(global bool mark_bsp2 False)
15(global bool mark_bsp3 False)15(global bool mark_bsp3 False)
16(global bool mark_bsp4 False)16(global bool mark_bsp4 False)
17(global bool mark_bsp5 False)17(global bool mark_bsp5 False)
18(global short counter_mindread_normal_success 0)18(global short counter_mindread_normal_success 0)
19(global short counter_mindread_invert_success 0)19(global short counter_mindread_invert_success 0)
20(global short counter_training_pitch_choose 0)20(global short counter_training_pitch_choose 0)
21(global short counter_prompt_looker_start 0)21(global short counter_prompt_looker_start 0)
22(global short counter_prompt_looker 0)22(global short counter_prompt_looker 0)
23(global short counter_prompt_start_spot 0)23(global short counter_prompt_start_spot 0)
24(global short counter_prompt_careful 0)24(global short counter_prompt_careful 0)
25(global short counter_prompt_zapper_lookatme 0)25(global short counter_prompt_zapper_lookatme 0)
26(global short counter_prompt_zapper_getin 0)26(global short counter_prompt_zapper_getin 0)
27(global short counter_prompt_zapper_button 0)27(global short counter_prompt_zapper_button 0)
28(global short counter_prompt_elevator_plr 0)28(global short counter_prompt_elevator_plr 0)
29(global bool mark_looker_light_left False)29(global bool mark_looker_light_left False)
30(global bool mark_looker_light_right False)30(global bool mark_looker_light_right False)
31(global bool mark_looker_light_top False)31(global bool mark_looker_light_top False)
32(global bool mark_looker_light_bottom False)32(global bool mark_looker_light_bottom False)
33(global bool mark_training_free False)33(global bool mark_training_free False)
34(global bool mark_training_done False)34(global bool mark_training_done False)
35(global short timer_training_pitch_choose 0)35(global short timer_training_pitch_choose 0)
36(global short timer_prompt_looker_start 0)36(global short timer_prompt_looker_start 0)
37(global short timer_prompt_looker 0)37(global short timer_prompt_looker 0)
38(global short timer_prompt_start_spot 0)38(global short timer_prompt_start_spot 0)
39(global short timer_prompt_careful 0)39(global short timer_prompt_careful 0)
40(global short timer_prompt_zapper 0)40(global short timer_prompt_zapper 0)
41(global short timer_prompt_zapper_lookatme 0)41(global short timer_prompt_zapper_lookatme 0)
42(global short timer_prompt_zapper_getin 0)42(global short timer_prompt_zapper_getin 0)
43(global short timer_prompt_zapper_button 0)43(global short timer_prompt_zapper_button 0)
44(global short timer_prompt_elevator_plr 0)44(global short timer_prompt_elevator_plr 0)
45(global bool mark_ice_cream False)45(global bool mark_ice_cream False)
4646
4747
48(script static player0 48(script static player0
49 (begin 49 (begin
50 (unit (list_get (players) 0))50 (unit (list_get (players) 0))
51 )51 )
52)52)
5353
54(script static player1 54(script static player1
55 (begin 55 (begin
56 (unit (list_get (players) 1))56 (unit (list_get (players) 1))
57 )57 )
58)58)
5959
60(script static player_count 60(script static player_count
61 (begin 61 (begin
62 (list_count (players))62 (list_count (players))
63 )63 )
64)64)
6565
66(script static end_segment 66(script static end_segment
67 (begin 67 (begin
68 (camera_control True) 68 (camera_control True)
69 (cinematic_start) 69 (cinematic_start)
70 (fade_out 0 0 0 15) 70 (fade_out 0 0 0 15)
71 (sleep 30) 71 (sleep 30)
72 (print "end gameplay segment! thank you for playing!") 72 (print "end gameplay segment! thank you for playing!")
73 (sleep 15) 73 (sleep 15)
74 (print "grab jaime or paul to give feedback!") 74 (print "grab jaime or paul to give feedback!")
75 (player_action_test_reset) 75 (player_action_test_reset)
76 (sleep 15) 76 (sleep 15)
77 (print "press the “a” button to reset!") 77 (print "press the “a” button to reset!")
78 (sleep_until (player_action_test_accept)) 78 (sleep_until (player_action_test_accept))
79 (print "reloading map...") 79 (print "reloading map...")
80 (sleep 15) 80 (sleep 15)
81 (map_reset)81 (map_reset)
82 )82 )
83)83)
8484
85(script static difficulty_legendary 85(script static difficulty_legendary
86 (begin 86 (begin
87 (= (game_difficulty_get) legendary)87 (= (game_difficulty_get) legendary)
88 )88 )
89)89)
9090
91(script static difficulty_heroic 91(script static difficulty_heroic
92 (begin 92 (begin
93 (= (game_difficulty_get) heroic)93 (= (game_difficulty_get) heroic)
94 )94 )
95)95)
9696
97(script static difficulty_normal 97(script static difficulty_normal
98 (begin 98 (begin
99 (= (game_difficulty_get) normal)99 (= (game_difficulty_get) normal)
100 )100 )
101)101)
102102
103(script static cinematic_skip_start 103(script static cinematic_skip_start
104 (begin 104 (begin
105 (cinematic_skip_start_internal) 105 (cinematic_skip_start_internal)
106 (game_save_cinematic_skip) 106 (game_save_cinematic_skip)
107 (sleep_until (not (game_saving)) 1) (not (game_reverted))107 (sleep_until (not (game_saving)) 1) (not (game_reverted))
108 )108 )
109)109)
110110
111(script static cinematic_skip_stop 111(script static cinematic_skip_stop
112 (begin 112 (begin
113 (cinematic_skip_stop_internal) 113 (cinematic_skip_stop_internal)
114 (if (not (game_reverted)) 114 (if (not (game_reverted))
115 (game_revert))115 (game_revert))
116 )116 )
117)117)
118118
119(script static cinematic_fade_to_white 119(script static cinematic_fade_to_white
120 (begin 120 (begin
121 (player_enable_input False) 121 (player_enable_input False)
122 (player_camera_control False) 122 (player_camera_control False)
123 (fade_out 1 1 1 15) 123 (fade_out 1 1 1 15)
124 (sleep 15) 124 (sleep 15)
125 (hud_cinematic_fade 0 0.5) 125 (hud_cinematic_fade 0 0.5)
126 (cinematic_start) 126 (cinematic_start)
127 (camera_control True)127 (camera_control True)
128 )128 )
129)129)
130130
131(script static cinematic_fade_from_white 131(script static cinematic_fade_from_white
132 (begin 132 (begin
133 (hud_cinematic_fade 1 0.5) 133 (hud_cinematic_fade 1 0.5)
134 (cinematic_stop) 134 (cinematic_stop)
135 (camera_control False) 135 (camera_control False)
136 (fade_in 1 1 1 15) 136 (fade_in 1 1 1 15)
137 (sleep 15) 137 (sleep 15)
138 (player_enable_input True) 138 (player_enable_input True)
139 (player_camera_control True)139 (player_camera_control True)
140 )140 )
141)141)
142142
143(script static cinematic_fade_from_white_bars 143(script static cinematic_fade_from_white_bars
144 (begin 144 (begin
145 (cinematic_stop) 145 (cinematic_stop)
146 (cinematic_show_letterbox_immediate True) 146 (cinematic_show_letterbox_immediate True)
147 (camera_control False) 147 (camera_control False)
148 (fade_in 1 1 1 15) 148 (fade_in 1 1 1 15)
149 (sleep 15) 149 (sleep 15)
150 (player_enable_input True) 150 (player_enable_input True)
151 (player_camera_control True)151 (player_camera_control True)
152 )152 )
153)153)
154154
155(script static cinematic_fade_from_black_bars 155(script static cinematic_fade_from_black_bars
156 (begin 156 (begin
157 (cinematic_stop) 157 (cinematic_stop)
158 (cinematic_show_letterbox_immediate True) 158 (cinematic_show_letterbox_immediate True)
159 (camera_control False) 159 (camera_control False)
160 (fade_in 0 0 0 15) 160 (fade_in 0 0 0 15)
161 (sleep 15) 161 (sleep 15)
162 (player_enable_input True) 162 (player_enable_input True)
163 (player_camera_control True)163 (player_camera_control True)
164 )164 )
165)165)
166166
167(script static cinematic_fade_to_black 167(script static cinematic_fade_to_black
168 (begin 168 (begin
169 (player_enable_input False) 169 (player_enable_input False)
170 (player_camera_control False) 170 (player_camera_control False)
171 (fade_out 0 0 0 15) 171 (fade_out 0 0 0 15)
172 (sleep 15) 172 (sleep 15)
173 (hud_cinematic_fade 0 0.5) 173 (hud_cinematic_fade 0 0.5)
174 (cinematic_start) 174 (cinematic_start)
175 (camera_control True)175 (camera_control True)
176 )176 )
177)177)
178178
179(script static cinematic_fade_from_black 179(script static cinematic_fade_from_black
180 (begin 180 (begin
181 (hud_cinematic_fade 1 0.5) 181 (hud_cinematic_fade 1 0.5)
182 (cinematic_stop) 182 (cinematic_stop)
183 (camera_control False) 183 (camera_control False)
184 (fade_in 0 0 0 15) 184 (fade_in 0 0 0 15)
185 (sleep 15) 185 (sleep 15)
186 (player_enable_input True) 186 (player_enable_input True)
187 (player_camera_control True)187 (player_camera_control True)
188 )188 )
189)189)
190190
191(script static cinematic_snap_to_black 191(script static cinematic_snap_to_black
192 (begin 192 (begin
193 (player_enable_input False) 193 (player_enable_input False)
194 (player_camera_control False) 194 (player_camera_control False)
195 (fade_out 0 0 0 0) 195 (fade_out 0 0 0 0)
196 (hud_cinematic_fade 0 0) 196 (hud_cinematic_fade 0 0)
197 (cinematic_start) 197 (cinematic_start)
198 (cinematic_show_letterbox_immediate True) 198 (cinematic_show_letterbox_immediate True)
199 (camera_control True)199 (camera_control True)
200 )200 )
201)201)
202202
203(script static cinematic_snap_to_white 203(script static cinematic_snap_to_white
204 (begin 204 (begin
205 (player_enable_input False) 205 (player_enable_input False)
206 (player_camera_control False) 206 (player_camera_control False)
207 (fade_out 1 1 1 0) 207 (fade_out 1 1 1 0)
208 (hud_cinematic_fade 0 0) 208 (hud_cinematic_fade 0 0)
209 (cinematic_start) 209 (cinematic_start)
210 (cinematic_show_letterbox_immediate True) 210 (cinematic_show_letterbox_immediate True)
211 (camera_control True)211 (camera_control True)
212 )212 )
213)213)
214214
215(script static cinematic_stash_players 215(script static cinematic_stash_players
216 (begin 216 (begin
217 (object_hide 217 (object_hide
218 (player0)218 (player0)
219 True) 219 True)
220 (object_hide 220 (object_hide
221 (player1)221 (player1)
222 True) 222 True)
223 (object_cannot_take_damage (players))223 (object_cannot_take_damage (players))
224 )224 )
225)225)
226226
227(script static cinematic_unstash_players 227(script static cinematic_unstash_players
228 (begin 228 (begin
229 (object_hide 229 (object_hide
230 (player0)230 (player0)
231 False) 231 False)
232 (object_hide 232 (object_hide
233 (player1)233 (player1)
234 False) 234 False)
235 (object_can_take_damage (players))235 (object_can_take_damage (players))
236 )236 )
237)237)
238238
239(script dormant _stealth_toggle_monitor 239(script dormant _stealth_toggle_monitor
240 (begin 240 (begin
241 (sleep_until 241 (sleep_until
242 (begin 242 (begin
243 (sleep_until (if (and (>= (unit_get_shield 243 (sleep_until (if (and (>= (unit_get_shield
244 (player0)244 (player0)
245 ) 1) (player_action_test_vision_trigger)) (= 1 1) 245 ) 1) (player_action_test_vision_trigger)) (= 1 1)
246 (begin 246 (begin
247 (player_action_test_reset) (= 1 0)247 (player_action_test_reset) (= 1 0)
248 )) 1) 248 )) 1)
249 (cheat_active_camouflage_by_player 0 True) 249 (cheat_active_camouflage_by_player 0 True)
250 (print "stealth engaged") 250 (print "stealth engaged")
251 (unit_set_maximum_vitality 251 (unit_set_maximum_vitality
252 (player0)252 (player0)
253 50 0) 253 50 0)
254 (unit_set_current_vitality 254 (unit_set_current_vitality
255 (player0)255 (player0)
256 50 0) 256 50 0)
257 (object_set_shield 257 (object_set_shield
258 (player0)258 (player0)
259 0) 259 0)
260 (sleep 30) 260 (sleep 30)
261 (player_action_test_reset) 261 (player_action_test_reset)
262 (sleep_until (or (< (object_get_health 262 (sleep_until (or (< (object_get_health
263 (player0)263 (player0)
264 ) 1) (player_action_test_vision_trigger)) 1) 264 ) 1) (player_action_test_vision_trigger)) 1)
265 (cheat_active_camouflage_by_player 0 False) 265 (cheat_active_camouflage_by_player 0 False)
266 (print "stealth disengaged") 266 (print "stealth disengaged")
267 (unit_set_maximum_vitality 267 (unit_set_maximum_vitality
268 (player0)268 (player0)
269 30 70) 269 30 70)
270 (object_set_shield 270 (object_set_shield
271 (player0)271 (player0)
272 0) 272 0)
273 (sleep 30) 273 (sleep 30)
274 (player_action_test_reset) False)274 (player_action_test_reset) False)
275 1)275 1)
276 )276 )
277)277)
278278
279(script dormant _stealth_timer_monitor 279(script dormant _stealth_timer_monitor
280 (begin 280 (begin
281 (sleep_until 281 (sleep_until
282 (begin 282 (begin
283 (sleep_until (if (player_action_test_vision_trigger) (= 1 1) 283 (sleep_until (if (player_action_test_vision_trigger) (= 1 1)
284 (begin 284 (begin
285 (player_action_test_reset) (= 1 0)285 (player_action_test_reset) (= 1 0)
286 )) 1) 286 )) 1)
287 (cheat_active_camouflage_by_player 0 True) 287 (cheat_active_camouflage_by_player 0 True)
288 (print "stealth engaged") 288 (print "stealth engaged")
289 (sleep 15) 289 (sleep 15)
290 (player_action_test_reset) 290 (player_action_test_reset)
291 (sleep_until (or (player_action_test_vision_trigger) (player_action_test_primary_trigger) (player_action_test_grenade_trigger) (player_action_test_melee)) 1 (* 9 30)) 291 (sleep_until (or (player_action_test_vision_trigger) (player_action_test_primary_trigger) (player_action_test_grenade_trigger) (player_action_test_melee)) 1 (* 9 30))
292 (cheat_active_camouflage_by_player 0 False) 292 (cheat_active_camouflage_by_player 0 False)
293 (print "stealth disengaged") 293 (print "stealth disengaged")
294 (sleep 30) 294 (sleep 30)
295 (player_action_test_reset) 295 (player_action_test_reset)
296 (sleep_until 296 (sleep_until
297 (begin 297 (begin
298 (print "+") False)298 (print "+") False)
299 30 (* 5 30)) False)299 30 (* 5 30)) False)
300 1)300 1)
301 )301 )
302)302)
303303
304(script static activate_stealth_toggle_monitor 304(script static activate_stealth_toggle_monitor
305 (begin 305 (begin
306 (sleep 1)306 (sleep 1)
307 )307 )
308)308)
309309
310(script static activate_stealth_timer_monitor 310(script static activate_stealth_timer_monitor
311 (begin 311 (begin
312 (sleep 1)312 (sleep 1)
313 )313 )
314)314)
315315
316(script static playtest_mission 316(script static playtest_mission
317 (begin 317 (begin
318 (if (game_is_playtest) 318 (if (game_is_playtest)
319 (begin 319 (begin
320 (sleep 30) 320 (sleep 30)
321 (hud_set_training_text playtest_raisehand) 321 (hud_set_training_text playtest_raisehand)
322 (hud_show_training_text True) 322 (hud_show_training_text True)
323 (player_action_test_reset) 323 (player_action_test_reset)
324 (sleep_until (player_action_test_accept) 1) 324 (sleep_until (player_action_test_accept) 1)
325 (hud_show_training_text False) 325 (hud_show_training_text False)
326 (sleep 30)326 (sleep 30)
327 ))327 ))
328 )328 )
329)329)
330330
331(script static save_look_start 331(script static save_look_start
332 (begin 332 (begin
333 (if (game_safe_to_save) 333 (if (game_safe_to_save)
334 (data_mine_set_mission_segment "01a_look_start"))334 (data_mine_set_mission_segment "01a_look_start"))
335 )335 )
336)336)
337337
338(script static save_move_start 338(script static save_move_start
339 (begin 339 (begin
340 (game_save) 340 (game_save)
341 (if (game_safe_to_save) 341 (if (game_safe_to_save)
342 (data_mine_set_mission_segment "01a_move_start"))342 (data_mine_set_mission_segment "01a_move_start"))
343 )343 )
344)344)
345345
346(script static save_shield_start 346(script static save_shield_start
347 (begin 347 (begin
348 (game_save) 348 (game_save)
349 (if (game_safe_to_save) 349 (if (game_safe_to_save)
350 (data_mine_set_mission_segment "01a_shield_start"))350 (data_mine_set_mission_segment "01a_shield_start"))
351 )351 )
352)352)
353353
354(script static save_tram_start 354(script static save_tram_start
355 (begin 355 (begin
356 (game_save) 356 (game_save)
357 (if (game_safe_to_save) 357 (if (game_safe_to_save)
358 (data_mine_set_mission_segment "01a_tram_start"))358 (data_mine_set_mission_segment "01a_tram_start"))
359 )359 )
360)360)
361361
362(script command cs_lookat_player 362(script command cs_lookat_player
363 (begin 363 (begin
364 (cs_face_player True) 364 (cs_face_player True)
365 (sleep_forever)365 (sleep_forever)
366 )366 )
367)367)
368368
369(script command cs_lookat_guns 369(script command cs_lookat_guns
370 (begin 370 (begin
371 (cs_face_object True (ai_get_object guns)) 371 (cs_face_object True (ai_get_object guns))
372 (sleep_forever)372 (sleep_forever)
373 )373 )
374)374)
375375
376(script command cs_johnson_glanceat_guns 376(script command cs_johnson_glanceat_guns
377 (begin 377 (begin
378 (cs_enable_looking True) 378 (cs_enable_looking True)
379 (cs_look_object True (ai_get_object guns)) 379 (cs_look_object True (ai_get_object guns))
380 (sleep_forever)380 (sleep_forever)
381 )381 )
382)382)
383383
384(script command cs_lookat_johnson 384(script command cs_lookat_johnson
385 (begin 385 (begin
386 (cs_face_object True (ai_get_object johnson)) 386 (cs_face_object True (ai_get_object johnson))
387 (sleep_forever)387 (sleep_forever)
388 )388 )
389)389)
390390
391(script command cs_lookat_console_zapper 391(script command cs_lookat_console_zapper
392 (begin 392 (begin
393 (cs_look True guns_points/console_zapper) 393 (cs_look True guns_points/console_zapper)
394 (sleep 45) 394 (sleep 45)
395 (cs_face_player True) 395 (cs_face_player True)
396 (sleep_forever)396 (sleep_forever)
397 )397 )
398)398)
399399
400(script command cs_lookat_console_toplight 400(script command cs_lookat_console_toplight
401 (begin 401 (begin
402 (cs_aim_object True looker_light_top_red) 402 (cs_aim_object True looker_light_top_red)
403 (sleep 45) 403 (sleep 45)
404 (cs_face True guns_points/console_inhibitor) 404 (cs_face True guns_points/console_inhibitor)
405 (sleep 30) 405 (sleep 30)
406 (cs_face_player True) 406 (cs_face_player True)
407 (sleep_forever)407 (sleep_forever)
408 )408 )
409)409)
410410
411(script command cs_lookat_console_bottomlight 411(script command cs_lookat_console_bottomlight
412 (begin 412 (begin
413 (cs_aim_object True looker_light_bottom_red) 413 (cs_aim_object True looker_light_bottom_red)
414 (sleep 45) 414 (sleep 45)
415 (cs_face True guns_points/console_inhibitor) 415 (cs_face True guns_points/console_inhibitor)
416 (sleep 30) 416 (sleep 30)
417 (cs_face_player True) 417 (cs_face_player True)
418 (sleep_forever)418 (sleep_forever)
419 )419 )
420)420)
421421
422(script command cs_lookat_console_inhibitor 422(script command cs_lookat_console_inhibitor
423 (begin 423 (begin
424 (cs_face True guns_points/console_inhibitor) 424 (cs_face True guns_points/console_inhibitor)
425 (sleep 30) 425 (sleep 30)
426 (cs_face_player True) 426 (cs_face_player True)
427 (sleep_forever)427 (sleep_forever)
428 )428 )
429)429)
430430
431(script command cs_guns_start 431(script command cs_guns_start
432 (begin 432 (begin
433 (cs_force_combat_status 2) 433 (cs_force_combat_status 2)
434 (cs_enable_moving False) 434 (cs_enable_moving False)
435 (cs_enable_pathfinding_failsafe True) 435 (cs_enable_pathfinding_failsafe True)
436 (cs_go_to guns_points/start) 436 (cs_go_to guns_points/start)
437 (cs_face_player True) 437 (cs_face_player True)
438 (sleep_forever)438 (sleep_forever)
439 )439 )
440)440)
441441
442(script command cs_guns_zapper_halfway 442(script command cs_guns_zapper_halfway
443 (begin 443 (begin
444 (cs_force_combat_status 2) 444 (cs_force_combat_status 2)
445 (cs_enable_moving False) 445 (cs_enable_moving False)
446 (cs_enable_pathfinding_failsafe True) 446 (cs_enable_pathfinding_failsafe True)
447 (cs_go_to guns_points/zapper_halfway) 447 (cs_go_to guns_points/zapper_halfway)
448 (cs_face_player True) 448 (cs_face_player True)
449 (sleep_forever)449 (sleep_forever)
450 )450 )
451)451)
452452
453(script command cs_guns_zapper_wait 453(script command cs_guns_zapper_wait
454 (begin 454 (begin
455 (cs_force_combat_status 2) 455 (cs_force_combat_status 2)
456 (cs_enable_moving False) 456 (cs_enable_moving False)
457 (cs_enable_pathfinding_failsafe True) 457 (cs_enable_pathfinding_failsafe True)
458 (cs_go_to guns_points/zapper) 458 (cs_go_to guns_points/zapper)
459 (cs_face_player True) 459 (cs_face_player True)
460 (sleep_forever)460 (sleep_forever)
461 )461 )
462)462)
463463
464(script command cs_guns_zapper 464(script command cs_guns_zapper
465 (begin 465 (begin
466 (cs_force_combat_status 2) 466 (cs_force_combat_status 2)
467 (cs_enable_moving False) 467 (cs_enable_moving False)
468 (cs_enable_pathfinding_failsafe True) 468 (cs_enable_pathfinding_failsafe True)
469 (cs_go_to_and_face guns_points/zapper guns_points/zapper_face) 469 (cs_go_to_and_face guns_points/zapper guns_points/zapper_face)
470 (cs_face True guns_points/zapper_face) 470 (cs_face True guns_points/zapper_face)
471 (sleep_forever)471 (sleep_forever)
472 )472 )
473)473)
474474
475(script command cs_guns_zapper_prompt 475(script command cs_guns_zapper_prompt
476 (begin 476 (begin
477 (cs_force_combat_status 2) 477 (cs_force_combat_status 2)
478 (cs_enable_moving False) 478 (cs_enable_moving False)
479 (cs_enable_pathfinding_failsafe True) 479 (cs_enable_pathfinding_failsafe True)
480 (cs_face_player True) 480 (cs_face_player True)
481 (sleep 90) 481 (sleep 90)
482 (cs_face_player False) 482 (cs_face_player False)
483 (cs_go_to_and_face guns_points/zapper guns_points/zapper_face) 483 (cs_go_to_and_face guns_points/zapper guns_points/zapper_face)
484 (cs_face True guns_points/zapper_face) 484 (cs_face True guns_points/zapper_face)
485 (sleep_forever)485 (sleep_forever)
486 )486 )
487)487)
488488
489(script command cs_johnson_start 489(script command cs_johnson_start
490 (begin 490 (begin
491 (cs_force_combat_status 2) 491 (cs_force_combat_status 2)
492 (cs_enable_moving False) 492 (cs_enable_moving False)
493 (cs_enable_pathfinding_failsafe True) 493 (cs_enable_pathfinding_failsafe True)
494 (cs_go_to johnson_points/start) 494 (cs_go_to johnson_points/start)
495 (cs_face_player True) 495 (cs_face_player True)
496 (sleep_forever)496 (sleep_forever)
497 )497 )
498)498)
499499
500(script command cs_johnson_elevator 500(script command cs_johnson_elevator
501 (begin 501 (begin
502 (cs_force_combat_status 2) 502 (cs_force_combat_status 2)
503 (cs_enable_moving False) 503 (cs_enable_moving False)
504 (cs_enable_pathfinding_failsafe True) 504 (cs_enable_pathfinding_failsafe True)
505 (cs_go_to johnson_points/elevator) 505 (cs_go_to johnson_points/elevator)
506 (cs_face_player True) 506 (cs_face_player True)
507 (sleep_forever)507 (sleep_forever)
508 )508 )
509)509)
510510
511(script command cs_johnson_elevator_face_guns 511(script command cs_johnson_elevator_face_guns
512 (begin 512 (begin
513 (cs_force_combat_status 2) 513 (cs_force_combat_status 2)
514 (cs_enable_moving False) 514 (cs_enable_moving False)
515 (cs_enable_pathfinding_failsafe True) 515 (cs_enable_pathfinding_failsafe True)
516 (cs_go_to johnson_points/elevator) 516 (cs_go_to johnson_points/elevator)
517 (cs_face_object True (ai_get_object guns)) 517 (cs_face_object True (ai_get_object guns))
518 (sleep_forever)518 (sleep_forever)
519 )519 )
520)520)
521521
522(script command cs_guns_elevator 522(script command cs_guns_elevator
523 (begin 523 (begin
524 (cs_force_combat_status 2) 524 (cs_force_combat_status 2)
525 (cs_enable_moving False) 525 (cs_enable_moving False)
526 (cs_enable_pathfinding_failsafe True) 526 (cs_enable_pathfinding_failsafe True)
527 (cs_go_to guns_points/elevator) 527 (cs_go_to guns_points/elevator)
528 (cs_face_player True) 528 (cs_face_player True)
529 (sleep_forever)529 (sleep_forever)
530 )530 )
531)531)
532532
533(script command cs_johnson_tram 533(script command cs_johnson_tram
534 (begin 534 (begin
535 (cs_force_combat_status 2) 535 (cs_force_combat_status 2)
536 (cs_enable_moving False) 536 (cs_enable_moving False)
537 (cs_enable_pathfinding_failsafe True) 537 (cs_enable_pathfinding_failsafe True)
538 (cs_go_to_and_face johnson_points/tram johnson_points/earth) 538 (cs_go_to_and_face johnson_points/tram johnson_points/earth)
539 (cs_face True johnson_points/earth) 539 (cs_face True johnson_points/earth)
540 (sleep_forever)540 (sleep_forever)
541 )541 )
542)542)
543543
544(script command cs_lookat_macgun 544(script command cs_lookat_macgun
545 (begin 545 (begin
546 (cs_force_combat_status 2) 546 (cs_force_combat_status 2)
547 (cs_enable_moving False) 547 (cs_enable_moving False)
548 (cs_enable_pathfinding_failsafe True) 548 (cs_enable_pathfinding_failsafe True)
549 (cs_ignore_obstacles True) 549 (cs_ignore_obstacles True)
550 (cs_go_to_and_face johnson_points/tram_2 johnson_points/macgun) 550 (cs_go_to_and_face johnson_points/tram_2 johnson_points/macgun)
551 (cs_face True johnson_points/macgun) 551 (cs_face True johnson_points/macgun)
552 (sleep_forever)552 (sleep_forever)
553 )553 )
554)554)
555555
556(script command cs_lookat_malta 556(script command cs_lookat_malta
557 (begin 557 (begin
558 (cs_face True johnson_points/malta) 558 (cs_face True johnson_points/malta)
559 (sleep_forever)559 (sleep_forever)
560 )560 )
561)561)
562562
563(script command cs_lookat_fleet 563(script command cs_lookat_fleet
564 (begin 564 (begin
565 (cs_face_object True inamberclad) 565 (cs_face_object True inamberclad)
566 (cs_look_object True inamberclad) 566 (cs_look_object True inamberclad)
567 (sleep_forever)567 (sleep_forever)
568 )568 )
569)569)
570570
571(script command cs_johnson_lookat_station 571(script command cs_johnson_lookat_station
572 (begin 572 (begin
573 (cs_face True johnson_points/station) 573 (cs_face True johnson_points/station)
574 (sleep_forever)574 (sleep_forever)
575 )575 )
576)576)
577577
578(script command cs_johnson_station 578(script command cs_johnson_station
579 (begin 579 (begin
580 (cs_force_combat_status 2) 580 (cs_force_combat_status 2)
581 (cs_enable_moving False) 581 (cs_enable_moving False)
582 (cs_enable_pathfinding_failsafe True) 582 (cs_enable_pathfinding_failsafe True)
583 (cs_go_to johnson_points/station) 583 (cs_go_to johnson_points/station)
584 (cs_face_player True) 584 (cs_face_player True)
585 (sleep_forever)585 (sleep_forever)
586 )586 )
587)587)
588588
589(script static prompt_looker_start 589(script static prompt_looker_start
590 (begin 590 (begin
591 (if (= counter_prompt_looker_start 0) 591 (if (= counter_prompt_looker_start 0)
592 (begin 592 (begin
593 (begin 593 (begin
594 (print "go ahead and look at each of the four lights, chief.") 594 (print "go ahead and look at each of the four lights, chief.")
595 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3110_gun (ai_get_object guns) 1) 595 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3110_gun (ai_get_object guns) 1)
596 (set timer_prompt_looker 596 (set timer_prompt_looker
597 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3110_gun)) 597 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3110_gun))
598 (set timer_prompt_looker 598 (set timer_prompt_looker
599 (+ timer_prompt_looker delay_prompt_short))599 (+ timer_prompt_looker delay_prompt_short))
600 )600 )
601 ) 601 )
602 (if (= counter_prompt_looker_start 1) 602 (if (= counter_prompt_looker_start 1)
603 (begin 603 (begin
604 (begin 604 (begin
605 (print "go ahead and target them one more time.") 605 (print "go ahead and target them one more time.")
606 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1360_gun (ai_get_object guns) 1) 606 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1360_gun (ai_get_object guns) 1)
607 (set timer_prompt_looker 607 (set timer_prompt_looker
608 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1360_gun)) 608 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1360_gun))
609 (set timer_prompt_looker 609 (set timer_prompt_looker
610 (+ timer_prompt_looker delay_prompt_medium))610 (+ timer_prompt_looker delay_prompt_medium))
611 )611 )
612 ) 612 )
613 (if True 613 (if True
614 (begin 614 (begin
615 (set counter_prompt_looker_start 0)615 (set counter_prompt_looker_start 0)
616 ) void))) 616 ) void)))
617 (set counter_prompt_looker_start 617 (set counter_prompt_looker_start
618 (+ counter_prompt_looker_start 1)) False)618 (+ counter_prompt_looker_start 1)) False)
619 619
620)620)
621621
622(script static prompt_looker 622(script static prompt_looker
623 (begin 623 (begin
624 (if (= counter_prompt_looker 0) 624 (if (= counter_prompt_looker 0)
625 (begin 625 (begin
626 (begin 626 (begin
627 (print "you have to look at each light until it turns green.") 627 (print "you have to look at each light until it turns green.")
628 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1310_gun (ai_get_object guns) 1) 628 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1310_gun (ai_get_object guns) 1)
629 (set timer_prompt_looker 629 (set timer_prompt_looker
630 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1310_gun)) 630 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1310_gun))
631 (set timer_prompt_looker 631 (set timer_prompt_looker
632 (+ timer_prompt_looker delay_prompt_short))632 (+ timer_prompt_looker delay_prompt_short))
633 )633 )
634 ) 634 )
635 (if (= counter_prompt_looker 1) 635 (if (= counter_prompt_looker 1)
636 (begin 636 (begin
637 (begin 637 (begin
638 (print "you gotta look at all the lights to complete the test.") 638 (print "you gotta look at all the lights to complete the test.")
639 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1370_gun (ai_get_object guns) 1) 639 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1370_gun (ai_get_object guns) 1)
640 (set timer_prompt_looker 640 (set timer_prompt_looker
641 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1370_gun)) 641 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1370_gun))
642 (set timer_prompt_looker 642 (set timer_prompt_looker
643 (+ timer_prompt_looker delay_prompt_short))643 (+ timer_prompt_looker delay_prompt_short))
644 )644 )
645 ) 645 )
646 (if (= counter_prompt_looker 2) 646 (if (= counter_prompt_looker 2)
647 (begin 647 (begin
648 (begin 648 (begin
649 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 649 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
650 (print "look at the lights, chief, one by one.") 650 (print "look at the lights, chief, one by one.")
651 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1300_gun (ai_get_object guns) 1) 651 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1300_gun (ai_get_object guns) 1)
652 (set timer_prompt_looker 652 (set timer_prompt_looker
653 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1300_gun)) 653 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1300_gun))
654 (set timer_prompt_looker 654 (set timer_prompt_looker
655 (+ timer_prompt_looker delay_prompt_medium))655 (+ timer_prompt_looker delay_prompt_medium))
656 )656 )
657 ) 657 )
658 (if (= counter_prompt_looker 3) 658 (if (= counter_prompt_looker 3)
659 (begin 659 (begin
660 (begin 660 (begin
661 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 661 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
662 (print "please look at the lights again, son.") 662 (print "please look at the lights again, son.")
663 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1350_gun (ai_get_object guns) 1) 663 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1350_gun (ai_get_object guns) 1)
664 (set timer_prompt_looker 664 (set timer_prompt_looker
665 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1350_gun)) 665 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1350_gun))
666 (set timer_prompt_looker 666 (set timer_prompt_looker
667 (+ timer_prompt_looker delay_prompt_medium))667 (+ timer_prompt_looker delay_prompt_medium))
668 )668 )
669 ) 669 )
670 (if True 670 (if True
671 (begin 671 (begin
672 (set counter_prompt_looker 0)672 (set counter_prompt_looker 0)
673 ) void))))) 673 ) void)))))
674 (set counter_prompt_looker 674 (set counter_prompt_looker
675 (+ counter_prompt_looker 1)) False)675 (+ counter_prompt_looker 1)) False)
676 676
677)677)
678678
679(script static prompt_start_spot 679(script static prompt_start_spot
680 (begin 680 (begin
681 (if (= counter_prompt_start_spot 0) 681 (if (= counter_prompt_start_spot 0)
682 (begin 682 (begin
683 (begin 683 (begin
684 (print "go on, walk around, try it out.") 684 (print "go on, walk around, try it out.")
685 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0820_gun (ai_get_object guns) 1) 685 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0820_gun (ai_get_object guns) 1)
686 (set timer_prompt_start_spot 686 (set timer_prompt_start_spot
687 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0820_gun)) 687 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0820_gun))
688 (set timer_prompt_start_spot 688 (set timer_prompt_start_spot
689 (+ timer_prompt_start_spot delay_prompt_short))689 (+ timer_prompt_start_spot delay_prompt_short))
690 )690 )
691 ) 691 )
692 (if (= counter_prompt_start_spot 1) 692 (if (= counter_prompt_start_spot 1)
693 (begin 693 (begin
694 (begin 694 (begin
695 (unit_set_emotional_state (ai_get_unit guns) inquisitive 0.5 1) 695 (unit_set_emotional_state (ai_get_unit guns) inquisitive 0.5 1)
696 (print "something wrong son? can't you move?") 696 (print "something wrong son? can't you move?")
697 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0830_gun (ai_get_object guns) 1) 697 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0830_gun (ai_get_object guns) 1)
698 (set timer_prompt_start_spot 698 (set timer_prompt_start_spot
699 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0830_gun)) 699 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0830_gun))
700 (set timer_prompt_start_spot 700 (set timer_prompt_start_spot
701 (+ timer_prompt_start_spot delay_prompt_medium))701 (+ timer_prompt_start_spot delay_prompt_medium))
702 )702 )
703 ) 703 )
704 (if (= counter_prompt_start_spot 2) 704 (if (= counter_prompt_start_spot 2)
705 (begin 705 (begin
706 (begin 706 (begin
707 (unit_set_emotional_state (ai_get_unit guns) inquisitive 0.5 1) 707 (unit_set_emotional_state (ai_get_unit guns) inquisitive 0.5 1)
708 (print "inhibitors are definitely off. you should be able to walk around.") 708 (print "inhibitors are definitely off. you should be able to walk around.")
709 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0840_gun (ai_get_object guns) 1) 709 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0840_gun (ai_get_object guns) 1)
710 (set timer_prompt_start_spot 710 (set timer_prompt_start_spot
711 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0840_gun)) 711 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0840_gun))
712 (set timer_prompt_start_spot 712 (set timer_prompt_start_spot
713 (+ timer_prompt_start_spot delay_prompt_medium))713 (+ timer_prompt_start_spot delay_prompt_medium))
714 )714 )
715 ) 715 )
716 (if True 716 (if True
717 (begin 717 (begin
718 (set counter_prompt_start_spot 0)718 (set counter_prompt_start_spot 0)
719 ) void)))) 719 ) void))))
720 (set counter_prompt_start_spot 720 (set counter_prompt_start_spot
721 (+ counter_prompt_start_spot 1)) False)721 (+ counter_prompt_start_spot 1)) False)
722 722
723)723)
724724
725(script static prompt_careful 725(script static prompt_careful
726 (begin 726 (begin
727 (if (= counter_prompt_careful 0) 727 (if (= counter_prompt_careful 0)
728 (begin 728 (begin
729 (begin 729 (begin
730 (cs_run_command_script guns cs_lookat_player) 730 (cs_run_command_script guns cs_lookat_player)
731 (unit_set_emotional_state (ai_get_unit guns) scared 0.5 1) 731 (unit_set_emotional_state (ai_get_unit guns) scared 0.5 1)
732 (sleep 8) 732 (sleep 8)
733 (print "hey! take it easy!") 733 (print "hey! take it easy!")
734 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0850_gun (ai_get_object guns) 1) 734 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0850_gun (ai_get_object guns) 1)
735 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0850_gun)) 735 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0850_gun))
736 (sleep 30) 736 (sleep 30)
737 (cs_run_command_script guns cs_guns_zapper_wait)737 (cs_run_command_script guns cs_guns_zapper_wait)
738 )738 )
739 ) 739 )
740 (if (= counter_prompt_careful 1) 740 (if (= counter_prompt_careful 1)
741 (begin 741 (begin
742 (begin 742 (begin
743 (cs_run_command_script guns cs_lookat_player) 743 (cs_run_command_script guns cs_lookat_player)
744 (unit_set_emotional_state (ai_get_unit guns) scared 0.5 1) 744 (unit_set_emotional_state (ai_get_unit guns) scared 0.5 1)
745 (sleep 8) 745 (sleep 8)
746 (print "careful! you'll tear a tendon doing that!") 746 (print "careful! you'll tear a tendon doing that!")
747 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0860_gun (ai_get_object guns) 1) 747 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0860_gun (ai_get_object guns) 1)
748 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0860_gun)) 748 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0860_gun))
749 (sleep 30) 749 (sleep 30)
750 (cs_run_command_script guns cs_guns_zapper_wait)750 (cs_run_command_script guns cs_guns_zapper_wait)
751 )751 )
752 ) 752 )
753 (if (= counter_prompt_careful 2) 753 (if (= counter_prompt_careful 2)
754 (begin 754 (begin
755 (begin 755 (begin
756 (cs_run_command_script guns cs_lookat_player) 756 (cs_run_command_script guns cs_lookat_player)
757 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 757 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
758 (sleep 8) 758 (sleep 8)
759 (print "fine. but don't come crying to me when your rip your leg out of its socket.") 759 (print "fine. but don't come crying to me when your rip your leg out of its socket.")
760 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0870_gun (ai_get_object guns) 1) 760 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0870_gun (ai_get_object guns) 1)
761 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0870_gun)) 761 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0870_gun))
762 (sleep 30) 762 (sleep 30)
763 (cs_run_command_script guns cs_guns_zapper_wait)763 (cs_run_command_script guns cs_guns_zapper_wait)
764 )764 )
765 ) 765 )
766 (if True 766 (if True
767 (begin 767 (begin
768 (set counter_prompt_careful 2)768 (set counter_prompt_careful 2)
769 ) void)))) 769 ) void))))
770 (set timer_prompt_careful delay_prompt_blink) 770 (set timer_prompt_careful delay_prompt_blink)
771 (set counter_prompt_careful 771 (set counter_prompt_careful
772 (+ counter_prompt_careful 1)) False)772 (+ counter_prompt_careful 1)) False)
773 773
774)774)
775775
776(script static prompt_zapper_lookatme 776(script static prompt_zapper_lookatme
777 (begin 777 (begin
778 (hud_show_training_text False) 778 (hud_show_training_text False)
779 (if (= counter_prompt_zapper_lookatme 0) 779 (if (= counter_prompt_zapper_lookatme 0)
780 (begin 780 (begin
781 (begin 781 (begin
782 (cs_run_command_script guns cs_guns_zapper_prompt) 782 (cs_run_command_script guns cs_guns_zapper_prompt)
783 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 783 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
784 (sleep 30) 784 (sleep 30)
785 (print "are you listening to me?.") 785 (print "are you listening to me?.")
786 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3160_gun (ai_get_object guns) 1) 786 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3160_gun (ai_get_object guns) 1)
787 (set timer_prompt_zapper 787 (set timer_prompt_zapper
788 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3160_gun)) 788 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3160_gun))
789 (set timer_prompt_zapper_lookatme 789 (set timer_prompt_zapper_lookatme
790 (+ timer_prompt_zapper delay_prompt_short))790 (+ timer_prompt_zapper delay_prompt_short))
791 )791 )
792 ) 792 )
793 (if (= counter_prompt_zapper_lookatme 1) 793 (if (= counter_prompt_zapper_lookatme 1)
794 (begin 794 (begin
795 (begin 795 (begin
796 (cs_run_command_script guns cs_guns_zapper_prompt) 796 (cs_run_command_script guns cs_guns_zapper_prompt)
797 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 797 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
798 (sleep 30) 798 (sleep 30)
799 (print "over here, chief. focus.") 799 (print "over here, chief. focus.")
800 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3170_gun (ai_get_object guns) 1) 800 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3170_gun (ai_get_object guns) 1)
801 (set timer_prompt_zapper 801 (set timer_prompt_zapper
802 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3170_gun)) 802 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3170_gun))
803 (set timer_prompt_zapper_lookatme 803 (set timer_prompt_zapper_lookatme
804 (+ timer_prompt_zapper delay_prompt_short))804 (+ timer_prompt_zapper delay_prompt_short))
805 )805 )
806 ) 806 )
807 (if (= counter_prompt_zapper_lookatme 2) 807 (if (= counter_prompt_zapper_lookatme 2)
808 (begin 808 (begin
809 (begin 809 (begin
810 (cs_run_command_script guns cs_guns_zapper_prompt) 810 (cs_run_command_script guns cs_guns_zapper_prompt)
811 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 811 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
812 (sleep 30) 812 (sleep 30)
813 (print "it's considered respectful to look at someone when they are talking.") 813 (print "it's considered respectful to look at someone when they are talking.")
814 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3180_gun (ai_get_object guns) 1) 814 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3180_gun (ai_get_object guns) 1)
815 (set timer_prompt_zapper 815 (set timer_prompt_zapper
816 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3180_gun)) 816 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3180_gun))
817 (set timer_prompt_zapper_lookatme 817 (set timer_prompt_zapper_lookatme
818 (+ timer_prompt_zapper delay_prompt_medium))818 (+ timer_prompt_zapper delay_prompt_medium))
819 )819 )
820 ) 820 )
821 (if (= counter_prompt_zapper_lookatme 3) 821 (if (= counter_prompt_zapper_lookatme 3)
822 (begin 822 (begin
823 (begin 823 (begin
824 (cs_run_command_script guns cs_guns_zapper_prompt) 824 (cs_run_command_script guns cs_guns_zapper_prompt)
825 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1) 825 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1)
826 (sleep 30) 826 (sleep 30)
827 (print "this is important, you could at least look at me while i explain it.") 827 (print "this is important, you could at least look at me while i explain it.")
828 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3190_gun (ai_get_object guns) 1) 828 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3190_gun (ai_get_object guns) 1)
829 (set timer_prompt_zapper 829 (set timer_prompt_zapper
830 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3190_gun)) 830 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3190_gun))
831 (set timer_prompt_zapper_lookatme 831 (set timer_prompt_zapper_lookatme
832 (+ timer_prompt_zapper delay_prompt_medium))832 (+ timer_prompt_zapper delay_prompt_medium))
833 )833 )
834 ) 834 )
835 (if (= counter_prompt_zapper_lookatme 4) 835 (if (= counter_prompt_zapper_lookatme 4)
836 (begin 836 (begin
837 (begin 837 (begin
838 (cs_run_command_script guns cs_guns_zapper_prompt) 838 (cs_run_command_script guns cs_guns_zapper_prompt)
839 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1) 839 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1)
840 (sleep 30) 840 (sleep 30)
841 (print "i'm talking to you, chief. loot at me.") 841 (print "i'm talking to you, chief. loot at me.")
842 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3200_gun (ai_get_object guns) 1) 842 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3200_gun (ai_get_object guns) 1)
843 (set timer_prompt_zapper 843 (set timer_prompt_zapper
844 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3200_gun)) 844 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3200_gun))
845 (set timer_prompt_zapper_lookatme 845 (set timer_prompt_zapper_lookatme
846 (+ timer_prompt_zapper delay_prompt_long)) 846 (+ timer_prompt_zapper delay_prompt_long))
847 (hud_set_training_text tutorial_zapper_lookatme) 847 (hud_set_training_text tutorial_zapper_lookatme)
848 (hud_show_training_text True)848 (hud_show_training_text True)
849 )849 )
850 ) 850 )
851 (if (= counter_prompt_zapper_lookatme 5) 851 (if (= counter_prompt_zapper_lookatme 5)
852 (begin 852 (begin
853 (begin 853 (begin
854 (cs_run_command_script guns cs_guns_zapper_prompt) 854 (cs_run_command_script guns cs_guns_zapper_prompt)
855 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1) 855 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1)
856 (sleep 30) 856 (sleep 30)
857 (print "i know you spartans think you know everything, but it couldn't hurt you to at least look this way.") 857 (print "i know you spartans think you know everything, but it couldn't hurt you to at least look this way.")
858 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3210_gun (ai_get_object guns) 1) 858 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3210_gun (ai_get_object guns) 1)
859 (set timer_prompt_zapper 859 (set timer_prompt_zapper
860 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3210_gun)) 860 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3210_gun))
861 (set timer_prompt_zapper_lookatme 861 (set timer_prompt_zapper_lookatme
862 (+ timer_prompt_zapper delay_prompt_long)) 862 (+ timer_prompt_zapper delay_prompt_long))
863 (hud_set_training_text tutorial_zapper_lookatme) 863 (hud_set_training_text tutorial_zapper_lookatme)
864 (hud_show_training_text True)864 (hud_show_training_text True)
865 )865 )
866 ) 866 )
867 (if (= counter_prompt_zapper_lookatme 6) 867 (if (= counter_prompt_zapper_lookatme 6)
868 (begin 868 (begin
869 (begin 869 (begin
870 (cs_run_command_script guns cs_guns_zapper_prompt) 870 (cs_run_command_script guns cs_guns_zapper_prompt)
871 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1) 871 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1)
872 (sleep 30) 872 (sleep 30)
873 (print "look, just because the brass kisses your ass, doesn't mean i will. look at me when i talk to you!") 873 (print "look, just because the brass kisses your ass, doesn't mean i will. look at me when i talk to you!")
874 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3220_gun (ai_get_object guns) 1) 874 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3220_gun (ai_get_object guns) 1)
875 (set timer_prompt_zapper 875 (set timer_prompt_zapper
876 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3220_gun)) 876 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3220_gun))
877 (set timer_prompt_zapper_lookatme 877 (set timer_prompt_zapper_lookatme
878 (+ timer_prompt_zapper delay_prompt_drag)) 878 (+ timer_prompt_zapper delay_prompt_drag))
879 (hud_set_training_text tutorial_zapper_lookatme) 879 (hud_set_training_text tutorial_zapper_lookatme)
880 (hud_show_training_text True)880 (hud_show_training_text True)
881 )881 )
882 ) 882 )
883 (if True 883 (if True
884 (begin 884 (begin
885 (set counter_prompt_zapper_lookatme 3)885 (set counter_prompt_zapper_lookatme 3)
886 ) void)))))))) 886 ) void))))))))
887 (set counter_prompt_zapper_lookatme 887 (set counter_prompt_zapper_lookatme
888 (+ counter_prompt_zapper_lookatme 1)) False)888 (+ counter_prompt_zapper_lookatme 1)) False)
889 889
890)890)
891891
892(script static prompt_zapper_getin 892(script static prompt_zapper_getin
893 (begin 893 (begin
894 (hud_show_training_text False) 894 (hud_show_training_text False)
895 (if (= counter_prompt_zapper_getin 0) 895 (if (= counter_prompt_zapper_getin 0)
896 (begin 896 (begin
897 (begin 897 (begin
898 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0900_jon True) 898 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0900_jon True)
899 (objectives_finish_up_to 0) 899 (objectives_finish_up_to 0)
900 (objectives_show_up_to 1) 900 (objectives_show_up_to 1)
901 (sleep 10) 901 (sleep 10)
902 (print "step on in. i'll show you.") 902 (print "step on in. i'll show you.")
903 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0900_gun (ai_get_object guns) 1) 903 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0900_gun (ai_get_object guns) 1)
904 (set timer_prompt_zapper 904 (set timer_prompt_zapper
905 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0900_gun)) 905 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0900_gun))
906 (set timer_prompt_zapper_getin 906 (set timer_prompt_zapper_getin
907 (+ timer_prompt_zapper delay_prompt_short))907 (+ timer_prompt_zapper delay_prompt_short))
908 )908 )
909 ) 909 )
910 (if (= counter_prompt_zapper_getin 1) 910 (if (= counter_prompt_zapper_getin 1)
911 (begin 911 (begin
912 (begin 912 (begin
913 (cs_run_command_script guns cs_guns_zapper_prompt) 913 (cs_run_command_script guns cs_guns_zapper_prompt)
914 (sleep 30) 914 (sleep 30)
915 (print "step into the red sqaure, chief, and we'll get started.") 915 (print "step into the red sqaure, chief, and we'll get started.")
916 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3230_gun (ai_get_object guns) 1) 916 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3230_gun (ai_get_object guns) 1)
917 (set timer_prompt_zapper 917 (set timer_prompt_zapper
918 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3230_gun)) 918 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3230_gun))
919 (set timer_prompt_zapper_getin 919 (set timer_prompt_zapper_getin
920 (+ timer_prompt_zapper delay_prompt_short))920 (+ timer_prompt_zapper delay_prompt_short))
921 )921 )
922 ) 922 )
923 (if (= counter_prompt_zapper_getin 2) 923 (if (= counter_prompt_zapper_getin 2)
924 (begin 924 (begin
925 (begin 925 (begin
926 (cs_run_command_script guns cs_guns_zapper_prompt) 926 (cs_run_command_script guns cs_guns_zapper_prompt)
927 (sleep 30) 927 (sleep 30)
928 (print "chief? stand in the red square.") 928 (print "chief? stand in the red square.")
929 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3240_gun (ai_get_object guns) 1) 929 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3240_gun (ai_get_object guns) 1)
930 (set timer_prompt_zapper 930 (set timer_prompt_zapper
931 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3240_gun)) 931 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3240_gun))
932 (set timer_prompt_zapper_getin 932 (set timer_prompt_zapper_getin
933 (+ timer_prompt_zapper delay_prompt_medium))933 (+ timer_prompt_zapper delay_prompt_medium))
934 )934 )
935 ) 935 )
936 (if (= counter_prompt_zapper_getin 3) 936 (if (= counter_prompt_zapper_getin 3)
937 (begin 937 (begin
938 (begin 938 (begin
939 (cs_run_command_script guns cs_guns_zapper_prompt) 939 (cs_run_command_script guns cs_guns_zapper_prompt)
940 (sleep 30) 940 (sleep 30)
941 (print "you have to stand in the red square before we can start the test.") 941 (print "you have to stand in the red square before we can start the test.")
942 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3250_gun (ai_get_object guns) 1) 942 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3250_gun (ai_get_object guns) 1)
943 (set timer_prompt_zapper 943 (set timer_prompt_zapper
944 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3250_gun)) 944 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3250_gun))
945 (set timer_prompt_zapper_getin 945 (set timer_prompt_zapper_getin
946 (+ timer_prompt_zapper delay_prompt_medium))946 (+ timer_prompt_zapper delay_prompt_medium))
947 )947 )
948 ) 948 )
949 (if (= counter_prompt_zapper_getin 4) 949 (if (= counter_prompt_zapper_getin 4)
950 (begin 950 (begin
951 (begin 951 (begin
952 (cs_run_command_script guns cs_guns_zapper_prompt) 952 (cs_run_command_script guns cs_guns_zapper_prompt)
953 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 953 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
954 (sleep 30) 954 (sleep 30)
955 (print "go ahead and stand in the red sqaure.  it'll just take a minute.") 955 (print "go ahead and stand in the red sqaure.  it'll just take a minute.")
956 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3260_gun (ai_get_object guns) 1) 956 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3260_gun (ai_get_object guns) 1)
957 (set timer_prompt_zapper 957 (set timer_prompt_zapper
958 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3260_gun)) 958 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3260_gun))
959 (set timer_prompt_zapper_getin 959 (set timer_prompt_zapper_getin
960 (+ timer_prompt_zapper delay_prompt_long))960 (+ timer_prompt_zapper delay_prompt_long))
961 )961 )
962 ) 962 )
963 (if (= counter_prompt_zapper_getin 5) 963 (if (= counter_prompt_zapper_getin 5)
964 (begin 964 (begin
965 (begin 965 (begin
966 (cs_run_command_script guns cs_guns_zapper_prompt) 966 (cs_run_command_script guns cs_guns_zapper_prompt)
967 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 967 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
968 (sleep 30) 968 (sleep 30)
969 (print "come on, son, step into the red square.") 969 (print "come on, son, step into the red square.")
970 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3270_gun (ai_get_object guns) 1) 970 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3270_gun (ai_get_object guns) 1)
971 (set timer_prompt_zapper 971 (set timer_prompt_zapper
972 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3270_gun)) 972 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3270_gun))
973 (set timer_prompt_zapper_getin 973 (set timer_prompt_zapper_getin
974 (+ timer_prompt_zapper delay_prompt_long)) 974 (+ timer_prompt_zapper delay_prompt_long))
975 (hud_set_training_text tutorial_zapper_getin) 975 (hud_set_training_text tutorial_zapper_getin)
976 (hud_show_training_text True)976 (hud_show_training_text True)
977 )977 )
978 ) 978 )
979 (if (= counter_prompt_zapper_getin 5) 979 (if (= counter_prompt_zapper_getin 5)
980 (begin 980 (begin
981 (begin 981 (begin
982 (cs_run_command_script guns cs_guns_zapper_prompt) 982 (cs_run_command_script guns cs_guns_zapper_prompt)
983 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 983 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
984 (sleep 30) 984 (sleep 30)
985 (print "will you stop screwing around?  stand in the red square!") 985 (print "will you stop screwing around?  stand in the red square!")
986 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3280_gun (ai_get_object guns) 1) 986 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3280_gun (ai_get_object guns) 1)
987 (set timer_prompt_zapper 987 (set timer_prompt_zapper
988 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3280_gun)) 988 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3280_gun))
989 (set timer_prompt_zapper_getin 989 (set timer_prompt_zapper_getin
990 (+ timer_prompt_zapper delay_prompt_long)) 990 (+ timer_prompt_zapper delay_prompt_long))
991 (hud_set_training_text tutorial_zapper_getin) 991 (hud_set_training_text tutorial_zapper_getin)
992 (hud_show_training_text True)992 (hud_show_training_text True)
993 )993 )
994 ) 994 )
995 (if (= counter_prompt_zapper_getin 5) 995 (if (= counter_prompt_zapper_getin 5)
996 (begin 996 (begin
997 (begin 997 (begin
998 (cs_run_command_script guns cs_guns_zapper_prompt) 998 (cs_run_command_script guns cs_guns_zapper_prompt)
999 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1) 999 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1)
1000 (sleep 30) 1000 (sleep 30)
1001 (print "stop bustin' my balls, and step in the damn square!") 1001 (print "stop bustin' my balls, and step in the damn square!")
1002 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3290_gun (ai_get_object guns) 1) 1002 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3290_gun (ai_get_object guns) 1)
1003 (set timer_prompt_zapper 1003 (set timer_prompt_zapper
1004 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3290_gun)) 1004 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3290_gun))
1005 (set timer_prompt_zapper_getin 1005 (set timer_prompt_zapper_getin
1006 (+ timer_prompt_zapper delay_prompt_drag)) 1006 (+ timer_prompt_zapper delay_prompt_drag))
1007 (hud_set_training_text tutorial_zapper_getin) 1007 (hud_set_training_text tutorial_zapper_getin)
1008 (hud_show_training_text True)1008 (hud_show_training_text True)
1009 )1009 )
1010 ) 1010 )
1011 (if True 1011 (if True
1012 (begin 1012 (begin
1013 (set counter_prompt_zapper_getin 2)1013 (set counter_prompt_zapper_getin 2)
1014 ) void))))))))) 1014 ) void)))))))))
1015 (set counter_prompt_zapper_getin 1015 (set counter_prompt_zapper_getin
1016 (+ counter_prompt_zapper_getin 1)) False)1016 (+ counter_prompt_zapper_getin 1)) False)
1017 1017
1018)1018)
10191019
1020(script static prompt_zapper_button 1020(script static prompt_zapper_button
1021 (begin 1021 (begin
1022 (hud_show_training_text False) 1022 (hud_show_training_text False)
1023 (if (= counter_prompt_zapper_button 0) 1023 (if (= counter_prompt_zapper_button 0)
1024 (begin 1024 (begin
1025 (begin 1025 (begin
1026 (unit_set_emotional_state (ai_get_unit guns) angry 0 1) 1026 (unit_set_emotional_state (ai_get_unit guns) angry 0 1)
1027 (unit_set_emotional_state (ai_get_unit guns) annoyed 0 1) 1027 (unit_set_emotional_state (ai_get_unit guns) annoyed 0 1)
1028 (device_set_power zapper_control 1) 1028 (device_set_power zapper_control 1)
1029 (print "your new armor's shields are extremely resilient - very efficient.") 1029 (print "your new armor's shields are extremely resilient - very efficient.")
1030 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0880_gun (ai_get_object guns) 1) 1030 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0880_gun (ai_get_object guns) 1)
1031 (set timer_prompt_zapper 1031 (set timer_prompt_zapper
1032 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0880_gun)) 1032 (* 2 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0880_gun)))
1033 (set timer_prompt_zapper_button 1033 (set timer_prompt_zapper_button
1034 (+ timer_prompt_zapper 0))1034 (+ timer_prompt_zapper 0))
1035 )1035 )
1036 ) 1036 )
1037 (if (= counter_prompt_zapper_button 1) 1037 (if (= counter_prompt_zapper_button 1)
1038 (begin 1038 (begin
1039 (begin 1039 (begin
1040 (print "much better than the covenant tech we used for the mark-five.") 1040 (print "much better than the covenant tech we used for the mark-five.")
1041 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0890_gun (ai_get_object guns) 1) 1041 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0890_gun (ai_get_object guns) 1)
1042 (set timer_prompt_zapper 1042 (set timer_prompt_zapper
1043 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0890_gun)) 1043 (* 2 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0890_gun)))
1044 (set timer_prompt_zapper_button 1044 (set timer_prompt_zapper_button
1045 (+ timer_prompt_zapper 0))1045 (+ timer_prompt_zapper 0))
1046 )1046 )
1047 ) 1047 )
1048 (if (= counter_prompt_zapper_button 2) 1048 (if (= counter_prompt_zapper_button 2)
1049 (begin 1049 (begin
1050 (begin 1050 (begin
1051 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0910_jon True) 1051 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0910_jon True)
1052 (objectives_finish_up_to 1) 1052 (objectives_finish_up_to 1)
1053 (objectives_show_up_to 2) 1053 (objectives_show_up_to 2)
1054 (sleep 10) 1054 (sleep 10)
1055 (print "go ahead and use the switch in front of you to start the shield test.") 1055 (print "go ahead and use the switch in front of you to start the shield test.")
1056 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3300_gun (ai_get_object guns) 1) 1056 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3300_gun (ai_get_object guns) 1)
1057 (set timer_prompt_zapper 1057 (set timer_prompt_zapper
1058 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3300_gun)) 1058 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3300_gun))
1059 (set timer_prompt_zapper_button 1059 (set timer_prompt_zapper_button
1060 (+ timer_prompt_zapper delay_prompt_short))1060 (+ timer_prompt_zapper delay_prompt_short))
1061 )1061 )
1062 ) 1062 )
1063 (if (= counter_prompt_zapper_button 3) 1063 (if (= counter_prompt_zapper_button 3)
1064 (begin 1064 (begin
1065 (begin 1065 (begin
1066 (print "just place your hand on the touchpad to activate the switch.") 1066 (print "just place your hand on the touchpad to activate the switch.")
1067 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3310_gun (ai_get_object guns) 1) 1067 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3310_gun (ai_get_object guns) 1)
1068 (set timer_prompt_zapper 1068 (set timer_prompt_zapper
1069 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3310_gun)) 1069 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3310_gun))
1070 (set timer_prompt_zapper_button 1070 (set timer_prompt_zapper_button
1071 (+ timer_prompt_zapper delay_prompt_medium))1071 (+ timer_prompt_zapper delay_prompt_medium))
1072 )1072 )
1073 ) 1073 )
1074 (if (= counter_prompt_zapper_button 4) 1074 (if (= counter_prompt_zapper_button 4)
1075 (begin 1075 (begin
1076 (begin 1076 (begin
1077 (print "hit the switch, it won't hurt….much") 1077 (print "hit the switch, it won't hurt….much")
1078 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3340_gun (ai_get_object guns) 1) 1078 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3340_gun (ai_get_object guns) 1)
1079 (set timer_prompt_zapper 1079 (set timer_prompt_zapper
1080 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3340_gun)) 1080 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3340_gun))
1081 (set timer_prompt_zapper_button 1081 (set timer_prompt_zapper_button
1082 (+ timer_prompt_zapper delay_prompt_medium))1082 (+ timer_prompt_zapper delay_prompt_medium))
1083 )1083 )
1084 ) 1084 )
1085 (if (= counter_prompt_zapper_button 5) 1085 (if (= counter_prompt_zapper_button 5)
1086 (begin 1086 (begin
1087 (begin 1087 (begin
1088 (print "go ahead and use that switch in front of you.") 1088 (print "go ahead and use that switch in front of you.")
1089 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3330_gun (ai_get_object guns) 1) 1089 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3330_gun (ai_get_object guns) 1)
1090 (set timer_prompt_zapper 1090 (set timer_prompt_zapper
1091 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3330_gun)) 1091 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3330_gun))
1092 (set timer_prompt_zapper_button 1092 (set timer_prompt_zapper_button
1093 (+ timer_prompt_zapper delay_prompt_long)) 1093 (+ timer_prompt_zapper delay_prompt_long))
1094 (hud_set_training_text tutorial_zapper_button) 1094 (hud_set_training_text tutorial_zapper_button)
1095 (hud_show_training_text True)1095 (hud_show_training_text True)
1096 )1096 )
1097 ) 1097 )
1098 (if (= counter_prompt_zapper_button 6) 1098 (if (= counter_prompt_zapper_button 6)
1099 (begin 1099 (begin
1100 (begin 1100 (begin
1101 (print "the switch right in front of you will start the shield test.") 1101 (print "the switch right in front of you will start the shield test.")
1102 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3320_gun (ai_get_object guns) 1) 1102 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3320_gun (ai_get_object guns) 1)
1103 (set timer_prompt_zapper 1103 (set timer_prompt_zapper
1104 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3320_gun)) 1104 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3320_gun))
1105 (set timer_prompt_zapper_button 1105 (set timer_prompt_zapper_button
1106 (+ timer_prompt_zapper delay_prompt_long)) 1106 (+ timer_prompt_zapper delay_prompt_long))
1107 (hud_set_training_text tutorial_zapper_button) 1107 (hud_set_training_text tutorial_zapper_button)
1108 (hud_show_training_text True)1108 (hud_show_training_text True)
1109 )1109 )
1110 ) 1110 )
1111 (if (= counter_prompt_zapper_button 7) 1111 (if (= counter_prompt_zapper_button 7)
1112 (begin 1112 (begin
1113 (begin 1113 (begin
1114 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 1114 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
1115 (print "it's a switch. you press it.") 1115 (print "it's a switch. you press it.")
1116 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3350_gun (ai_get_object guns) 1) 1116 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3350_gun (ai_get_object guns) 1)
1117 (set timer_prompt_zapper 1117 (set timer_prompt_zapper
1118 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3350_gun)) 1118 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3350_gun))
1119 (set timer_prompt_zapper_button 1119 (set timer_prompt_zapper_button
1120 (+ timer_prompt_zapper delay_prompt_drag)) 1120 (+ timer_prompt_zapper delay_prompt_drag))
1121 (hud_set_training_text tutorial_zapper_button) 1121 (hud_set_training_text tutorial_zapper_button)
1122 (hud_show_training_text True)1122 (hud_show_training_text True)
1123 )1123 )
1124 ) 1124 )
1125 (if True 1125 (if True
1126 (begin 1126 (begin
1127 (set counter_prompt_zapper_button 2)1127 (set counter_prompt_zapper_button 2)
1128 ) void))))))))) 1128 ) void)))))))))
1129 (set counter_prompt_zapper_button 1129 (set counter_prompt_zapper_button
1130 (+ counter_prompt_zapper_button 1)) False)1130 (+ counter_prompt_zapper_button 1)) False)
1131 1131
1132)1132)
11331133
1134(script static prompt_elevator_plr 1134(script static prompt_elevator_plr
1135 (begin 1135 (begin
1136 (hud_show_training_text False) 1136 (hud_show_training_text False)
1137 (if (= counter_prompt_elevator_plr 0) 1137 (if (= counter_prompt_elevator_plr 0)
1138 (begin 1138 (begin
1139 (begin 1139 (begin
1140 (set timer_prompt_elevator_plr 1140 (set timer_prompt_elevator_plr
1141 (+ timer_prompt_elevator_plr delay_prompt_short)) 1141 (+ timer_prompt_elevator_plr delay_prompt_short))
1142 (objectives_show_up_to 3)1142 (objectives_show_up_to 3)
1143 )1143 )
1144 ) 1144 )
1145 (if (= counter_prompt_elevator_plr 1) 1145 (if (= counter_prompt_elevator_plr 1)
1146 (begin 1146 (begin
1147 (begin 1147 (begin
1148 (print "c'mon, chief, they're ready for us on the bridge.") 1148 (print "c'mon, chief, they're ready for us on the bridge.")
1149 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1640_jon (ai_get_object johnson) 1) 1149 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1640_jon (ai_get_object johnson) 1)
1150 (set timer_prompt_elevator_plr 1150 (set timer_prompt_elevator_plr
1151 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1640_jon)) 1151 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1640_jon))
1152 (set timer_prompt_elevator_plr 1152 (set timer_prompt_elevator_plr
1153 (+ timer_prompt_elevator_plr delay_prompt_short))1153 (+ timer_prompt_elevator_plr delay_prompt_short))
1154 )1154 )
1155 ) 1155 )
1156 (if (= counter_prompt_elevator_plr 2) 1156 (if (= counter_prompt_elevator_plr 2)
1157 (begin 1157 (begin
1158 (begin 1158 (begin
1159 (print "get on the lift, cheif, we're gonna be late.") 1159 (print "get on the lift, cheif, we're gonna be late.")
1160 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1650_jon (ai_get_object johnson) 1) 1160 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1650_jon (ai_get_object johnson) 1)
1161 (set timer_prompt_elevator_plr 1161 (set timer_prompt_elevator_plr
1162 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1650_jon)) 1162 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1650_jon))
1163 (set timer_prompt_elevator_plr 1163 (set timer_prompt_elevator_plr
1164 (+ timer_prompt_elevator_plr delay_prompt_long)) 1164 (+ timer_prompt_elevator_plr delay_prompt_long))
1165 (set timer_prompt_elevator_plr 1165 (set timer_prompt_elevator_plr
1166 (+ timer_prompt_elevator_plr delay_prompt_medium))1166 (+ timer_prompt_elevator_plr delay_prompt_medium))
1167 )1167 )
1168 ) 1168 )
1169 (if (= counter_prompt_elevator_plr 3) 1169 (if (= counter_prompt_elevator_plr 3)
1170 (begin 1170 (begin
1171 (begin 1171 (begin
1172 (unit_set_emotional_state (ai_get_unit johnson) annoyed 0.5 1) 1172 (unit_set_emotional_state (ai_get_unit johnson) annoyed 0.5 1)
1173 (print "i don't want to keep the brass waiting, chief.") 1173 (print "i don't want to keep the brass waiting, chief.")
1174 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1660_jon (ai_get_object johnson) 1) 1174 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1660_jon (ai_get_object johnson) 1)
1175 (set timer_prompt_elevator_plr 1175 (set timer_prompt_elevator_plr
1176 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1660_jon)) 1176 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1660_jon))
1177 (set timer_prompt_elevator_plr 1177 (set timer_prompt_elevator_plr
1178 (+ timer_prompt_elevator_plr delay_prompt_long)) 1178 (+ timer_prompt_elevator_plr delay_prompt_long))
1179 (set timer_prompt_elevator_plr 1179 (set timer_prompt_elevator_plr
1180 (+ timer_prompt_elevator_plr delay_prompt_medium))1180 (+ timer_prompt_elevator_plr delay_prompt_medium))
1181 )1181 )
1182 ) 1182 )
1183 (if (= counter_prompt_elevator_plr 4) 1183 (if (= counter_prompt_elevator_plr 4)
1184 (begin 1184 (begin
1185 (begin 1185 (begin
1186 (unit_set_emotional_state (ai_get_unit johnson) annoyed 0.5 1) 1186 (unit_set_emotional_state (ai_get_unit johnson) annoyed 0.5 1)
1187 (print "fine. you can tell lord hood why we're late!") 1187 (print "fine. you can tell lord hood why we're late!")
1188 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1670_jon (ai_get_object johnson) 1) 1188 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1670_jon (ai_get_object johnson) 1)
1189 (set timer_prompt_elevator_plr 1189 (set timer_prompt_elevator_plr
1190 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1670_jon)) 1190 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1670_jon))
1191 (set timer_prompt_elevator_plr 1191 (set timer_prompt_elevator_plr
1192 (+ timer_prompt_elevator_plr delay_prompt_long)) 1192 (+ timer_prompt_elevator_plr delay_prompt_long))
1193 (set timer_prompt_elevator_plr 1193 (set timer_prompt_elevator_plr
1194 (+ timer_prompt_elevator_plr delay_prompt_long))1194 (+ timer_prompt_elevator_plr delay_prompt_long))
1195 )1195 )
1196 ) 1196 )
1197 (if (= counter_prompt_elevator_plr 5) 1197 (if (= counter_prompt_elevator_plr 5)
1198 (begin 1198 (begin
1199 (begin 1199 (begin
1200 (unit_set_emotional_state (ai_get_unit johnson) angry 0.5 1) 1200 (unit_set_emotional_state (ai_get_unit johnson) angry 0.5 1)
1201 (print "get your shiny green posterior on this elevator!") 1201 (print "get your shiny green posterior on this elevator!")
1202 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1680_jon (ai_get_object johnson) 1) 1202 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1680_jon (ai_get_object johnson) 1)
1203 (set timer_prompt_elevator_plr 1203 (set timer_prompt_elevator_plr
1204 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1680_jon)) 1204 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1680_jon))
1205 (set timer_prompt_elevator_plr 1205 (set timer_prompt_elevator_plr
1206 (+ timer_prompt_elevator_plr delay_prompt_long)) 1206 (+ timer_prompt_elevator_plr delay_prompt_long))
1207 (set timer_prompt_elevator_plr 1207 (set timer_prompt_elevator_plr
1208 (+ timer_prompt_elevator_plr delay_prompt_long))1208 (+ timer_prompt_elevator_plr delay_prompt_long))
1209 )1209 )
1210 ) 1210 )
1211 (if (= counter_prompt_elevator_plr 6) 1211 (if (= counter_prompt_elevator_plr 6)
1212 (begin 1212 (begin
1213 (begin 1213 (begin
1214 (unit_set_emotional_state (ai_get_unit johnson) angry 0.5 1) 1214 (unit_set_emotional_state (ai_get_unit johnson) angry 0.5 1)
1215 (print "would it help if i said please?") 1215 (print "would it help if i said please?")
1216 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1690_jon (ai_get_object johnson) 1) 1216 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1690_jon (ai_get_object johnson) 1)
1217 (set timer_prompt_elevator_plr 1217 (set timer_prompt_elevator_plr
1218 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1690_jon)) 1218 (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1690_jon))
1219 (set timer_prompt_elevator_plr 1219 (set timer_prompt_elevator_plr
1220 (+ timer_prompt_elevator_plr delay_prompt_long)) 1220 (+ timer_prompt_elevator_plr delay_prompt_long))
1221 (set timer_prompt_elevator_plr 1221 (set timer_prompt_elevator_plr
1222 (+ timer_prompt_elevator_plr delay_prompt_drag)) 1222 (+ timer_prompt_elevator_plr delay_prompt_drag))
1223 (set mark_ice_cream True)1223 (set mark_ice_cream True)
1224 )1224 )
1225 ) 1225 )
1226 (if True 1226 (if True
1227 (begin 1227 (begin
1228 (set counter_prompt_elevator_plr 0)1228 (set counter_prompt_elevator_plr 0)
1229 ) void)))))))) 1229 ) void))))))))
1230 (set counter_prompt_elevator_plr 1230 (set counter_prompt_elevator_plr
1231 (+ counter_prompt_elevator_plr 1)) False)1231 (+ counter_prompt_elevator_plr 1)) False)
1232 1232
1233)1233)
12341234
1235(script static training_setup 1235(script static training_setup
1236 (begin 1236 (begin
1237 (game_can_use_flashlights False) 1237 (game_can_use_flashlights False)
1238 (unit_set_maximum_vitality 1238 (unit_set_maximum_vitality
1239 (player0)1239 (player0)
1240 30 1) 1240 30 1)
1241 (device_set_power zapper_control 0) 1241 (device_set_power zapper_control 0)
1242 (device_set_position_immediate elevator_tram 0) 1242 (device_set_position_immediate elevator_tram 0)
1243 (ai_place guns) 1243 (ai_place guns)
1244 (ai_cannot_die guns True) 1244 (ai_cannot_die guns True)
1245 (cs_run_command_script guns cs_guns_start)1245 (cs_run_command_script guns cs_guns_start)
1246 )1246 )
1247)1247)
12481248
1249(script startup icecream 1249(script startup icecream
1250 (begin 1250 (begin
1251 (sleep_until (and mark_ice_cream (difficulty_legendary)) 1) 1251 (sleep_until (and mark_ice_cream (difficulty_legendary)) 1)
1252 (object_create cookiesncream) 1252 (object_create cookiesncream)
1253 (sleep_until (or (unit_has_weapon (unit 1253 (sleep_until (or (unit_has_weapon (unit
1254 (player0)1254 (player0)
1255 ) objects\weapons\multiplayer\ball\head_sp.weapon) (unit_has_weapon (unit 1255 ) objects\weapons\multiplayer\ball\head_sp.weapon) (unit_has_weapon (unit
1256 (player1)1256 (player1)
1257 ) objects\weapons\multiplayer\ball\head_sp.weapon)) 1) 1257 ) objects\weapons\multiplayer\ball\head_sp.weapon)) 1)
1258 (ice_cream_flavor_stock 14) 1258 (ice_cream_flavor_stock 14)
1259 (print "blam")1259 (print "blam")
1260 )1260 )
1261)1261)
12621262
1263(script static test_mindread_up 1263(script static test_mindread_up
1264 (begin 1264 (begin
1265 (object_create looker_light_top_red) 1265 (object_create looker_light_top_red)
1266 (player_action_test_reset) 1266 (player_action_test_reset)
1267 (player_action_test_look_up_begin) 1267 (player_action_test_look_up_begin)
1268 (player_camera_control True) 1268 (player_camera_control True)
1269 (cs_run_command_script guns cs_lookat_console_toplight) 1269 (cs_run_command_script guns cs_lookat_console_toplight)
1270 (sleep_until (or (objects_can_see_object (players) looker_light_top_red 5) (player0_looking_up)) 1 360) 1270 (sleep_until (or (objects_can_see_object (players) looker_light_top_red 5) (player0_looking_up)) 1 360)
1271 (if (not (or (objects_can_see_object (players) looker_light_top_red 5) (player0_looking_up))) 1271 (if (not (or (objects_can_see_object (players) looker_light_top_red 5) (player0_looking_up)))
1272 (begin 1272 (begin
1273 (print "go ahead and look at the top light, chief.") 1273 (print "go ahead and look at the top light, chief.")
1274 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3070_gun (ai_get_object guns) 1) 1274 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3070_gun (ai_get_object guns) 1)
1275 (hud_set_training_text tutorial_look_up) 1275 (hud_set_training_text tutorial_look_up)
1276 (hud_show_training_text True) 1276 (hud_show_training_text True)
1277 (hud_enable_training True)1277 (hud_enable_training True)
1278 )) 1278 ))
1279 (cs_run_command_script guns cs_lookat_console_inhibitor) 1279 (cs_run_command_script guns cs_lookat_console_inhibitor)
1280 (sleep_until (or (objects_can_see_object (players) looker_light_top_red 5) (player0_looking_up)) 1) 1280 (sleep_until (or (objects_can_see_object (players) looker_light_top_red 5) (player0_looking_up)) 1)
1281 (player_camera_control False) 1281 (player_camera_control False)
1282 (hud_enable_training False) 1282 (hud_enable_training False)
1283 (hud_show_training_text False) 1283 (hud_show_training_text False)
1284 (object_destroy looker_light_top_red) 1284 (object_destroy looker_light_top_red)
1285 (if (not (player_action_test_lookstick_backward)) 1285 (if (not (player_action_test_lookstick_backward))
1286 (begin 1286 (begin
1287 (begin 1287 (begin
1288 (set counter_mindread_normal_success 1288 (set counter_mindread_normal_success
1289 (+ counter_mindread_normal_success 1)) 1289 (+ counter_mindread_normal_success 1))
1290 (set counter_mindread_invert_success 0) 1290 (set counter_mindread_invert_success 0)
1291 (print "normal success")1291 (print "normal success")
1292 )1292 )
1293 ) 1293 )
1294 (if (not (player_action_test_lookstick_forward)) 1294 (if (not (player_action_test_lookstick_forward))
1295 (begin 1295 (begin
1296 (begin 1296 (begin
1297 (set counter_mindread_invert_success 1297 (set counter_mindread_invert_success
1298 (+ counter_mindread_invert_success 1)) 1298 (+ counter_mindread_invert_success 1))
1299 (set counter_mindread_normal_success 0) 1299 (set counter_mindread_normal_success 0)
1300 (print "invert success")1300 (print "invert success")
1301 )1301 )
1302 ) 1302 )
1303 (if True 1303 (if True
1304 (begin 1304 (begin
1305 (begin 1305 (begin
1306 (set counter_mindread_normal_success 0) 1306 (set counter_mindread_normal_success 0)
1307 (set counter_mindread_invert_success 0)1307 (set counter_mindread_invert_success 0)
1308 )1308 )
1309 ) void))) 1309 ) void)))
1310 (player_camera_control False) 1310 (player_camera_control False)
1311 (player_action_test_look_pitch_end) 1311 (player_action_test_look_pitch_end)
1312 (player_action_test_reset) 1312 (player_action_test_reset)
1313 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3070_gun))1313 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3070_gun))
1314 )1314 )
1315)1315)
13161316
1317(script static test_mindread_down 1317(script static test_mindread_down
1318 (begin 1318 (begin
1319 (object_create looker_light_bottom_red) 1319 (object_create looker_light_bottom_red)
1320 (player_action_test_reset) 1320 (player_action_test_reset)
1321 (player_action_test_look_down_begin) 1321 (player_action_test_look_down_begin)
1322 (player_camera_control True) 1322 (player_camera_control True)
1323 (cs_run_command_script guns cs_lookat_console_bottomlight) 1323 (cs_run_command_script guns cs_lookat_console_bottomlight)
1324 (sleep_until (or (objects_can_see_object (players) looker_light_bottom_red 3) (player0_looking_down)) 1 360) 1324 (sleep_until (or (objects_can_see_object (players) looker_light_bottom_red 3) (player0_looking_down)) 1 360)
1325 (if (not (or (objects_can_see_object (players) looker_light_bottom_red 3) (player0_looking_down))) 1325 (if (not (or (objects_can_see_object (players) looker_light_bottom_red 3) (player0_looking_down)))
1326 (begin 1326 (begin
1327 (print "look at the bottom light, son.") 1327 (print "look at the bottom light, son.")
1328 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3060_gun (ai_get_object guns) 1) 1328 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3060_gun (ai_get_object guns) 1)
1329 (hud_set_training_text tutorial_look_down) 1329 (hud_set_training_text tutorial_look_down)
1330 (hud_show_training_text True) 1330 (hud_show_training_text True)
1331 (hud_enable_training True)1331 (hud_enable_training True)
1332 )) 1332 ))
1333 (cs_run_command_script guns cs_lookat_console_inhibitor) 1333 (cs_run_command_script guns cs_lookat_console_inhibitor)
1334 (sleep_until (or (objects_can_see_object (players) looker_light_bottom_red 3) (player0_looking_down)) 1) 1334 (sleep_until (or (objects_can_see_object (players) looker_light_bottom_red 3) (player0_looking_down)) 1)
1335 (player_camera_control False) 1335 (player_camera_control False)
1336 (hud_enable_training False) 1336 (hud_enable_training False)
1337 (hud_show_training_text False) 1337 (hud_show_training_text False)
1338 (object_destroy looker_light_bottom_red) 1338 (object_destroy looker_light_bottom_red)
1339 (if (not (player_action_test_lookstick_forward)) 1339 (if (not (player_action_test_lookstick_forward))
1340 (begin 1340 (begin
1341 (begin 1341 (begin
1342 (set counter_mindread_normal_success 1342 (set counter_mindread_normal_success
1343 (+ counter_mindread_normal_success 1)) 1343 (+ counter_mindread_normal_success 1))
1344 (set counter_mindread_invert_success 0) 1344 (set counter_mindread_invert_success 0)
1345 (print "normal success")1345 (print "normal success")
1346 )1346 )
1347 ) 1347 )
1348 (if (not (player_action_test_lookstick_backward)) 1348 (if (not (player_action_test_lookstick_backward))
1349 (begin 1349 (begin
1350 (begin 1350 (begin
1351 (set counter_mindread_invert_success 1351 (set counter_mindread_invert_success
1352 (+ counter_mindread_invert_success 1)) 1352 (+ counter_mindread_invert_success 1))
1353 (set counter_mindread_normal_success 0) 1353 (set counter_mindread_normal_success 0)
1354 (print "invert success")1354 (print "invert success")
1355 )1355 )
1356 ) 1356 )
1357 (if True 1357 (if True
1358 (begin 1358 (begin
1359 (begin 1359 (begin
1360 (set counter_mindread_normal_success 0) 1360 (set counter_mindread_normal_success 0)
1361 (set counter_mindread_invert_success 0)1361 (set counter_mindread_invert_success 0)
1362 )1362 )
1363 ) void))) 1363 ) void)))
1364 (player_camera_control False) 1364 (player_camera_control False)
1365 (player_action_test_look_pitch_end) 1365 (player_action_test_look_pitch_end)
1366 (player_action_test_reset) 1366 (player_action_test_reset)
1367 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3060_gun))1367 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3060_gun))
1368 )1368 )
1369)1369)
13701370
1371(script static training_looker_lights_on 1371(script static training_looker_lights_on
1372 (begin 1372 (begin
1373 (object_destroy looker_light_left_green) 1373 (object_destroy looker_light_left_green)
1374 (object_create looker_light_left_red) 1374 (object_create looker_light_left_red)
1375 (set mark_looker_light_left True) 1375 (set mark_looker_light_left True)
1376 (object_destroy looker_light_right_green) 1376 (object_destroy looker_light_right_green)
1377 (object_create looker_light_right_red) 1377 (object_create looker_light_right_red)
1378 (set mark_looker_light_right True) 1378 (set mark_looker_light_right True)
1379 (object_destroy looker_light_top_green) 1379 (object_destroy looker_light_top_green)
1380 (object_create looker_light_top_red) 1380 (object_create looker_light_top_red)
1381 (set mark_looker_light_top True) 1381 (set mark_looker_light_top True)
1382 (object_destroy looker_light_bottom_green) 1382 (object_destroy looker_light_bottom_green)
1383 (object_create looker_light_bottom_red) 1383 (object_create looker_light_bottom_red)
1384 (set mark_looker_light_bottom True)1384 (set mark_looker_light_bottom True)
1385 )1385 )
1386)1386)
13871387
1388(script static training_looker_lights_off 1388(script static training_looker_lights_off
1389 (begin 1389 (begin
1390 (object_destroy looker_light_left_green) 1390 (object_destroy looker_light_left_green)
1391 (object_destroy looker_light_left_red) 1391 (object_destroy looker_light_left_red)
1392 (object_destroy looker_light_right_green) 1392 (object_destroy looker_light_right_green)
1393 (object_destroy looker_light_right_red) 1393 (object_destroy looker_light_right_red)
1394 (object_destroy looker_light_top_green) 1394 (object_destroy looker_light_top_green)
1395 (object_destroy looker_light_top_red) 1395 (object_destroy looker_light_top_red)
1396 (object_destroy looker_light_bottom_green) 1396 (object_destroy looker_light_bottom_green)
1397 (object_destroy looker_light_bottom_red)1397 (object_destroy looker_light_bottom_red)
1398 )1398 )
1399)1399)
14001400
1401(script static test_all_lights_off 1401(script static test_all_lights_off
1402 (begin 1402 (begin
1403 (not (or mark_looker_light_left mark_looker_light_right mark_looker_light_top mark_looker_light_bottom))1403 (not (or mark_looker_light_left mark_looker_light_right mark_looker_light_top mark_looker_light_bottom))
1404 )1404 )
1405)1405)
14061406
1407(script static training_pitch_choose 1407(script static training_pitch_choose
1408 (begin 1408 (begin
1409 (if (<= counter_training_pitch_choose 2) 1409 (if (<= counter_training_pitch_choose 2)
1410 (begin 1410 (begin
1411 (training_looker_lights_on) 1411 (training_looker_lights_on)
1412 (prompt_looker_start) 1412 (prompt_looker_start)
1413 (sleep_until (if (test_all_lights_off) 1413 (sleep_until (if (test_all_lights_off)
1414 (begin True)1414 (begin True)
1415 (if (objects_can_see_object (players) looker_light_left_red 5) 1415 (if (objects_can_see_object (players) looker_light_left_red 5)
1416 (begin 1416 (begin
1417 (begin 1417 (begin
1418 (object_destroy looker_light_left_red) 1418 (object_destroy looker_light_left_red)
1419 (object_create_anew looker_light_left_green) (set mark_looker_light_left False)1419 (object_create_anew looker_light_left_green) (set mark_looker_light_left False)
1420 )1420 )
1421 ) (if (objects_can_see_object (players) looker_light_right_red 5) 1421 ) (if (objects_can_see_object (players) looker_light_right_red 5)
1422 (begin 1422 (begin
1423 (begin 1423 (begin
1424 (object_destroy looker_light_right_red) 1424 (object_destroy looker_light_right_red)
1425 (object_create_anew looker_light_right_green) (set mark_looker_light_right False)1425 (object_create_anew looker_light_right_green) (set mark_looker_light_right False)
1426 )1426 )
1427 ) (if (objects_can_see_object (players) looker_light_top_red 5) 1427 ) (if (objects_can_see_object (players) looker_light_top_red 5)
1428 (begin 1428 (begin
1429 (begin 1429 (begin
1430 (object_destroy looker_light_top_red) 1430 (object_destroy looker_light_top_red)
1431 (object_create_anew looker_light_top_green) (set mark_looker_light_top False)1431 (object_create_anew looker_light_top_green) (set mark_looker_light_top False)
1432 )1432 )
1433 ) (if (objects_can_see_object (players) looker_light_bottom_red 5) 1433 ) (if (objects_can_see_object (players) looker_light_bottom_red 5)
1434 (begin 1434 (begin
1435 (begin 1435 (begin
1436 (object_destroy looker_light_bottom_red) 1436 (object_destroy looker_light_bottom_red)
1437 (object_create_anew looker_light_bottom_green) (set mark_looker_light_bottom False)1437 (object_create_anew looker_light_bottom_green) (set mark_looker_light_bottom False)
1438 )1438 )
1439 ) (if (> timer_prompt_looker 0) 1439 ) (if (> timer_prompt_looker 0)
1440 (begin 1440 (begin
1441 (begin 1441 (begin
1442 (set timer_prompt_looker 1442 (set timer_prompt_looker
1443 (- timer_prompt_looker 1)) False)1443 (- timer_prompt_looker 1)) False)
1444 1444
1445 ) (if True 1445 ) (if True
1446 (begin 1446 (begin
1447 (prompt_looker)1447 (prompt_looker)
1448 ) False))))))) 1)1448 ) False))))))) 1)
1449 )) 1449 ))
1450 (set counter_training_pitch_choose 1450 (set counter_training_pitch_choose
1451 (+ counter_training_pitch_choose 1)) 1451 (+ counter_training_pitch_choose 1))
1452 (if (controller_get_look_invert) 1452 (if (controller_get_look_invert)
1453 (begin 1453 (begin
1454 (print "should i leave it inverted, or put it back to normal?") 1454 (print "should i leave it inverted, or put it back to normal?")
1455 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1450_gun (ai_get_object guns) 1) 1455 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1450_gun (ai_get_object guns) 1)
1456 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1450_gun)) 1456 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1450_gun))
1457 (print "press a to leave lookstick inverted, press b to try it normal.") 1457 (print "press a to leave lookstick inverted, press b to try it normal.")
1458 (hud_set_training_text tutorial_choose_invert)1458 (hud_set_training_text tutorial_choose_invert)
1459 ) 1459 )
1460 (begin 1460 (begin
1461 (print "should i leave it normal, or put it back to inverted?") 1461 (print "should i leave it normal, or put it back to inverted?")
1462 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1470_gun (ai_get_object guns) 1) 1462 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1470_gun (ai_get_object guns) 1)
1463 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1470_gun)) 1463 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1470_gun))
1464 (print "press a to leave lookstick normal, press b to try it inverted.") 1464 (print "press a to leave lookstick normal, press b to try it inverted.")
1465 (hud_set_training_text tutorial_choose_normal)1465 (hud_set_training_text tutorial_choose_normal)
1466 )) 1466 ))
1467 (hud_show_training_text True) 1467 (hud_show_training_text True)
1468 (hud_enable_training True) 1468 (hud_enable_training True)
1469 (player_action_test_reset) 1469 (player_action_test_reset)
1470 (sleep_until (or (player_action_test_accept) (player_action_test_cancel)) 1) 1470 (sleep_until (or (player_action_test_accept) (player_action_test_cancel)) 1)
1471 (hud_enable_training False) 1471 (hud_enable_training False)
1472 (hud_show_training_text False) (if (player_action_test_accept) True 1472 (hud_show_training_text False) (if (player_action_test_accept) True
1473 (begin 1473 (begin
1474 (controller_set_look_invert (not (controller_get_look_invert))) 1474 (controller_set_look_invert (not (controller_get_look_invert)))
1475 (if (controller_get_look_invert) 1475 (if (controller_get_look_invert)
1476 (begin 1476 (begin
1477 (cs_run_command_script guns cs_lookat_console_inhibitor) 1477 (cs_run_command_script guns cs_lookat_console_inhibitor)
1478 (sleep 15) 1478 (sleep 15)
1479 (print "ok, now it's inverted.") 1479 (print "ok, now it's inverted.")
1480 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1480_gun (ai_get_object guns) 1) 1480 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1480_gun (ai_get_object guns) 1)
1481 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1480_gun))1481 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1480_gun))
1482 ) 1482 )
1483 (begin 1483 (begin
1484 (cs_run_command_script guns cs_lookat_console_inhibitor) 1484 (cs_run_command_script guns cs_lookat_console_inhibitor)
1485 (sleep 15) 1485 (sleep 15)
1486 (print "ok, now it's back to normal.") 1486 (print "ok, now it's back to normal.")
1487 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1460_gun (ai_get_object guns) 1) 1487 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1460_gun (ai_get_object guns) 1)
1488 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1460_gun))1488 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1460_gun))
1489 )) False)1489 )) False)
1490 )1490 )
1491 )1491 )
1492)1492)
14931493
1494(script static training_pitch 1494(script static training_pitch
1495 (begin 1495 (begin
1496 (if (>= counter_mindread_normal_success counter_mindread_invert_success) 1496 (if (>= counter_mindread_normal_success counter_mindread_invert_success)
1497 (controller_set_look_invert False) 1497 (controller_set_look_invert False)
1498 (controller_set_look_invert True)) 1498 (controller_set_look_invert True))
1499 (print "tracking looks sketchy, i'm going to run you through the full diagnostic.") 1499 (print "tracking looks sketchy, i'm going to run you through the full diagnostic.")
1500 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3100_gun (ai_get_object guns) 1) 1500 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3100_gun (ai_get_object guns) 1)
1501 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3100_gun)) 1501 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3100_gun))
1502 (if (controller_get_look_invert) 1502 (if (controller_get_look_invert)
1503 (begin 1503 (begin
1504 (print "the diagnostic software set your targeting system to be inverted") 1504 (print "the diagnostic software set your targeting system to be inverted")
1505 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3130_gun (ai_get_object guns) 1) 1505 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3130_gun (ai_get_object guns) 1)
1506 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3130_gun))1506 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3130_gun))
1507 ) 1507 )
1508 (begin 1508 (begin
1509 (print "the diagnostic software set your targeting system to be normal") 1509 (print "the diagnostic software set your targeting system to be normal")
1510 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3120_gun (ai_get_object guns) 1) 1510 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3120_gun (ai_get_object guns) 1)
1511 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3120_gun))1511 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3120_gun))
1512 )) 1512 ))
1513 (sleep_until (training_pitch_choose) 1) 1513 (sleep_until (training_pitch_choose) 1)
1514 (if (controller_get_look_invert) 1514 (if (controller_get_look_invert)
1515 (begin 1515 (begin
1516 (cs_run_command_script guns cs_lookat_console_inhibitor) 1516 (cs_run_command_script guns cs_lookat_console_inhibitor)
1517 (sleep 15) 1517 (sleep 15)
1518 (hud_set_training_text tutorial_set_invert) 1518 (hud_set_training_text tutorial_set_invert)
1519 (hud_show_training_text True) 1519 (hud_show_training_text True)
1520 (hud_enable_training True) 1520 (hud_enable_training True)
1521 (print "i'll leave your targeting set to inverted.") 1521 (print "i'll leave your targeting set to inverted.")
1522 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1570_gun (ai_get_object guns) 1) 1522 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1570_gun (ai_get_object guns) 1)
1523 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1570_gun))1523 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1570_gun))
1524 ) 1524 )
1525 (begin 1525 (begin
1526 (cs_run_command_script guns cs_lookat_console_inhibitor) 1526 (cs_run_command_script guns cs_lookat_console_inhibitor)
1527 (sleep 15) 1527 (sleep 15)
1528 (hud_set_training_text tutorial_set_normal) 1528 (hud_set_training_text tutorial_set_normal)
1529 (hud_show_training_text True) 1529 (hud_show_training_text True)
1530 (hud_enable_training True) 1530 (hud_enable_training True)
1531 (print "i'll leave your targeting set to normal.") 1531 (print "i'll leave your targeting set to normal.")
1532 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1560_gun (ai_get_object guns) 1) 1532 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1560_gun (ai_get_object guns) 1)
1533 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1560_gun))1533 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1560_gun))
1534 )) 1534 ))
1535 (print "if you change your mind, you can switch the setting anytime.") 1535 (print "if you change your mind, you can switch the setting anytime.")
1536 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1580_gun (ai_get_object guns) 1) 1536 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1580_gun (ai_get_object guns) 1)
1537 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1580_gun)) 1537 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1580_gun))
1538 (hud_enable_training False) 1538 (hud_enable_training False)
1539 (hud_show_training_text False)1539 (hud_show_training_text False)
1540 )1540 )
1541)1541)
15421542
1543(script static training_look 1543(script static training_look
1544 (begin 1544 (begin
1545 (print "well... i guess it was all obsolete anyway.") 1545 (print "well... i guess it was all obsolete anyway.")
1546 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0600_gun (ai_get_object guns) 1) 1546 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0600_gun (ai_get_object guns) 1)
1547 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0600_gun)) 1547 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0600_gun))
1548 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0610_jon True) 1548 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0610_jon True)
1549 (sleep 15) 1549 (sleep 15)
1550 (print "your new suit is a mark vi, sent up from songnam this morning.") 1550 (print "your new suit is a mark vi, sent up from songnam this morning.")
1551 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0610_gun (ai_get_object guns) 1) 1551 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0610_gun (ai_get_object guns) 1)
1552 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0610_gun)) 1552 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0610_gun))
1553 (print "try to take it easy until you get used to it.") 1553 (print "try to take it easy until you get used to it.")
1554 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0620_gun (ai_get_object guns) 1) 1554 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0620_gun (ai_get_object guns) 1)
1555 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0620_gun)) 1555 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0620_gun))
1556 (cs_run_command_script guns cs_lookat_console_inhibitor) 1556 (cs_run_command_script guns cs_lookat_console_inhibitor)
1557 (sleep 30) 1557 (sleep 30)
1558 (print "ok. let's test your targeting, first thing.") 1558 (print "ok. let's test your targeting, first thing.")
1559 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0630_gun (ai_get_object guns) 1) 1559 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0630_gun (ai_get_object guns) 1)
1560 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0630_gun)) 1560 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0630_gun))
1561 (objectives_show_up_to 0) 1561 (objectives_show_up_to 0)
1562 (print "please look at the top light.") 1562 (print "please look at the top light.")
1563 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3000_gun (ai_get_object guns) 1) 1563 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3000_gun (ai_get_object guns) 1)
1564 (test_mindread_up) 1564 (test_mindread_up)
1565 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3000_gun)) 1565 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3000_gun))
1566 (print "good.") 1566 (print "good.")
1567 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0650_gun (ai_get_object guns) 1) 1567 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0650_gun (ai_get_object guns) 1)
1568 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0650_gun)) 1568 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0650_gun))
1569 (print "now look at the bottom light.") 1569 (print "now look at the bottom light.")
1570 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3010_gun (ai_get_object guns) 1) 1570 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3010_gun (ai_get_object guns) 1)
1571 (test_mindread_down) 1571 (test_mindread_down)
1572 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3010_gun)) 1572 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3010_gun))
1573 (print "allright") 1573 (print "allright")
1574 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0670_gun (ai_get_object guns) 1) 1574 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0670_gun (ai_get_object guns) 1)
1575 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0670_gun)) 1575 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0670_gun))
1576 (print "look at the top light again.") 1576 (print "look at the top light again.")
1577 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3020_gun (ai_get_object guns) 1) 1577 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3020_gun (ai_get_object guns) 1)
1578 (test_mindread_up) 1578 (test_mindread_up)
1579 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3020_gun)) 1579 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3020_gun))
1580 (print "that's it…") 1580 (print "that's it…")
1581 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0760_gun (ai_get_object guns) 1) 1581 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0760_gun (ai_get_object guns) 1)
1582 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0760_gun)) 1582 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0760_gun))
1583 (print "now the bottom one.") 1583 (print "now the bottom one.")
1584 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3030_gun (ai_get_object guns) 1) 1584 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3030_gun (ai_get_object guns) 1)
1585 (test_mindread_down) 1585 (test_mindread_down)
1586 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3030_gun)) 1586 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3030_gun))
1587 (print "ok.") 1587 (print "ok.")
1588 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0740_gun (ai_get_object guns) 1) 1588 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0740_gun (ai_get_object guns) 1)
1589 (sleep 30) 1589 (sleep 30)
1590 (player_camera_control True) 1590 (player_camera_control True)
1591 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0740_gun)) 1591 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0740_gun))
1592 (if (>= counter_mindread_normal_success 2) 1592 (if (>= counter_mindread_normal_success 2)
1593 (begin 1593 (begin
1594 (begin 1594 (begin
1595 (sleep 30) 1595 (sleep 30)
1596 (print "everything checks out.") 1596 (print "everything checks out.")
1597 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0770_gun (ai_get_object guns) 1) 1597 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0770_gun (ai_get_object guns) 1)
1598 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0770_gun)) 1598 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0770_gun))
1599 (controller_set_look_invert False)1599 (controller_set_look_invert False)
1600 )1600 )
1601 ) 1601 )
1602 (if (>= counter_mindread_invert_success 2) 1602 (if (>= counter_mindread_invert_success 2)
1603 (begin 1603 (begin
1604 (begin 1604 (begin
1605 (sleep 30) 1605 (sleep 30)
1606 (print "everything checks out.") 1606 (print "everything checks out.")
1607 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0770_gun (ai_get_object guns) 1) 1607 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0770_gun (ai_get_object guns) 1)
1608 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0770_gun)) 1608 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0770_gun))
1609 (controller_set_look_invert True)1609 (controller_set_look_invert True)
1610 )1610 )
1611 ) 1611 )
1612 (if True 1612 (if True
1613 (begin 1613 (begin
1614 (training_pitch)1614 (training_pitch)
1615 ) void))) 1615 ) void)))
1616 (training_looker_lights_off)1616 (training_looker_lights_off)
1617 )1617 )
1618)1618)
16191619
1620(script static training_move 1620(script static training_move
1621 (begin 1621 (begin
1622 (print "stand-by. i'm going to offline the inhibitors…") 1622 (print "stand-by. i'm going to offline the inhibitors…")
1623 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0790_gun (ai_get_object guns) 1) 1623 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0790_gun (ai_get_object guns) 1)
1624 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0790_gun)) 1624 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0790_gun))
1625 (device_set_position inhibitor 1) 1625 (device_set_position inhibitor 1)
1626 (player_disable_movement False) 1626 (player_disable_movement False)
1627 (hud_enable_training True) 1627 (hud_enable_training True)
1628 (cs_run_command_script guns cs_lookat_console_inhibitor) 1628 (cs_run_command_script guns cs_lookat_console_inhibitor)
1629 (sleep 30) 1629 (sleep 30)
1630 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0800_jon True) 1630 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0800_jon True)
1631 (sleep 10) 1631 (sleep 10)
1632 (print "move around a little, get a feel for it.") 1632 (print "move around a little, get a feel for it.")
1633 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0800_gun (ai_get_object guns) 1) 1633 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0800_gun (ai_get_object guns) 1)
1634 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0800_gun)) 1634 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0800_gun))
1635 (print "when you're ready, come and meet me by the zapper.") 1635 (print "when you're ready, come and meet me by the zapper.")
1636 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0810_gun (ai_get_object guns) 1) 1636 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0810_gun (ai_get_object guns) 1)
1637 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0810_gun)) 1637 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0810_gun))
1638 (cs_run_command_script guns cs_guns_zapper_halfway) 1638 (cs_run_command_script guns cs_guns_zapper_halfway)
1639 (set timer_prompt_start_spot 1639 (set timer_prompt_start_spot
1640 (+ timer_prompt_start_spot delay_prompt_short)) 1640 (+ timer_prompt_start_spot delay_prompt_short))
1641 (sleep_until 1641 (sleep_until
1642 (begin 1642 (begin
1643 (if (not (volume_test_objects tv_start_spot (players))) 1643 (if (not (volume_test_objects tv_start_spot (players)))
1644 (begin True)1644 (begin True)
1645 (if (> timer_prompt_start_spot 0) 1645 (if (> timer_prompt_start_spot 0)
1646 (begin 1646 (begin
1647 (begin 1647 (begin
1648 (set timer_prompt_start_spot 1648 (set timer_prompt_start_spot
1649 (- timer_prompt_start_spot 1)) False)1649 (- timer_prompt_start_spot 1)) False)
1650 1650
1651 ) (if True 1651 ) (if True
1652 (begin 1652 (begin
1653 (prompt_start_spot)1653 (prompt_start_spot)
1654 ) False)))1654 ) False)))
1655 ) 1) 1655 ) 1)
1656 (hud_show_training_text False) 1656 (hud_show_training_text False)
1657 (cs_run_command_script guns cs_guns_zapper_wait)1657 (cs_run_command_script guns cs_guns_zapper_wait)
1658 )1658 )
1659)1659)
16601660
1661(script static training_shield 1661(script static training_shield
1662 (begin 1662 (begin
1663 (sleep_until 1663 (sleep_until
1664 (begin 1664 (begin
1665 (if (< (objects_distance_to_flag (players) zapper_flag) 2.5) 1665 (if (< (objects_distance_to_flag (players) zapper_flag) 2.5)
1666 (begin True)1666 (begin True)
1667 (if (> timer_prompt_careful 0) 1667 (if (> timer_prompt_careful 0)
1668 (begin 1668 (begin
1669 (begin 1669 (begin
1670 (set timer_prompt_careful 1670 (set timer_prompt_careful
1671 (- timer_prompt_careful 1)) False)1671 (- timer_prompt_careful 1)) False)
1672 1672
1673 ) (if (game_safe_to_save) 1673 ) (if (game_safe_to_save)
1674 (begin False)1674 (begin False)
1675 (if True 1675 (if True
1676 (begin 1676 (begin
1677 (begin 1677 (begin
1678 (sleep 30) (if (not (game_safe_to_save)) (prompt_careful))1678 (sleep 30) (if (not (game_safe_to_save)) (prompt_careful))
1679 )1679 )
1680 ) False))))1680 ) False))))
1681 ) 1) 1681 ) 1)
1682 (sleep_until (< (objects_distance_to_flag (ai_get_object guns) zapper_flag) 1.5) 1) 1682 (sleep_until (< (objects_distance_to_flag (ai_get_object guns) zapper_flag) 1.5) 1)
1683 (sleep_until (< (objects_distance_to_object (players) (ai_get_object guns)) 2.5) 1) 1683 (sleep_until (< (objects_distance_to_object (players) (ai_get_object guns)) 2.5) 1)
1684 (unit_set_emotional_state (ai_get_unit guns) inquisitive 0 1) 1684 (unit_set_emotional_state (ai_get_unit guns) inquisitive 0 1)
1685 (unit_set_emotional_state (ai_get_unit guns) angry 0 1) 1685 (unit_set_emotional_state (ai_get_unit guns) angry 0 1)
1686 (unit_set_emotional_state (ai_get_unit guns) annoyed 0 1) 1686 (unit_set_emotional_state (ai_get_unit guns) annoyed 0 1)
1687 (print "pay attention because i'm only going to over this once.") 1687 (print "pay attention because i'm only going to over this once.")
1688 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3150_gun (ai_get_object guns) 1) 1688 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3150_gun (ai_get_object guns) 1)
1689 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3150_gun)) 1689 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3150_gun))
1690 (print "this station will test your recharging energy shields") 1690 (print "this station will test your recharging energy shields")
1691 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3140_gun (ai_get_object guns) 1) 1691 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3140_gun (ai_get_object guns) 1)
1692 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3140_gun)) 1692 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3140_gun))
1693 (cs_run_command_script guns cs_guns_zapper) 1693 (cs_run_command_script guns cs_guns_zapper)
1694 (sleep_until 1694 (sleep_until
1695 (begin 1695 (begin
1696 (if (= (device_group_get zapper_control_group) 1) 1696 (if (= (device_group_get zapper_control_group) 1)
1697 (begin True)1697 (begin True)
1698 (if (> (objects_distance_to_object (players) (ai_get_object guns)) 2.5) 1698 (if (> (objects_distance_to_object (players) (ai_get_object guns)) 2.5)
1699 (begin False)1699 (begin False)
1700 (if (> timer_prompt_zapper 0) 1700 (if (> timer_prompt_zapper 0)
1701 (begin 1701 (begin
1702 (begin 1702 (begin
1703 (set timer_prompt_zapper 1703 (set timer_prompt_zapper
1704 (- timer_prompt_zapper 1)) False)1704 (- timer_prompt_zapper 1)) False)
1705 1705
1706 ) (if (> timer_prompt_zapper_lookatme 0) 1706 ) (if (> timer_prompt_zapper_lookatme 0)
1707 (begin 1707 (begin
1708 (begin 1708 (begin
1709 (set timer_prompt_zapper_lookatme 1709 (set timer_prompt_zapper_lookatme
1710 (- timer_prompt_zapper_lookatme 1)) 1710 (- timer_prompt_zapper_lookatme 1))
1711 (set timer_prompt_zapper_getin 1711 (set timer_prompt_zapper_getin
1712 (- timer_prompt_zapper_getin 1)) 1712 (- timer_prompt_zapper_getin 1))
1713 (set timer_prompt_zapper_button 1713 (set timer_prompt_zapper_button
1714 (- timer_prompt_zapper_button 1)) 1714 (- timer_prompt_zapper_button 1))
1715 (if (objects_can_see_object 1715 (if (objects_can_see_object
1716 (player0)1716 (player0)
1717 1717
1718 (ai_get_object guns) 40) 1718 (ai_get_object guns) 40)
1719 (begin 1719 (begin
1720 (sleep 15) 1720 (sleep 15)
1721 (set timer_prompt_zapper_lookatme 0)1721 (set timer_prompt_zapper_lookatme 0)
1722 )) False)1722 )) False)
1723 1723
1724 ) (if (> timer_prompt_zapper_getin 0) 1724 ) (if (> timer_prompt_zapper_getin 0)
1725 (begin 1725 (begin
1726 (begin 1726 (begin
1727 (set timer_prompt_zapper_lookatme 1727 (set timer_prompt_zapper_lookatme
1728 (- timer_prompt_zapper_lookatme 1)) 1728 (- timer_prompt_zapper_lookatme 1))
1729 (set timer_prompt_zapper_getin 1729 (set timer_prompt_zapper_getin
1730 (- timer_prompt_zapper_getin 1)) 1730 (- timer_prompt_zapper_getin 1))
1731 (set timer_prompt_zapper_button 1731 (set timer_prompt_zapper_button
1732 (- timer_prompt_zapper_button 1)) 1732 (- timer_prompt_zapper_button 1))
1733 (if (volume_test_objects tv_zapper (players)) 1733 (if (volume_test_objects tv_zapper (players))
1734 (begin 1734 (begin
1735 (sleep 15) 1735 (sleep 15)
1736 (set timer_prompt_zapper_getin 0)1736 (set timer_prompt_zapper_getin 0)
1737 )) False)1737 )) False)
1738 1738
1739 ) (if (> timer_prompt_zapper_button 0) 1739 ) (if (> timer_prompt_zapper_button 0)
1740 (begin 1740 (begin
1741 (begin 1741 (begin
1742 (set timer_prompt_zapper_button 1742 (set timer_prompt_zapper_button
1743 (- timer_prompt_zapper_button 1)) 1743 (- timer_prompt_zapper_button 1))
1744 (set timer_prompt_zapper_getin 1744 (set timer_prompt_zapper_getin
1745 (- timer_prompt_zapper_getin 1)) 1745 (- timer_prompt_zapper_getin 1))
1746 (set timer_prompt_zapper_button 1746 (set timer_prompt_zapper_button
1747 (- timer_prompt_zapper_button 1)) 1747 (- timer_prompt_zapper_button 1))
1748 (if (= (device_group_get zapper_control_group) 1) 1748 (if (= (device_group_get zapper_control_group) 1)
1749 (begin 1749 (begin
1750 (sleep 15) 1750 (sleep 15)
1751 (set timer_prompt_zapper_button 0)1751 (set timer_prompt_zapper_button 0)
1752 )) False)1752 )) False)
1753 1753
1754 ) (if (not (objects_can_see_object 1754 ) (if (not (objects_can_see_object
1755 (player0)1755 (player0)
1756 1756
1757 (ai_get_object guns) 40)) 1757 (ai_get_object guns) 40))
1758 (begin 1758 (begin
1759 (prompt_zapper_lookatme)1759 (prompt_zapper_lookatme)
1760 ) (if (not (volume_test_objects tv_zapper (players))) 1760 ) (if (not (volume_test_objects tv_zapper (players)))
1761 (begin 1761 (begin
1762 (prompt_zapper_getin)1762 (prompt_zapper_getin)
1763 ) (if True 1763 ) (if True
1764 (begin 1764 (begin
1765 (prompt_zapper_button)1765 (prompt_zapper_button)
1766 ) False)))))))))1766 ) False)))))))))
1767 ) 1) 1767 ) 1)
1768 (objectives_finish_up_to 2) 1768 (objectives_finish_up_to 2)
1769 (device_set_power zapper 1) 1769 (device_set_power zapper 1)
1770 (device_set_power zapper_cage 1) 1770 (device_set_power zapper_cage 1)
1771 (hud_show_training_text False) 1771 (hud_show_training_text False)
1772 (unit_set_maximum_vitality 1772 (unit_set_maximum_vitality
1773 (player0)1773 (player0)
1774 30 70) 1774 30 70)
1775 (cs_run_command_script guns cs_lookat_console_zapper) 1775 (cs_run_command_script guns cs_lookat_console_zapper)
1776 (sleep 90) 1776 (sleep 90)
1777 (cs_run_command_script guns cs_lookat_console_zapper) 1777 (cs_run_command_script guns cs_lookat_console_zapper)
1778 (sleep 15) 1778 (sleep 15)
1779 (unit_set_current_vitality 1779 (unit_set_current_vitality
1780 (player0)1780 (player0)
1781 30 0) 1781 30 0)
1782 (sleep 15) 1782 (sleep 15)
1783 (print "bingo!") 1783 (print "bingo!")
1784 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0940_gun (ai_get_object guns) 1) 1784 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0940_gun (ai_get_object guns) 1)
1785 (sleep 30) 1785 (sleep 30)
1786 (cs_run_command_script guns cs_lookat_console_zapper) 1786 (cs_run_command_script guns cs_lookat_console_zapper)
1787 (print "as you can see, they re-charge a lot faster.") 1787 (print "as you can see, they re-charge a lot faster.")
1788 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0950_gun (ai_get_object guns) 1) 1788 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0950_gun (ai_get_object guns) 1)
1789 (sleep 45) 1789 (sleep 45)
1790 (ai_place johnson) 1790 (ai_place johnson)
1791 (ai_cannot_die johnson True) 1791 (ai_cannot_die johnson True)
1792 (cs_run_command_script johnson cs_johnson_elevator) 1792 (cs_run_command_script johnson cs_johnson_elevator)
1793 (device_set_position door_elevator_tram_bot 1) 1793 (device_set_position door_elevator_tram_bot 1)
1794 (sleep_until (= (device_get_position door_elevator_tram_bot) 1) 1) 1794 (sleep_until (= (device_get_position door_elevator_tram_bot) 1) 1)
1795 (cs_run_command_script johnson cs_johnson_start) 1795 (cs_run_command_script johnson cs_johnson_start)
1796 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0950_gun)) 1796 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0950_gun))
1797 (sleep 60) 1797 (sleep 60)
1798 (device_set_power zapper 0) 1798 (device_set_power zapper 0)
1799 (device_set_power zapper_cage 0) 1799 (device_set_power zapper_cage 0)
1800 (sleep 30) 1800 (sleep 30)
1801 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0960_jon True) 1801 (custom_animation (ai_get_unit guns) objects\characters\marine\tutorial\tutorial l01_0960_jon True)
1802 (print "if your shields go down, find some cover, wait for the meter to read fully-charged.") 1802 (print "if your shields go down, find some cover, wait for the meter to read fully-charged.")
1803 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0960_gun (ai_get_object guns) 1) 1803 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0960_gun (ai_get_object guns) 1)
1804 (sleep 45) 1804 (sleep 45)
1805 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0960_gun)) 1805 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0960_gun))
1806 (print "that, or he can just hide behind me.") 1806 (print "that, or he can just hide behind me.")
1807 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0970_jon (ai_get_object johnson) 1) 1807 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0970_jon (ai_get_object johnson) 1)
1808 (sleep 30) 1808 (sleep 30)
1809 (cs_run_command_script guns cs_lookat_johnson) 1809 (cs_run_command_script guns cs_lookat_johnson)
1810 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0970_jon)) 1810 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0970_jon))
1811 (sleep 15) 1811 (sleep 15)
1812 (cs_run_command_script johnson cs_johnson_glanceat_guns) 1812 (cs_run_command_script johnson cs_johnson_glanceat_guns)
1813 (sleep_until (objects_can_see_object 1813 (sleep_until (objects_can_see_object
1814 (player0)1814 (player0)
1815 1815
1816 (ai_get_object johnson) 40) 1 90) 1816 (ai_get_object johnson) 40) 1 90)
1817 (unit_set_emotional_state (ai_get_unit johnson) inquisitive 0.5 1) 1817 (unit_set_emotional_state (ai_get_unit johnson) inquisitive 0.5 1)
1818 (print "you done with my boy here? i don't see any training-wheels…") 1818 (print "you done with my boy here? i don't see any training-wheels…")
1819 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1000_jon (ai_get_object johnson) 1) 1819 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1000_jon (ai_get_object johnson) 1)
1820 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1000_jon) 90)) 1820 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1000_jon) 90))
1821 (cs_run_command_script johnson cs_lookat_player) 1821 (cs_run_command_script johnson cs_lookat_player)
1822 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1000_jon)) 1822 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1000_jon))
1823 (print "his armor's working fine.") 1823 (print "his armor's working fine.")
1824 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1) 1824 (unit_set_emotional_state (ai_get_unit guns) annoyed 0.5 1)
1825 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1010_gun (ai_get_object guns) 1) 1825 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1010_gun (ai_get_object guns) 1)
1826 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1010_gun)) 1826 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1010_gun))
1827 (sleep 15) 1827 (sleep 15)
1828 (unit_set_emotional_state (ai_get_unit johnson) inquisitive 0 1) 1828 (unit_set_emotional_state (ai_get_unit johnson) inquisitive 0 1)
1829 (cs_run_command_script guns cs_lookat_player) 1829 (cs_run_command_script guns cs_lookat_player)
1830 (sleep_until (objects_can_see_object 1830 (sleep_until (objects_can_see_object
1831 (player0)1831 (player0)
1832 1832
1833 (ai_get_object guns) 40) 1 90) 1833 (ai_get_object guns) 40) 1 90)
1834 (print "you're free to go, son. just remember: take things slow.") 1834 (print "you're free to go, son. just remember: take things slow.")
1835 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0980_gun (ai_get_object guns) 1) 1835 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0980_gun (ai_get_object guns) 1)
1836 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0980_gun) 60)) 1836 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0980_gun) 60))
1837 (cs_run_command_script johnson cs_lookat_player) 1837 (cs_run_command_script johnson cs_lookat_player)
1838 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0980_gun))1838 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0980_gun))
1839 )1839 )
1840)1840)
18411841
1842(script dormant training_done_tram 1842(script dormant training_done_tram
1843 (begin 1843 (begin
1844 (ai_place atr1_mar) 1844 (ai_place atr1_mar)
1845 (ai_place mid_mar) 1845 (ai_place mid_mar)
1846 (device_set_position_immediate door_tram_2 1) 1846 (device_set_position_immediate door_tram_2 1)
1847 (sleep_until (>= (device_get_position tram) 0.25) 1) 1847 (sleep_until (>= (device_get_position tram) 0.25) 1)
1848 (device_set_position door_tram_2 0) 1848 (device_set_position door_tram_2 0)
1849 (sleep 30) 1849 (sleep 30)
1850 (ai_erase atr1_mar) 1850 (ai_erase atr1_mar)
1851 (sleep_until (>= (device_get_position tram) 0.45) 1) 1851 (sleep_until (>= (device_get_position tram) 0.45) 1)
1852 (device_set_position door_tram_3 1) 1852 (device_set_position door_tram_3 1)
1853 (ai_place atr2_mar) 1853 (ai_place atr2_mar)
1854 (sleep_until (>= (device_get_position tram) 0.55) 1) 1854 (sleep_until (>= (device_get_position tram) 0.55) 1)
1855 (device_set_position door_tram_3 0) 1855 (device_set_position door_tram_3 0)
1856 (sleep 30) 1856 (sleep 30)
1857 (ai_erase mid_mar) 1857 (ai_erase mid_mar)
1858 (sleep_until (>= (device_get_position tram) 0.75) 1) 1858 (sleep_until (>= (device_get_position tram) 0.75) 1)
1859 (device_set_position door_tram_4 1) 1859 (device_set_position door_tram_4 1)
1860 (object_create_anew tram_marine_1) 1860 (object_create_anew tram_marine_1)
1861 (object_create_anew tram_marine_2) 1861 (object_create_anew tram_marine_2)
1862 (object_create_anew tram_marine_3) 1862 (object_create_anew tram_marine_3)
1863 (object_create_anew tram_marine_4) 1863 (object_create_anew tram_marine_4)
1864 (object_create_anew tram_marine_5) 1864 (object_create_anew tram_marine_5)
1865 (object_create_anew tram_marine_6) 1865 (object_create_anew tram_marine_6)
1866 (object_create_anew tram_marine_7) 1866 (object_create_anew tram_marine_7)
1867 (custom_animation_loop tram_marine_1 objects\characters\marine\x02\x02 marine_whistle_loop False) 1867 (custom_animation_loop tram_marine_1 objects\characters\marine\x02\x02 marine_whistle_loop False)
1868 (custom_animation_loop tram_marine_2 objects\characters\marine\x02\x02 marine_fist_loop False) 1868 (custom_animation_loop tram_marine_2 objects\characters\marine\x02\x02 marine_fist_loop False)
1869 (custom_animation_loop tram_marine_3 objects\characters\marine\x02\x02 marine_clapping_loop False) 1869 (custom_animation_loop tram_marine_3 objects\characters\marine\x02\x02 marine_clapping_loop False)
1870 (sleep 5) 1870 (sleep 5)
1871 (custom_animation_loop tram_marine_6 objects\characters\marine\x02\x02 marine_whistle_loop False) 1871 (custom_animation_loop tram_marine_6 objects\characters\marine\x02\x02 marine_whistle_loop False)
1872 (custom_animation_loop tram_marine_5 objects\characters\marine\x02\x02 marine_fist_loop False) 1872 (custom_animation_loop tram_marine_5 objects\characters\marine\x02\x02 marine_fist_loop False)
1873 (custom_animation_loop tram_marine_4 objects\characters\marine\x02\x02 marine_clapping_loop False) 1873 (custom_animation_loop tram_marine_4 objects\characters\marine\x02\x02 marine_clapping_loop False)
1874 (sleep 5) 1874 (sleep 5)
1875 (custom_animation_loop tram_marine_7 objects\characters\marine\x02\x02 marine_whistle_loop False) 1875 (custom_animation_loop tram_marine_7 objects\characters\marine\x02\x02 marine_whistle_loop False)
1876 (sleep_until (>= (device_get_position tram) 0.9) 1) 1876 (sleep_until (>= (device_get_position tram) 0.9) 1)
1877 (device_set_position door_tram_4 0) 1877 (device_set_position door_tram_4 0)
1878 (sleep 30) 1878 (sleep 30)
1879 (ai_erase atr2_mar)1879 (ai_erase atr2_mar)
1880 )1880 )
1881)1881)
18821882
1883(script static training_done 1883(script static training_done
1884 (begin 1884 (begin
1885 (device_set_position_immediate tram 0) 1885 (device_set_position_immediate tram 0)
1886 (cs_run_command_script johnson cs_lookat_guns) 1886 (cs_run_command_script johnson cs_lookat_guns)
1887 (print "don't worry, i'll hold his hand.") 1887 (print "don't worry, i'll hold his hand.")
1888 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1040_jon (ai_get_object johnson) 1) 1888 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1040_jon (ai_get_object johnson) 1)
1889 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1040_jon) 30)) 1889 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_1040_jon) 30))
1890 (cs_run_command_script johnson cs_johnson_elevator) 1890 (cs_run_command_script johnson cs_johnson_elevator)
1891 (sleep 15) 1891 (sleep 15)
1892 (cs_run_command_script guns cs_guns_elevator) 1892 (cs_run_command_script guns cs_guns_elevator)
1893 (sleep 15) 1893 (sleep 15)
1894 (sleep_until (volume_test_objects_all tv_elevator_tram_bot (ai_get_object johnson)) 1 (* 30 seconds)) 1894 (sleep_until (volume_test_objects_all tv_elevator_tram_bot (ai_get_object johnson)) 1 (* 30 seconds))
1895 (if (not (volume_test_objects_all tv_elevator_tram_bot (ai_get_object johnson))) 1895 (if (not (volume_test_objects_all tv_elevator_tram_bot (ai_get_object johnson)))
1896 (object_teleport (ai_get_object johnson) tram_flag)) 1896 (object_teleport (ai_get_object johnson) tram_flag))
1897 (sleep_until (if (volume_test_objects_all tv_elevator_tram_bot (players)) 1897 (sleep_until (if (volume_test_objects_all tv_elevator_tram_bot (players))
1898 (begin True)1898 (begin True)
1899 (if (> timer_prompt_elevator_plr 0) 1899 (if (> timer_prompt_elevator_plr 0)
1900 (begin 1900 (begin
1901 (begin 1901 (begin
1902 (set timer_prompt_elevator_plr 1902 (set timer_prompt_elevator_plr
1903 (- timer_prompt_elevator_plr 1)) False)1903 (- timer_prompt_elevator_plr 1)) False)
1904 1904
1905 ) (if True 1905 ) (if True
1906 (begin 1906 (begin
1907 (prompt_elevator_plr)1907 (prompt_elevator_plr)
1908 ) False))) 1) 1908 ) False))) 1)
1909 (objectives_finish_up_to 3) 1909 (objectives_finish_up_to 3)
1910 (object_create wall_elevator_tram_bot) 1910 (object_create wall_elevator_tram_bot)
1911 (set mark_training_done True) 1911 (set mark_training_done True)
1912 (sleep_until (< (objects_distance_to_flag (ai_get_object guns) tram_flag) 2.5) 1 210) 1912 (sleep_until (< (objects_distance_to_flag (ai_get_object guns) tram_flag) 2.5) 1 210)
1913 (cs_run_command_script johnson cs_johnson_elevator_face_guns) 1913 (cs_run_command_script johnson cs_johnson_elevator_face_guns)
1914 (print "so johnson, when you gonna tell me how you made it back home in one piece?") 1914 (print "so johnson, when you gonna tell me how you made it back home in one piece?")
1915 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3360_gun (ai_get_object guns) 1) 1915 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3360_gun (ai_get_object guns) 1)
1916 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3360_gun)) 1916 (sleep (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_3360_gun))
1917 (print "sorry, guns. it's classified.") 1917 (print "sorry, guns. it's classified.")
1918 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0990_jon (ai_get_object johnson) 1) 1918 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_0990_jon (ai_get_object johnson) 1)
1919 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0990_jon) 0)) 1919 (sleep (- (sound_impulse_language_time sound\dialog\levels\01_spacestation\mission\l01_0990_jon) 0))
1920 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1) 1920 (unit_set_emotional_state (ai_get_unit guns) angry 0.5 1)
1921 (sleep 5) 1921 (sleep 5)
1922 (print "(humphs) my ass! well you can forget about those adjustments to your a2's scope! and you're sure as hell not getting one of the new m7s!") 1922 (print "(humphs) my ass! well you can forget about those adjustments to your a2's scope! and you're sure as hell not getting one of the new m7s!")
1923 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3370_gun (ai_get_object guns) 1) 1923 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_3370_gun (ai_get_object guns) 1)
1924 (sleep 30) 1924 (sleep 30)
1925 (sleep (random_range 25 75)) 1925 (sleep (random_range 25 75))
1926 (device_set_position elevator_tram 1) 1926 (device_set_position elevator_tram 1)
1927 (device_set_position door_elevator_tram_bot 0) 1927 (device_set_position door_elevator_tram_bot 0)
1928 (sleep_until (= (device_get_position door_elevator_tram_bot) 0) 1) 1928 (sleep_until (= (device_get_position door_elevator_tram_bot) 0) 1)
1929 (sound_impulse_stop sound\dialog\levels\01_spacestation\mission\l01_3370_gun) 1929 (sound_impulse_stop sound\dialog\levels\01_spacestation\mission\l01_3370_gun)
1930 (sleep 10) 1930 (sleep 10)
1931 (print "well he's in a particularly fine mood. maybe lord hood forgot to give him an invitation.") 1931 (print "well he's in a particularly fine mood. maybe lord hood forgot to give him an invitation.")
1932 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1810_jon (ai_get_object johnson) 1)1932 (sound_impulse_start sound\dialog\levels\01_spacestation\mission\l01_1810_jon (ai_get_object johnson) 1)
1933 )1933 )
1934)1934)
19351935
1936(script static training_tram 1936(script static training_tram
1937 (begin 1937