| 367 |
lars |
1 |
// EF2 Level Script File
|
| 98 |
lars |
2 |
//
|
| 880 |
lars |
3 |
// Level: map2.bsp
|
| 838 |
Avenger |
4 |
// Script By: Nemo22, Argyle, LTiefland, DrBob, 7o'nine, Avenger
|
| 615 |
hmm_cantde |
5 |
// Geometry By: Argyle, Alpharaptor, 7o'nine, Cortex
|
| 494 |
lars |
6 |
// Created on: Unknown
|
| 880 |
lars |
7 |
// Last Edited on: $Date: 2007-04-08 23:58:18 +0200 (So, 08 Apr 2007) $
|
|
|
8 |
// Last Edited By: $Author: lars $
|
| 98 |
lars |
9 |
|
|
|
10 |
#include "maps/global_scripts/global_common.scr"
|
| 487 |
Nemo22 |
11 |
#include "maps/global_scripts/global_math.scr"
|
|
|
12 |
#include "maps/global_scripts/global_acceleratedMovement.scr"
|
| 615 |
hmm_cantde |
13 |
#include "maps/global_scripts/global_playerLoadout.scr"
|
|
|
14 |
#include "maps/global_scripts/global_debugUtils.scr"
|
|
|
15 |
#include "maps/global_scripts/global_tricorderBase.scr"
|
|
|
16 |
#include "maps/global_scripts/global_tricorderKeypad.scr"
|
| 838 |
Avenger |
17 |
#include "maps/global_scripts/global_archetype.scr"
|
| 98 |
lars |
18 |
|
| 615 |
hmm_cantde |
19 |
// FUNCTIONS
|
| 838 |
Avenger |
20 |
void initArchetypes();
|
| 615 |
hmm_cantde |
21 |
void puzzleUsed();
|
|
|
22 |
void puzzleReset();
|
|
|
23 |
void puzzleSolved();
|
|
|
24 |
void closed_door_sound();
|
| 851 |
Avenger |
25 |
void closed_door_sound_2();
|
| 615 |
hmm_cantde |
26 |
void startWalker();
|
| 769 |
hmm_cantde |
27 |
void trans_guy_onUse();
|
| 670 |
hmm_cantde |
28 |
void cargoSecretReveal();
|
| 838 |
Avenger |
29 |
void stop_gas();
|
| 880 |
lars |
30 |
void skip_lounge();
|
|
|
31 |
void skip_recruit();
|
|
|
32 |
void skip_cell();
|
| 615 |
hmm_cantde |
33 |
// VARIABLES
|
| 487 |
Nemo22 |
34 |
|
| 98 |
lars |
35 |
|
|
|
36 |
void hovercar()
|
|
|
37 |
{
|
|
|
38 |
|
| 143 |
lars |
39 |
|
| 98 |
lars |
40 |
$hovercar_crate1.bind($hovercar_origin);
|
|
|
41 |
$hovercar_crate2.bind($hovercar_origin);
|
|
|
42 |
$hovercar_crate3.bind($hovercar_origin);
|
|
|
43 |
$hovercar_crate4.bind($hovercar_origin);
|
|
|
44 |
$hovercar_crate5.bind($hovercar_origin);
|
|
|
45 |
$hovercar_crate6.bind($hovercar_origin);
|
| 143 |
lars |
46 |
$hovercar_sound.bind($hovercar_origin);
|
| 98 |
lars |
47 |
$hovercar.bind($hovercar_origin);
|
|
|
48 |
|
|
|
49 |
wait(0.5);
|
| 143 |
lars |
50 |
|
| 98 |
lars |
51 |
$hovercar_origin.time(5);
|
|
|
52 |
$hovercar_origin.moveto($hovercar_origin2);
|
| 435 |
lars |
53 |
triggerentity($hovercar_sound);
|
| 98 |
lars |
54 |
waitfor($hovercar_origin);
|
|
|
55 |
$hovercar_origin.time(3);
|
|
|
56 |
$hovercar_origin.rotateYdown(90);
|
|
|
57 |
wait(3.5);
|
| 143 |
lars |
58 |
|
| 98 |
lars |
59 |
$hovercar_origin.time(5);
|
|
|
60 |
$hovercar_origin.moveto($hovercar_origin3);
|
|
|
61 |
wait(3);
|
|
|
62 |
$remote_guy.anim("idle");
|
|
|
63 |
$remote_guy.walkto("$remote_guy_1");
|
| 143 |
lars |
64 |
waitfor($remote_guy);
|
| 435 |
lars |
65 |
triggerentity($hovercar_sound);
|
| 98 |
lars |
66 |
$remote_guy.anim( "ent-datapad-use" );
|
| 363 |
lars |
67 |
$remote_guyr.doUse($hovercar_sound);
|
| 98 |
lars |
68 |
}
|
|
|
69 |
|
| 615 |
hmm_cantde |
70 |
void closed_door_sound()
|
|
|
71 |
{
|
| 851 |
Avenger |
72 |
$player.playsound( "sound/environment/computer/lcars_no.wav", 3, 1.0);
|
| 615 |
hmm_cantde |
73 |
}
|
|
|
74 |
|
| 851 |
Avenger |
75 |
void closed_door_sound_2()
|
|
|
76 |
{
|
|
|
77 |
$player.playsound( "sound/doors/door_locked.wav");
|
|
|
78 |
}
|
|
|
79 |
|
| 838 |
Avenger |
80 |
void initArchetypes()
|
|
|
81 |
{
|
|
|
82 |
|
| 859 |
lars |
83 |
thread globalArchetype_Setup( $gas_console, "gas_console");
|
| 838 |
Avenger |
84 |
// thread globalArchetype_Setup( $environmental_controls, "enviroc");
|
|
|
85 |
// thread globalArchetype_Setup( $maincomputer_controls, "compc");
|
|
|
86 |
// thread globalArchetype_Setup( $computer_a, "compa");
|
|
|
87 |
// thread globalArchetype_Setup( $computer_b, "compb");
|
|
|
88 |
// thread globalArchetype_Setup( $tubedoor_controls_2, "tubed");
|
|
|
89 |
|
| 851 |
Avenger |
90 |
// $gas_console.archetype ( "gas_console" );
|
| 838 |
Avenger |
91 |
}
|
|
|
92 |
|
| 98 |
lars |
93 |
void remote_scene()
|
|
|
94 |
{
|
|
|
95 |
thread hovercar();
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
void moya_cin()
|
|
|
99 |
{
|
| 487 |
Nemo22 |
100 |
|
| 412 |
argyle |
101 |
$moya.lookat( $player );
|
|
|
102 |
$player.angle( 345 );
|
| 494 |
lars |
103 |
$moya.playdialog("localization/sound/dialog/map01/moya/youspend.mp3",1,10000,0);
|
|
|
104 |
waitfordialog($moya);
|
|
|
105 |
$moya.playdialog("localization/sound/dialog/map01/moya/prettyviolent.mp3",1,10000,0);
|
|
|
106 |
waitfordialog($moya);
|
|
|
107 |
$lounge_illia.playdialog("localization/sound/dialog/map01/illia/afterserved.mp3",1,10000,1);
|
|
|
108 |
waitfordialog($lounge_illia);
|
|
|
109 |
$lounge_illia.playdialog("localization/sound/dialog/map01/illia/whatcanidoforyou.mp3",1,10000,1);
|
|
|
110 |
waitfordialog($lounge_illia);
|
|
|
111 |
$moya.playdialog("localization/sound/dialog/map01/moya/captain.mp3",1,10000,0);
|
|
|
112 |
waitfordialog($moya);
|
|
|
113 |
$moya.playdialog("localization/sound/dialog/map01/moya/brandy.mp3",1,10000,0);
|
|
|
114 |
waitfordialog($moya);
|
|
|
115 |
$lounge_illia.playdialog("localization/sound/dialog/map01/illia/iwillsee.mp3",1,10000,1);
|
|
|
116 |
waitfordialog($lounge_illia);
|
|
|
117 |
wait(1.5);
|
|
|
118 |
$lounge_illia.playdialog("localization/sound/dialog/map01/illia/anythingelse.mp3",1,10000,1);
|
|
|
119 |
waitfordialog($lounge_illia);
|
|
|
120 |
$moya.playdialog("localization/sound/dialog/map01/moya/no.mp3",1,10000,0);
|
|
|
121 |
waitfordialog($moya);
|
|
|
122 |
$player.immobilize( 0 );
|
| 412 |
argyle |
123 |
|
| 245 |
lars |
124 |
$moya.strictlyfollowpath(1);
|
| 352 |
lars |
125 |
$moya.walkto("$moya_nav1");
|
| 98 |
lars |
126 |
waitfor($moya);
|
| 352 |
lars |
127 |
$moya.walkto("$moya_nav2");
|
| 98 |
lars |
128 |
waitfor($moya);
|
| 352 |
lars |
129 |
$moya.walkto("$moya_nav3");
|
| 98 |
lars |
130 |
waitfor($moya);
|
| 352 |
lars |
131 |
$moya.walkto("$moya_nav_lift");
|
|
|
132 |
waitfor($moya);
|
| 615 |
hmm_cantde |
133 |
|
|
|
134 |
wait(4);
|
|
|
135 |
$moya.remove();
|
| 98 |
lars |
136 |
}
|
|
|
137 |
|
|
|
138 |
void hazard_cin()
|
|
|
139 |
{
|
|
|
140 |
$munro.walkto("$nav_transroom1");
|
|
|
141 |
$kourban.walkto("$nav_transroom2");
|
| 670 |
hmm_cantde |
142 |
wait(1);
|
| 98 |
lars |
143 |
$gonzales.walkto("$nav_transroom3");
|
|
|
144 |
wait(3);
|
|
|
145 |
waitfor($munro);
|
| 245 |
lars |
146 |
$mankell.lookat($munro);
|
| 98 |
lars |
147 |
$mankell.playdialog("localization/sound/dialog/map02/mankell/nicetohaveyou.mp3",1,10000,0);
|
|
|
148 |
waitfordialog($mankell);
|
|
|
149 |
$mankell.playdialog("localization/sound/dialog/map02/mankell/greet.mp3",1,10000,0);
|
|
|
150 |
waitfordialog($mankell);
|
|
|
151 |
$munro.playdialog("localization/sound/dialog/map02/munro/ayesir.mp3",1,10000,0);
|
|
|
152 |
waitfordialog($munro);
|
|
|
153 |
wait(2);
|
| 361 |
lars |
154 |
$munro.walkto("$nav_plat1");
|
|
|
155 |
$kourban.walkto("$nav_plat2");
|
|
|
156 |
$gonzales.walkto("$nav_plat3");
|
|
|
157 |
waitfor($kourban);
|
| 367 |
lars |
158 |
wait(2);
|
| 98 |
lars |
159 |
$kourban.displayEffect( "TransportOut", "Federation" );
|
|
|
160 |
$gonzales.displayEffect( "TransportOut", "Federation" );
|
|
|
161 |
$munro.displayEffect( "TransportOut", "Federation" );
|
| 100 |
lars |
162 |
wait(3);
|
| 98 |
lars |
163 |
$kourban.notsolid();
|
|
|
164 |
$gonzales.notsolid();
|
|
|
165 |
$munro.notsolid();
|
| 615 |
hmm_cantde |
166 |
|
| 98 |
lars |
167 |
$mankell.walkto("$mankell_2");
|
|
|
168 |
waitfor($mankell);
|
|
|
169 |
$mankell.walkto("$mankell_4");
|
|
|
170 |
waitfor($mankell);
|
|
|
171 |
$mankell.walkto("$mankell_7");
|
|
|
172 |
waitfor($mankell);
|
| 352 |
lars |
173 |
$mankell.walkto("$mankell_8");
|
|
|
174 |
waitfor($mankell);
|
| 98 |
lars |
175 |
$mankell.walkto("$mankell_9");
|
|
|
176 |
waitfor($mankell);
|
| 288 |
lars |
177 |
$mankell.walkto("$mankell_10");
|
|
|
178 |
waitfor($mankell);
|
| 615 |
hmm_cantde |
179 |
|
|
|
180 |
wait(4);
|
|
|
181 |
$mankell.remove();
|
| 98 |
lars |
182 |
}
|
|
|
183 |
|
| 615 |
hmm_cantde |
184 |
|
|
|
185 |
|
| 98 |
lars |
186 |
void main()
|
|
|
187 |
{
|
| 822 |
lars |
188 |
$player.immobilize( 1 );
|
| 494 |
lars |
189 |
//Take away weapons from player!
|
|
|
190 |
//No tricorder in this map!
|
|
|
191 |
$player.take ( "models/weapons/worldmodel-compressionrifle.tik" );
|
|
|
192 |
$player.take ( "models/weapons/worldmodel-fieldassaultrifle.tik" );
|
|
|
193 |
$player.take ( "models/weapons/worldmodel-burstrifle.tik" );
|
|
|
194 |
$player.take ( "models/weapons/worldmodel-attrex-rifle.tik" );
|
|
|
195 |
$player.take ( "models/weapons/worldmodel-compressionrifle.tik" );
|
|
|
196 |
$player.take ( "models/weapons/worldmodel-phaser-STX.tik" );
|
|
|
197 |
$player.take ( "models/weapons/worldmodel-tricorder-STX.tik" );
|
|
|
198 |
|
| 98 |
lars |
199 |
//Setup people's use threads
|
|
|
200 |
thread globalCommon_OnUse( $remote_guy , "remote_guy_onUse" );
|
|
|
201 |
thread globalCommon_OnUse( $repair_lady, "repair_lady_onUse" );
|
| 769 |
hmm_cantde |
202 |
thread globalCommon_OnUse( $trans_guy, "trans_guy_onUse" );
|
| 487 |
Nemo22 |
203 |
|
| 559 |
argyle |
204 |
//Enterprise before Casino hiden + binden
|
| 487 |
Nemo22 |
205 |
$l_ent1.bind( $l_ent_origin );
|
|
|
206 |
$l_ent2.bind( $l_ent_origin );
|
|
|
207 |
$l_ent3.bind( $l_ent_origin );
|
|
|
208 |
$l_ent_origin.hide();
|
|
|
209 |
$l_ent1.notsolid();
|
|
|
210 |
$l_ent2.notsolid();
|
|
|
211 |
$l_ent3.notsolid();
|
|
|
212 |
|
|
|
213 |
$warp_ent1.bind( $warp_ent_origin );
|
|
|
214 |
$warp_ent2.bind( $warp_ent_origin );
|
|
|
215 |
$warp_ent3.bind( $warp_ent_origin );
|
| 98 |
lars |
216 |
|
| 121 |
lars |
217 |
//AI_OFF
|
| 98 |
lars |
218 |
$munro.ai_off();
|
|
|
219 |
$munro.pushable( 0 );
|
| 121 |
lars |
220 |
$lounge_illia.ai_off();
|
|
|
221 |
$lounge_illia.pushable( 0 );
|
|
|
222 |
$lounge_stevens.ai_off();
|
|
|
223 |
$lounge_stevens.pushable( 0 );
|
| 98 |
lars |
224 |
$kourban.ai_off();
|
|
|
225 |
$kourban.pushable( 0 );
|
|
|
226 |
$gonzales.ai_off();
|
|
|
227 |
$gonzales.pushable( 0 );
|
|
|
228 |
$repair_lady.ai_off();
|
|
|
229 |
$repair_lady.pushable( 0 );
|
|
|
230 |
$remote_guy.ai_off();
|
|
|
231 |
$remote_guy.pushable( 0 );
|
|
|
232 |
$moya.ai_off();
|
|
|
233 |
$moya.pushable( 0 );
|
|
|
234 |
$mankell.ai_off();
|
|
|
235 |
$mankell.pushable( 0 );
|
| 121 |
lars |
236 |
$illia3.ai_off();
|
|
|
237 |
$illia3.pushable( 0 );
|
| 287 |
lars |
238 |
$illia_holo.ai_off();
|
|
|
239 |
$illia_holo.pushable( 0 );
|
| 121 |
lars |
240 |
$stevens.ai_off();
|
|
|
241 |
$stevens.pushable( 0 );
|
|
|
242 |
$illia_prisoner.ai_off();
|
|
|
243 |
$illia_prisoner.pushable( 0 );
|
|
|
244 |
$tebok.ai_off();
|
|
|
245 |
$tebok.pushable( 0 );
|
| 487 |
Nemo22 |
246 |
$warp_illia.ai_off();
|
|
|
247 |
$warp_illia.pushable( 0 );
|
|
|
248 |
$warp_illia.hide();
|
| 769 |
hmm_cantde |
249 |
$trans_guy.ai_off();
|
|
|
250 |
$trans_guy.pushable( 0 );
|
| 98 |
lars |
251 |
|
| 121 |
lars |
252 |
//Hide NPCs
|
|
|
253 |
$lounge_illia.hide();
|
|
|
254 |
$lounge_illia.notsolid();
|
|
|
255 |
$lounge_stevens.hide();
|
|
|
256 |
$lounge_stevens.notsolid();
|
|
|
257 |
$illia3.hide();
|
|
|
258 |
$illia3.notsolid();
|
| 287 |
lars |
259 |
$illia_holo.hide();
|
|
|
260 |
$illia_holo.notsolid();
|
| 121 |
lars |
261 |
$illia_prisoner.hide();
|
|
|
262 |
$illia_prisoner.notsolid();
|
|
|
263 |
$tebok.hide();
|
|
|
264 |
$tebok.notsolid();
|
|
|
265 |
$stevens.hide();
|
|
|
266 |
$stevens.notsolid();
|
|
|
267 |
|
| 670 |
hmm_cantde |
268 |
//Hide cargo bay golden ship
|
|
|
269 |
$cargoSecret.hide();
|
|
|
270 |
$cargoSecret.notsolid();
|
|
|
271 |
|
| 121 |
lars |
272 |
soundtrack( "m2l3-sfa.mus" );
|
|
|
273 |
|
|
|
274 |
wait(0.5);
|
|
|
275 |
|
| 98 |
lars |
276 |
//Anims
|
|
|
277 |
$repair_lady.anim("cin-m3_hunch");
|
|
|
278 |
$remote_guy.useactorweapon( "EnterpriseDatapad" );
|
|
|
279 |
$remote_guy.anim( "ent-datapad-use" );
|
|
|
280 |
|
| 121 |
lars |
281 |
//Remove weapons
|
| 98 |
lars |
282 |
$gonzales.removeactorweapon ( "CompressionRifle" );
|
|
|
283 |
$munro.removeactorweapon ( "CompressionRifle" );
|
| 559 |
argyle |
284 |
$kourban.removeactorweapon ( "fieldassaultrifle" );
|
| 121 |
lars |
285 |
$illia3.removeactorweapon ( "CompressionRifle" );
|
|
|
286 |
$illia3.removeactorweapon ( "AssaultRifle" );
|
|
|
287 |
$illia3.removeactorweapon ( "CompressionRifleEnhanced" );
|
|
|
288 |
$lounge_illia.removeactorweapon ( "CompressionRifle" );
|
|
|
289 |
$lounge_illia.removeactorweapon ( "AssaultRifle" );
|
|
|
290 |
$lounge_illia.removeactorweapon ( "CompressionRifleEnhanced" );
|
|
|
291 |
$illia_prisoner.removeactorweapon ( "CompressionRifle" );
|
|
|
292 |
$illia_prisoner.removeactorweapon ( "AssaultRifle" );
|
|
|
293 |
$illia_prisoner.removeactorweapon ( "CompressionRifleEnhanced" );
|
| 487 |
Nemo22 |
294 |
$warp_illia.removeactorweapon ( "CompressionRifle" );
|
|
|
295 |
$warp_illia.removeactorweapon ( "AssaultRifle" );
|
|
|
296 |
$warp_illia.removeactorweapon ( "CompressionRifleEnhanced" );
|
| 121 |
lars |
297 |
|
| 670 |
hmm_cantde |
298 |
globalCommon_SpawnActor( "char/starfleet_crew-male.tik", "walker", '80 -688 -10', 0 );
|
|
|
299 |
$walker.ai_off();
|
|
|
300 |
$walker.removeactorweapon ( "CompressionRifle" );
|
|
|
301 |
$walker.removeactorweapon ( "AssaultRifle" );
|
|
|
302 |
$walker.removeactorweapon ( "CompressionRifleEnhanced" );
|
|
|
303 |
|
| 98 |
lars |
304 |
wait(1);
|
| 121 |
lars |
305 |
|
| 143 |
lars |
306 |
$player.loadobjectives("GBS2");
|
|
|
307 |
$player.setobjectiveshow("gettobar", 1);
|
|
|
308 |
$player.setobjectiveshow("findbrandy", 1);
|
|
|
309 |
$player.missionobjective(1);
|
|
|
310 |
|
| 352 |
lars |
311 |
$cargo_door.lock();
|
|
|
312 |
$locked_door1.lock();
|
|
|
313 |
$locked_door2.lock();
|
| 670 |
hmm_cantde |
314 |
$secretRoomDoors.lock();
|
| 352 |
lars |
315 |
|
| 670 |
hmm_cantde |
316 |
//Dynamic light setup in maintenance room
|
|
|
317 |
$world.light_lightstyle( "maintenanceLight", "ddgggggggggjjjhkkkkkkkzzzzzttmmmmmkkaaaaaaabbbfffffffff", 0);
|
|
|
318 |
|
| 98 |
lars |
319 |
moya_cin();
|
|
|
320 |
}
|
|
|
321 |
|
| 125 |
lars |
322 |
void cell_cin()
|
|
|
323 |
{
|
| 880 |
lars |
324 |
skipthread("skip_cell");
|
| 125 |
lars |
325 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
326 |
// Illia in a cell.
|
|
|
327 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
328 |
|
|
|
329 |
$illia_prisoner.show();
|
|
|
330 |
$illia_prisoner.solid();
|
|
|
331 |
$illia_prisoner.anim("cin-m8_situp");
|
|
|
332 |
$cam9.follow($cell_cam);
|
|
|
333 |
$cam9.cut();
|
|
|
334 |
|
|
|
335 |
wait(1);
|
|
|
336 |
|
|
|
337 |
cuecamera($cam9);
|
|
|
338 |
|
|
|
339 |
cam_fadein( 2, 0, 0, 0, 1, 0 );
|
|
|
340 |
|
|
|
341 |
$illia_prisoner.playdialog("localization/sound/dialog/map02/Illia/stevenswasgone.mp3",1,10000,0);
|
|
|
342 |
waitfordialog( $illia_prisoner );
|
|
|
343 |
$illia_prisoner.playdialog("localization/sound/dialog/map02/Illia/myplan.mp3",1,10000,0);
|
|
|
344 |
waitfordialog( $illia_prisoner );
|
|
|
345 |
$illia_prisoner.playdialog("localization/sound/dialog/map02/Illia/sabotage.mp3",1,10000,0);
|
|
|
346 |
waitfordialog( $illia_prisoner );
|
|
|
347 |
|
|
|
348 |
wait(1);
|
| 880 |
lars |
349 |
thread skip_cell();
|
| 125 |
lars |
350 |
}
|
|
|
351 |
|
| 487 |
Nemo22 |
352 |
//--------------------------------------------------
|
|
|
353 |
// Enterprise geht auf Warp
|
|
|
354 |
//--------------------------------------------------
|
|
|
355 |
void ent_warp()
|
|
|
356 |
{
|
|
|
357 |
$warp_illia.show();
|
|
|
358 |
$warp_illia.displayEffect( "TransportIn", "FederationNoAnim" );
|
|
|
359 |
cam_fadein( 1, 0, 0, 0, 1, 0 );
|
|
|
360 |
$cam1.follow( $warp_shot1 );
|
|
|
361 |
$cam1.cut();
|
|
|
362 |
$cam1.fov( 62 );
|
|
|
363 |
wait( .1 );
|
|
|
364 |
|
|
|
365 |
$cam2.follow( $warp_shot2 );
|
|
|
366 |
$cam2.cut();
|
|
|
367 |
$cam2.fov( 62 );
|
|
|
368 |
|
|
|
369 |
cuecamera( $cam1 );
|
|
|
370 |
$l_ent_origin.show();
|
|
|
371 |
$warp_illia.headWatchTarget( "l_ent_origin", 7 );
|
|
|
372 |
thread globalAccelMove( $l_ent_origin, '512 0 0', 5, "rampup", "" );
|
|
|
373 |
wait( 5 );
|
|
|
374 |
cuecamera( $cam2 );
|
|
|
375 |
wait( 11 );
|
|
|
376 |
$cam2.playsound( "sound/ships/enterprise/ent_enter_warp.wav", 0, 4, 20000 );
|
|
|
377 |
|
|
|
378 |
wait( 2.5 );
|
|
|
379 |
$spawnWarpFlash.scale( .6 );
|
|
|
380 |
$spawnWarpFlash.modelname( "models/fx/fx-warpflash-federation.tik" );
|
|
|
381 |
thread globalAccelMoveY( $warp_ent_origin, -3000, .8, "rampup", "");
|
|
|
382 |
wait( .8 );
|
|
|
383 |
$spawnWarpFlash.origin( $warp_ent_origin.getOrigin() );
|
|
|
384 |
triggerEntity( $spawnWarpFlash );
|
|
|
385 |
$warp_ent_origin.hide();
|
|
|
386 |
|
|
|
387 |
wait( 4 );
|
|
|
388 |
cam_fadeout( 1, 0, 0, 0, 1, 0 );
|
|
|
389 |
wait(1);
|
| 880 |
lars |
390 |
thread cell_cin();
|
| 487 |
Nemo22 |
391 |
}
|
|
|
392 |
|
| 121 |
lars |
393 |
void recruit_cin()
|
|
|
394 |
{
|
| 880 |
lars |
395 |
skipthread("skip_recruit");
|
| 121 |
lars |
396 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
397 |
// The sequence where you are on the Enterprise and talk to Stevens, who wants to recruit you once again for 31.
|
|
|
398 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
399 |
|
| 286 |
nemo22 |
400 |
// Die Kameras einschalten
|
|
|
401 |
//--Kamera wenn Illia uns Steven sich reinbeamen
|
|
|
402 |
$cam1.follow( $map2_ent_beamin );
|
|
|
403 |
$cam1.cut();
|
|
|
404 |
//--Kamera hinter Illia
|
|
|
405 |
$cam2.follow( $map2_ent_behindillia );
|
|
|
406 |
$cam2.cut();
|
|
|
407 |
//--Kamera hinter Stevens
|
|
|
408 |
$cam3.follow( $map2_ent_behindstevens );
|
|
|
409 |
$cam3.cut();
|
|
|
410 |
//--Kamera direkt vor Stevens Gesicht
|
|
|
411 |
$cam5.follow( $map2_ent_fstevens );
|
|
|
412 |
$cam5.cut();
|
|
|
413 |
|
| 121 |
lars |
414 |
wait(0.5);
|
|
|
415 |
cam_fadein( 1, 0, 0, 0, 1, 0 );
|
| 286 |
nemo22 |
416 |
cuecamera($cam1);
|
| 121 |
lars |
417 |
|
| 286 |
nemo22 |
418 |
$illia3.show();
|
|
|
419 |
$illia3.displayEffect( "TransportIn", "FederationNoAnim" );
|
|
|
420 |
$stevens.show();
|
|
|
421 |
$stevens.displayEffect( "TransportIn", "FederationNoAnim" );
|
| 121 |
lars |
422 |
|
|
|
423 |
wait(2);
|
|
|
424 |
|
|
|
425 |
$illia3.show();
|
|
|
426 |
$illia3.solid();
|
|
|
427 |
$stevens.show();
|
|
|
428 |
$stevens.solid();
|
|
|
429 |
|
|
|
430 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/offertodrink.mp3",1,10000,0);
|
| 286 |
nemo22 |
431 |
$stevens.anim( "conv-handsweep" );
|
|
|
432 |
waitforanimation( $stevens, "conv-handsweep" );
|
|
|
433 |
$stevens.anim( "idle" );
|
| 121 |
lars |
434 |
waitfordialog($stevens);
|
|
|
435 |
|
| 286 |
nemo22 |
436 |
wait(2);
|
| 125 |
lars |
437 |
|
| 286 |
nemo22 |
438 |
$camb.follow($map3_win1);
|
|
|
439 |
$camb.cut();
|
| 121 |
lars |
440 |
wait(0.5);
|
| 286 |
nemo22 |
441 |
cuecamera($cam1);
|
| 121 |
lars |
442 |
|
| 125 |
lars |
443 |
$illia3.walkto("$illia_window");
|
|
|
444 |
waitfor($illia3);
|
|
|
445 |
$illia3.lookat($atlantic);
|
| 412 |
argyle |
446 |
$cama.follow($map2_at_to_quar);
|
|
|
447 |
$cama.cut();
|
| 121 |
lars |
448 |
wait(1);
|
|
|
449 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/enterprise.mp3",1,10000,0);
|
|
|
450 |
waitfordialog($illia3);
|
| 286 |
nemo22 |
451 |
$camc.follow( $map2_ent_to_at );
|
|
|
452 |
$camc.cut();
|
| 412 |
argyle |
453 |
wait(.1);
|
| 286 |
nemo22 |
454 |
cuecamera($camc);
|
| 412 |
argyle |
455 |
wait( 11 );
|
| 286 |
nemo22 |
456 |
|
|
|
457 |
wait(.01);
|
|
|
458 |
cuecamera($cama);
|
| 412 |
argyle |
459 |
wait( 9.2 );
|
| 286 |
nemo22 |
460 |
|
| 121 |
lars |
461 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/captainpicard.mp3",1,10000,0);
|
| 286 |
nemo22 |
462 |
$illia3.anim( "conv-scratchingchin-thinking" );
|
|
|
463 |
waitforanimation( $illia3, "conv-scratchingchin-thinking" );
|
|
|
464 |
$illia3.anim( "idle" );
|
| 121 |
lars |
465 |
waitfordialog($illia3);
|
| 286 |
nemo22 |
466 |
|
|
|
467 |
$illia3.headWatchTarget( "stevens", 10 );
|
|
|
468 |
$stevens.headWatchTarget( "illia3", 10 );
|
|
|
469 |
|
| 121 |
lars |
470 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/thirtyone.mp3",1,10000,0);
|
| 286 |
nemo22 |
471 |
$illia3.anim( "conv-shakehead" );
|
|
|
472 |
waitforanimation( $illia3, "conv-shakehead" );
|
|
|
473 |
$illia3.anim( "idle" );
|
| 121 |
lars |
474 |
waitfordialog($illia3);
|
|
|
475 |
|
|
|
476 |
wait(1);
|
|
|
477 |
|
| 286 |
nemo22 |
478 |
cuecamera($cam3);
|
| 121 |
lars |
479 |
|
| 125 |
lars |
480 |
$illia3.walkto("$illia6");
|
|
|
481 |
waitfor($illia3);
|
|
|
482 |
$illia3.walkto("$illia1");
|
|
|
483 |
waitfor($illia3);
|
|
|
484 |
$illia3.lookat($stevens);
|
|
|
485 |
$stevens.lookat($illia3);
|
|
|
486 |
wait(2);
|
|
|
487 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/picard.mp3",1,10000,0);
|
| 286 |
nemo22 |
488 |
$stevens.anim( "conv-gesture" );
|
|
|
489 |
waitforanimation( $stevens, "conv-gesture" );
|
|
|
490 |
$stevens.anim( "idle" );
|
| 125 |
lars |
491 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
492 |
|
|
|
493 |
cuecamera($cam2);
|
| 125 |
lars |
494 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/situation.mp3",1,10000,0);
|
| 286 |
nemo22 |
495 |
$stevens.anim( "conv-idle" );
|
|
|
496 |
waitforanimation( $stevens, "conv-idle" );
|
|
|
497 |
$stevens.anim( "idle" );
|
| 125 |
lars |
498 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
499 |
|
|
|
500 |
//--Kamera um Illia und Stevens
|
|
|
501 |
$cam4.follow( $map2_ent_isround );
|
|
|
502 |
$cam4.cut();
|
|
|
503 |
wait( .1 );
|
|
|
504 |
cuecamera( $cam4 );
|
|
|
505 |
|
| 125 |
lars |
506 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/member.mp3",1,10000,0);
|
| 286 |
nemo22 |
507 |
$stevens.anim( "conv-talk-handsonhips" );
|
|
|
508 |
waitforanimation( $stevens, "conv-talk-handsonhips" );
|
|
|
509 |
$stevens.anim( "idle" );
|
| 125 |
lars |
510 |
waitfordialog($stevens);
|
| 121 |
lars |
511 |
|
|
|
512 |
wait(0.5);
|
|
|
513 |
|
| 286 |
nemo22 |
514 |
cuecamera($cam2);
|
| 125 |
lars |
515 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/experience.mp3",1,10000,0);
|
| 286 |
nemo22 |
516 |
$illia3.anim( "conv-shrug" );
|
|
|
517 |
waitforanimation( $illia3, "conv-shrug" );
|
|
|
518 |
$illia3.anim( "idle" );
|
| 125 |
lars |
519 |
waitfordialog($illia3);
|
| 121 |
lars |
520 |
|
| 125 |
lars |
521 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/graveness.mp3",1,10000,0);
|
| 286 |
nemo22 |
522 |
$stevens.anim( "conv-talk1" );
|
| 125 |
lars |
523 |
waitfordialog($stevens);
|
|
|
524 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/important.mp3",1,10000,0);
|
| 286 |
nemo22 |
525 |
// waitforanimation( $stevens, "conv-talk1" );
|
| 125 |
lars |
526 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
527 |
$stevens.anim( "idle" );
|
|
|
528 |
cuecamera($cam4);
|
| 125 |
lars |
529 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/sigmacell.mp3",1,10000,0);
|
| 286 |
nemo22 |
530 |
$stevens.anim( "conv-talk3" );
|
| 125 |
lars |
531 |
waitfordialog($stevens);
|
|
|
532 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/agents.mp3",1,10000,0);
|
| 286 |
nemo22 |
533 |
// waitforanimation( $stevens, "conv-talk3" );
|
| 125 |
lars |
534 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
535 |
$stevens.anim( "idle" );
|
| 121 |
lars |
536 |
|
| 286 |
nemo22 |
537 |
cuecamera($cam3);
|
| 125 |
lars |
538 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/includingme.mp3",1,10000,0);
|
| 286 |
nemo22 |
539 |
$illia.anim( "conv-yes" );
|
|
|
540 |
waitforanimation( $illia3, "conv-yes" );
|
|
|
541 |
$illia3.anim( "idle" );
|
| 125 |
lars |
542 |
waitfordialog($illia3);
|
| 286 |
nemo22 |
543 |
|
|
|
544 |
cuecamera($cam2);
|
| 125 |
lars |
545 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/helpus.mp3",1,10000,0);
|
| 286 |
nemo22 |
546 |
$stevens.anim( "conv-idle" );
|
|
|
547 |
waitforanimation( $stevens, "conv-idle" );
|
|
|
548 |
$stevens.anim( "idle" );
|
| 125 |
lars |
549 |
waitfordialog($stevens);
|
|
|
550 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/sleepwell.mp3",1,10000,0);
|
| 286 |
nemo22 |
551 |
$stevens.anim( "conv-fingerup-warning" );
|
|
|
552 |
waitforanimation( $stevens, "conv-fingerup-warning" );
|
|
|
553 |
$stevens.anim( "conv-gesture" );
|
|
|
554 |
waitforanimation( $stevens, "conv-gesture" );
|
|
|
555 |
$stevens.anim( "idle" );
|
| 125 |
lars |
556 |
waitfordialog($stevens);
|
| 121 |
lars |
557 |
|
| 286 |
nemo22 |
558 |
cuecamera($cam4);
|
| 125 |
lars |
559 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/send.mp3",1,10000,0);
|
| 286 |
nemo22 |
560 |
$illia3.anim( "conv-fingerpoint-atyou" );
|
|
|
561 |
waitforanimation( $illia3, "conv-fingerpoint-atyou" );
|
|
|
562 |
$illia3.anim( "idle" );
|
| 125 |
lars |
563 |
waitfordialog($illia3);
|
|
|
564 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/notinshape.mp3",1,10000,0);
|
| 286 |
nemo22 |
565 |
$illia3.anim( "conv-gesture1" );
|
|
|
566 |
waitforanimation( $illia3, "conv-gesture1" );
|
|
|
567 |
$illia3.anim( "idle" );
|
| 125 |
lars |
568 |
waitfordialog($illia3);
|
| 286 |
nemo22 |
569 |
|
|
|
570 |
cuecamera($cam2);
|
| 125 |
lars |
571 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/manytried.mp3",1,10000,0);
|
| 286 |
nemo22 |
572 |
$stevens.anim( "conv-handsweep" );
|
|
|
573 |
waitforanimation( $stevens, "conv-handsweep" );
|
|
|
574 |
$stevens.anim( "idle" );
|
| 125 |
lars |
575 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
576 |
|
| 125 |
lars |
577 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/noonecameback.mp3",1,10000,0);
|
| 286 |
nemo22 |
578 |
$stevens.anim( "conv-handflick-hellno" );
|
|
|
579 |
waitforanimation( $stevens, "conv-handflick-hellno" );
|
|
|
580 |
$stevens.anim( "idle" );
|
| 125 |
lars |
581 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
582 |
|
| 125 |
lars |
583 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/lasthope.mp3",1,10000,0);
|
| 286 |
nemo22 |
584 |
$stevens.anim( "conv-talk-handsonhips" );
|
|
|
585 |
waitforanimation( $stevens, "conv-talk-handsonhips" );
|
|
|
586 |
$stevens.anim( "idle" );
|
| 125 |
lars |
587 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
588 |
cuecamera($cam2);
|
|
|
589 |
|
| 125 |
lars |
590 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/theplan.mp3",1,10000,0);
|
| 286 |
nemo22 |
591 |
$stevens.anim( "conv-talk1" );
|
|
|
592 |
waitforanimation( $stevens, "conv-talk1" );
|
|
|
593 |
$stevens.anim( "idle" );
|
| 125 |
lars |
594 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
595 |
|
| 125 |
lars |
596 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/neutralzone.mp3",1,10000,0);
|
| 286 |
nemo22 |
597 |
$stevens.anim( "conv-talk3" );
|
|
|
598 |
waitforanimation( $stevens, "conv-talk3" );
|
|
|
599 |
$stevens.anim( "idle" );
|
| 125 |
lars |
600 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
601 |
|
|
|
602 |
cuecamera($cam4);
|
| 125 |
lars |
603 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/theatlantic.mp3",1,10000,0);
|
| 286 |
nemo22 |
604 |
$illia3.anim( "conv-talk2" );
|
|
|
605 |
waitforanimation( $illia3, "conv-talk2" );
|
|
|
606 |
$illia3.anim( "idle" );
|
| 125 |
lars |
607 |
waitfordialog($illia3);
|
| 121 |
lars |
608 |
|
| 286 |
nemo22 |
609 |
cuecamera($cam3);
|
| 125 |
lars |
610 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/sabotage.mp3",1,10000,0);
|
| 286 |
nemo22 |
611 |
$stevens.anim( "conv-shrug" );
|
|
|
612 |
waitforanimation( $stevens, "conv-shrug" );
|
|
|
613 |
$stevens.anim( "idle" );
|
| 125 |
lars |
614 |
waitfordialog($stevens);
|
|
|
615 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/please.mp3",1,10000,0);
|
| 286 |
nemo22 |
616 |
$stevens.anim( "conv-shakehead" );
|
|
|
617 |
waitforanimation( $stevens, "conv-shakehead" );
|
|
|
618 |
$stevens.anim( "idle" );
|
| 125 |
lars |
619 |
waitfordialog($stevens);
|
| 121 |
lars |
620 |
|
| 286 |
nemo22 |
621 |
cuecamera($cam2);
|
| 125 |
lars |
622 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/neutralzone.mp3",1,10000,0);
|
| 286 |
nemo22 |
623 |
$illia3.anim( "conv-scratchingchin-thinking" );
|
|
|
624 |
waitforanimation( $illia3, "conv-scratchingchin-thinking" );
|
|
|
625 |
$illia3.anim( "idle" );
|
| 125 |
lars |
626 |
waitfordialog($illia3);
|
|
|
627 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/romulanspace.mp3",1,10000,0);
|
| 286 |
nemo22 |
628 |
$illia3.anim( "conv-handsweep" );
|
|
|
629 |
waitforanimation( $illia3, "conv-handsweep" );
|
|
|
630 |
$illia3.anim( "idle" );
|
| 125 |
lars |
631 |
waitfordialog($illia3);
|
| 286 |
nemo22 |
632 |
|
|
|
633 |
//bis hier anims
|
|
|
634 |
//ab hier nur face morphs
|
|
|
635 |
cuecamera($cam5);
|
| 125 |
lars |
636 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/antioch.mp3",1,10000,0);
|
| 286 |
nemo22 |
637 |
$stevens.morph( "exp_Disgust" );
|
| 125 |
lars |
638 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
639 |
$stevens.unmorph( "exp_Disgust" );
|
|
|
640 |
|
|
|
641 |
//--Kamera direkt vor Illias Gesicht
|
|
|
642 |
$cam6.follow( $map2_ent_fillia );
|
|
|
643 |
$cam6.cut();
|
|
|
644 |
wait( .1 );
|
|
|
645 |
cuecamera( $cam6 );
|
| 125 |
lars |
646 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/vessel.mp3",1,10000,0);
|
|
|
647 |
waitfordialog($stevens);
|
|
|
648 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/oberth.mp3",1,10000,0);
|
|
|
649 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
650 |
cuecamera( $cam5 );
|
| 125 |
lars |
651 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/save.mp3",1,10000,0);
|
|
|
652 |
waitfordialog($stevens);
|
|
|
653 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/success.mp3",1,10000,0);
|
| 286 |
nemo22 |
654 |
$stevens.morph( "exp_brows_down" );
|
| 125 |
lars |
655 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
656 |
$stevens.unmorph( "exp_brows_down" );
|
|
|
657 |
cuecamera($cam6);
|
| 125 |
lars |
658 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/understand.mp3",1,10000,0);
|
|
|
659 |
waitfordialog($stevens);
|
| 286 |
nemo22 |
660 |
//ab hier wieder anims
|
| 125 |
lars |
661 |
$illia3.playdialog("localization/sound/dialog/map02/Illia/onlytowell.mp3",1,10000,0);
|
| 286 |
nemo22 |
662 |
$illia3.anim( "conv-affirmative" );
|
|
|
663 |
$illia3.morph( "exp_Skeptical" );
|
|
|
664 |
waitforanimation( $illia3, "conv-affirmative" );
|
|
|
665 |
$illia3.anim ( "idle" );
|
| 125 |
lars |
666 |
waitfordialog($illia3);
|
| 286 |
nemo22 |
667 |
$illia3.unmorph( "exp_Skeptical" );
|
|
|
668 |
cuecamera( $cam1 );
|
| 125 |
lars |
669 |
$stevens.playdialog("localization/sound/dialog/map02/Stevens/goodluck.mp3",1,10000,0);
|
| 286 |
nemo22 |
670 |
$stevens.anim( "conv-scratchingchin-thinking" );
|
|
|
671 |
waitforanimation( $stevens, "conv-scratchingchin-thinking" );
|
|
|
672 |
$stevens.anim( "idle" );
|
| 125 |
lars |
673 |
waitfordialog($stevens);
|
| 121 |
lars |
674 |
|
| 286 |
nemo22 |
675 |
wait(1);
|
| 121 |
lars |
676 |
|
| 286 |
nemo22 |
677 |
$illia3.displayEffect( "TransportOut", "FederationNoAnim" );
|
| 121 |
lars |
678 |
|
| 286 |
nemo22 |
679 |
wait(2);
|
| 880 |
lars |
680 |
thread skip_recruit();
|
|
|
681 |
}
|
|
|
682 |
void skip_recruit()
|
|
|
683 |
{
|
|
|
684 |
killthread("recruit_cin");
|
|
|
685 |
|
| 121 |
lars |
686 |
cam_fadeout( 2, 0, 0, 0, 1, 0 );
|
|
|
687 |
|
|
|
688 |
wait(3);
|
| 880 |
lars |
689 |
|
|
|
690 |
thread ent_warp();
|
| 121 |
lars |
691 |
}
|
|
|
692 |
|
| 125 |
lars |
693 |
void lounge_cin()
|
| 98 |
lars |
694 |
{
|
| 880 |
lars |
695 |
spawn("camera","targetname","cam1");
|
|
|
696 |
spawn("camera","targetname","cam2");
|
|
|
697 |
spawn("camera","targetname","cam3");
|
|
|
698 |
spawn("camera","targetname","cam4");
|
|
|
699 |
spawn("camera","targetname","cam5");
|
|
|
700 |
spawn("camera","targetname","cam6");
|
|
|
701 |
spawn("camera","targetname","cam7");
|
|
|
702 |
spawn("camera","targetname","cam8");
|
|
|
703 |
spawn("camera","targetname","cam9");
|
|
|
704 |
spawn("camera","targetname","cama");
|
|
|
705 |
spawn("camera","targetname","camb");
|
|
|
706 |
spawn("camera","targetname","camc");
|
|
|
707 |
|
|
|
708 |
cam_fadeout( 1, 0, 0, 0, 1, 0 );
|
|
|
709 |
wait(1);
|
|
|
710 |
|
|
|
711 |
letterbox( .1 );
|
|
|
712 |
freezeplayer();
|
|
|
713 |
$player.hide();
|
|
|
714 |
cinematic();
|
| 125 |
lars |
715 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
716 |
// Illia and Stevens meet on the atlantic.
|
|
|
717 |
//-------------------------------------------------------------------------------------------------------------------
|
| 880 |
lars |
718 |
skipthread("skip_lounge");
|
| 121 |
lars |
719 |
$cam1.follow( $map2_lounge_cam1 );
|
|
|
720 |
$cam1.cut();
|
| 262 |
nemo22 |
721 |
wait(.1);
|
|
|
722 |
cam_fadein( 2, 0, 0, 0, 1, 0 );
|
|
|
723 |
cuecamera($cam1);
|
|
|
724 |
|
| 121 |
lars |
725 |
$lounge_illia.show();
|
|
|
726 |
$lounge_illia.solid();
|
| 262 |
nemo22 |
727 |
|
| 121 |
lars |
728 |
$lounge_illia.walkto( "$lounge_illia_node_a", "walk" );
|
|
|
729 |
waitfor( $lounge_illia );
|
|
|
730 |
$lounge_illia.walkto( "$lounge_illia_node1", "walk" );
|
|
|
731 |
waitfor( $lounge_illia );
|
|
|
732 |
$lounge_illia.walkto( "$lounge_illia_node2", "walk" );
|
|
|
733 |
waitfor( $lounge_illia );
|
|
|
734 |
$lounge_illia.turntoangle( 90 );
|
|
|
735 |
waitfor( $lounge_illia );
|
| 262 |
nemo22 |
736 |
|
|
|
737 |
wait( 1 );
|
| 121 |
lars |
738 |
$cam2.follow( $bottle_cam );
|
|
|
739 |
$cam2.cut();
|
|
|
740 |
wait(.1);
|
| 262 |
nemo22 |
741 |
|
| 121 |
lars |
742 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/ahyes.mp3", 1, 10000, 0);
|
|
|
743 |
waitfordialog( $lounge_illia );
|
|
|
744 |
wait( .4 );
|
| 262 |
nemo22 |
745 |
cuecamera($cam2);
|
| 121 |
lars |
746 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/twobottles.mp3", 1, 10000, 0);
|
|
|
747 |
waitfordialog( $lounge_illia );
|
| 143 |
lars |
748 |
|
| 121 |
lars |
749 |
wait( 1.5 );
|
|
|
750 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/shouldbeenough.mp3", 1, 10000, 0);
|
|
|
751 |
waitfordialog( $lounge_illia );
|
| 262 |
nemo22 |
752 |
|
|
|
753 |
$lounge_stevens.walkto( "$lounge_stevens_node1", "walk" );
|
| 121 |
lars |
754 |
$lounge_stevens.show();
|
| 262 |
nemo22 |
755 |
wait( 2 );
|
|
|
756 |
|
| 121 |
lars |
757 |
$cam1.follow( $map2_illia_stevens_cam1 );
|
|
|
758 |
$cam1.cut();
|
|
|
759 |
$cam3.fov( 60 );
|
| 262 |
nemo22 |
760 |
|
| 121 |
lars |
761 |
$cam3.follow( $behindillia_cam );
|
|
|
762 |
$cam3.cut();
|
|
|
763 |
wait(.1);
|
|
|
764 |
cuecamera( $cam3 );
|
| 262 |
nemo22 |
765 |
|
| 121 |
lars |
766 |
waitfor( $lounge_stevens );
|
|
|
767 |
$lounge_illia.anim( "idle" );
|
| 262 |
nemo22 |
768 |
$lounge_stevens.turntoangle( 170 );
|
|
|
769 |
$lounge_illia.turntoangle( 350 );
|
| 121 |
lars |
770 |
$lounge_stevens.playdialog("localization/sound/dialog/map02/stevens/msericsson.mp3",1,10000,0);
|
| 262 |
nemo22 |
771 |
$lounge_stevens.anim( "conv-scratchingchin-thinking" );
|
|
|
772 |
waitforanimation( $lounge_stevens, "conv-scratchingchin-thinking" );
|
|
|
773 |
$lounge_stevens.anim( "idle" );
|
|
|
774 |
wait( 1.5 );
|
|
|
775 |
|
|
|
776 |
$lounge_illia.anim( "conv-talk-handsonhips" );
|
| 121 |
lars |
777 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/doinghere.mp3", 1, 10000, 0);
|
|
|
778 |
waitfordialog( $lounge_illia );
|
| 262 |
nemo22 |
779 |
wait( .2 );
|
|
|
780 |
cuecamera( $cam1 );
|
|
|
781 |
$lounge_illia.anim( "idle" );
|
| 121 |
lars |
782 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/notinformed.mp3", 1, 10000, 0);
|
| 262 |
nemo22 |
783 |
$lounge_illia.anim( "conv-gesture1" );
|
|
|
784 |
waitforanimation( $lounge_illia, "conv-gesture1" );
|
|
|
785 |
$lounge_illia.anim( "idle" );
|
|
|
786 |
|
| 121 |
lars |
787 |
waitfordialog( $lounge_illia );
|
| 262 |
nemo22 |
788 |
|
| 121 |
lars |
789 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/donotbelong.mp3", 1, 10000, 0);
|
| 262 |
nemo22 |
790 |
$illia_lounge.anim( "conv-handsweep" );
|
|
|
791 |
waitforanimation( $lounge_illia, "handsweep" );
|
| 121 |
lars |
792 |
waitfordialog( $lounge_illia );
|
| 262 |
nemo22 |
793 |
|
|
|
794 |
cuecamera( $cam3 );
|
|
|
795 |
|
| 287 |
lars |
796 |
$lounge_stevens.playdialog("localization/sound/dialog/map02/stevens/membership.mp3",1,10000,0);
|
|
|
797 |
waitfordialog($lounge_stevens);
|
| 121 |
lars |
798 |
$lounge_stevens.playdialog("localization/sound/dialog/map02/stevens/terminate.mp3",1,10000,0);
|
| 262 |
nemo22 |
799 |
$lounge_stevens.anim( "conv-talk3" );
|
| 121 |
lars |
800 |
waitforanimation( $lounge_stevens, "conv-talk3" );
|
|
|
801 |
waitfordialog($lounge_stevens);
|
| 262 |
nemo22 |
802 |
$lounge_stevens.anim( "idle" );
|
|
|
803 |
|
| 121 |
lars |
804 |
cuecamera( $cam3 );
|
| 262 |
nemo22 |
805 |
|
|
|
806 |
$lounge_stevens.playdialog("localization/sound/dialog/map02/stevens/hetlek.mp3",1,10000,0); $lounge_stevens.anim( "conv-talk2" );
|
| 121 |
lars |
807 |
waitforanimation( $lounge_stevens, "conv-talk2" );
|
| 262 |
nemo22 |
808 |
$lounge_stevens.anim( "idle" );
|
| 121 |
lars |
809 |
wait( 2 );
|
|
|
810 |
cuecamera( $cam1 );
|
| 262 |
nemo22 |
811 |
|
|
|
812 |
$lounge_illia.anim( "conv-crossarms" );
|
| 121 |
lars |
813 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/unrealistic.mp3", 1, 10000, 0);
|
| 262 |
nemo22 |
814 |
waitforanimation( $lounge_illia, "conv_crossarms" );
|
|
|
815 |
$lounge_illia.anim( "idle" );
|
| 121 |
lars |
816 |
waitfordialog( $lounge_illia );
|
| 262 |
nemo22 |
817 |
|
| 121 |
lars |
818 |
$lounge_stevens.playdialog("localization/sound/dialog/map02/stevens/thirtyone.mp3",1,10000,0);
|
| 262 |
nemo22 |
819 |
$lounge_stevens.anim( "conv-idle-look" );
|
|
|
820 |
waitforanimation( $lounge_stevens, "conv-idle-look" );
|
|
|
821 |
$lounge_stevens.anim( "idle" );
|
| 121 |
lars |
822 |
waitfordialog($lounge_stevens);
|
|
|
823 |
wait( 4 );
|
|
|
824 |
$lounge_stevens.playdialog("localization/sound/dialog/map02/stevens/job.mp3",1,10000,0);
|
| 262 |
nemo22 |
825 |
$lounge_stevens.anim( "conv-gestureL" );
|
|
|
826 |
waitforanimation( $lounge_stevens, "conv-gestureL" );
|
|
|
827 |
$lounge_stevens.anim( "idle" );
|
| 121 |
lars |
828 |
waitfordialog($lounge_stevens);
|
| 262 |
nemo22 |
829 |
|
|
|
830 |
cuecamera( $cam1 );
|
| 121 |
lars |
831 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/paranoia.mp3", 1, 10000, 0);
|
| 262 |
nemo22 |
832 |
$lounge_illia.anim( "conv-wtf" );
|
|
|
833 |
waitforanimation( $lounge_illia, "conv-wtf" );
|
| 121 |
lars |
834 |
waitfordialog( $lounge_illia );
|
| 262 |
nemo22 |
835 |
|
| 121 |
lars |
836 |
$lounge_illia.playdialog("localization/sound/dialog/map02/illia/nomissions.mp3", 1, 10000, 0);
|
|
|
837 |
wait( .2 );
|
| 262 |
nemo22 |
838 |
cuecamera( $cam3 );
|
| 121 |
lars |
839 |
// $lounge_illia.anim( "conv-gestureL" );
|
| 262 |
nemo22 |
840 |
// waitforanimation( $lounge_illia, "conv-gestureL" );
|
|
|
841 |
$lounge_illia.anim( "conv-handflick-hellno" );
|
| 121 |
lars |
842 |
waitforanimation( $lounge_illia, "conv-handflick-hellno" );
|
| 262 |
nemo22 |
843 |
$lounge_illia.anim( "idle" );
|
| 121 |
lars |
844 |
wait( .5 );
|
| 262 |
nemo22 |
845 |
cuecamera( $cam1 );
|
| 121 |
lars |
846 |
$lounge_stevens.playdialog("localization/sound/dialog/map02/stevens/nochoice.mp3",1,10000,0);
|
| 262 |
nemo22 |
847 |
$lounge_stevens.anim( "conv-poundfist" );
|
|
|
848 |
waitforanimation( $lounge_stevens, "conv-poundfist" );
|
| 121 |
lars |
849 |
waitfordialog($lounge_stevens);
|
| 262 |
nemo22 |
850 |
|
| 121 |
lars |
851 |
$lounge_stevens.anim( "communicator" );
|
|
|
852 |
waitforanimation( $lounge_stevens, "communicator" );
|
|
|
853 |
$lounge_stevens.anim( "idle" );
|
|
|
854 |
wait( .2 );
|
|
|
855 |
$lounge_illia.displayEffect( "TransportOut", "FederationNoAnim" );
|
|
|
856 |
wait( 1 );
|
|
|
857 |
cuecamera( $cam3 );
|
|
|
858 |
$lounge_stevens.displayEffect( "TransportOut", "FederationNoAnim" );
|
| 143 |
lars |
859 |
|
| 121 |
lars |
860 |
wait( 1 );
|
| 880 |
lars |
861 |
thread skip_lounge();
|
|
|
862 |
}
|
|
|
863 |
|
|
|
864 |
void skip_lounge()
|
|
|
865 |
{
|
|
|
866 |
killthread("lounge_cin");
|
| 121 |
lars |
867 |
cam_fadeout( 2, 0, 0, 0, 1, 0 );
|
|
|
868 |
wait( 2 );
|
| 880 |
lars |
869 |
thread recruit_cin();
|
| 121 |
lars |
870 |
}
|
|
|
871 |
|
| 125 |
lars |
872 |
void surprise()
|
|
|
873 |
{
|
| 880 |
lars |
874 |
thread lounge_cin();
|
|
|
875 |
}
|
|
|
876 |
void skip_cell()
|
|
|
877 |
{
|
|
|
878 |
killthread("cell_cin");
|
| 356 |
lars |
879 |
|
| 125 |
lars |
880 |
cam_fadein( 2, 0, 0, 0, 1, 0 );
|
| 143 |
lars |
881 |
$player.setobjectivecomplete("gettobar", 1);
|
|
|
882 |
$player.setobjectivecomplete("findbrandy", 1);
|
|
|
883 |
$player.setobjectiveshow("gettoengineering", 1);
|
|
|
884 |
$player.missionobjective(1);
|
| 880 |
lars |
885 |
|
| 559 |
argyle |
886 |
noncinematic();
|
|
|
887 |
clearletterbox(.1);
|
|
|
888 |
releaseplayer();
|
|
|
889 |
cueplayer();
|
| 880 |
lars |
890 |
|
|
|
891 |
stuffcmd("map map3 \n");
|
| 367 |
lars |
892 |
}
|
| 615 |
hmm_cantde |
893 |
|
| 670 |
hmm_cantde |
894 |
void cargoSecretReveal()
|
|
|
895 |
{
|
|
|
896 |
$cargoSecret.displayeffect( "TransportIn", "Federation" );
|
|
|
897 |
$cargoSecret.show();
|
|
|
898 |
$cargoSecret.solid();
|
|
|
899 |
}
|
|
|
900 |
|
| 615 |
hmm_cantde |
901 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
902 |
// NPC INTERACTIONS
|
|
|
903 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
904 |
void startWalker()
|
|
|
905 |
{
|
| 670 |
hmm_cantde |
906 |
$walker.alias( "walkerTalker", "localization/sound/dialog/m2l1/teacherm2_busy.mp3", 1, 128, 0); // Counsellor/holodeck
|
| 615 |
hmm_cantde |
907 |
$walker.dialog( "walkerTalker" );
|
| 670 |
hmm_cantde |
908 |
$walker.pushable( 0 );
|
| 851 |
Avenger |
909 |
$trigger_tubes.nottriggerable();
|
| 615 |
hmm_cantde |
910 |
|
| 670 |
hmm_cantde |
911 |
|
| 615 |
hmm_cantde |
912 |
float i = 1;
|
|
|
913 |
while (i < 19)
|
|
|
914 |
{
|
| 670 |
hmm_cantde |
915 |
$walker.walkto( "$walker"+i , "walk" );
|
| 615 |
hmm_cantde |
916 |
waitfor( $walker );
|
| 670 |
hmm_cantde |
917 |
i++;
|
| 615 |
hmm_cantde |
918 |
}
|
| 670 |
hmm_cantde |
919 |
|
| 735 |
lars |
920 |
wait(2);
|
| 670 |
hmm_cantde |
921 |
$walker.lookat( $repair_lady );
|
| 735 |
lars |
922 |
$walker.giveactorweapon( "Tricorder" );
|
|
|
923 |
$walker.useactorweapon( "Tricorder" );
|
| 670 |
hmm_cantde |
924 |
$walker.anim( "tricorder_fire" );
|
| 615 |
hmm_cantde |
925 |
|
|
|
926 |
}
|
|
|
927 |
|
|
|
928 |
void remote_guy_onUse()
|
|
|
929 |
{
|
|
|
930 |
//You are trying to talk to the remote guy, so make him give you a rude retort ;)
|
|
|
931 |
$remote_guy.playdialog("localization/sound/dialog/m2l1/teacherm2_busy.mp3", 1, 256, 0);
|
|
|
932 |
waitfordialog( $remote_guy );
|
|
|
933 |
}
|
|
|
934 |
|
| 769 |
hmm_cantde |
935 |
void trans_guy_onUse()
|
|
|
936 |
{
|
|
|
937 |
//You are trying to talk to the transporter control guy, so make him give you a rude retort ;)
|
|
|
938 |
$trans_guy.playdialog("localization/sound/dialog/m2l1/teacherm2_busy.mp3", 1, 256, 0);
|
|
|
939 |
waitfordialog( $trans_guy );
|
|
|
940 |
}
|
|
|
941 |
|
| 615 |
hmm_cantde |
942 |
void repair_lady_onUse()
|
|
|
943 |
{
|
|
|
944 |
//You are trying to talk to the repair lady, so make her give you a rude retort ;)
|
|
|
945 |
$repair_lady.playdialog("localization/sound/dialog/m2l1/teacherf2_time.mp3", 1, 256, 0);
|
|
|
946 |
waitfordialog( $repair_lady );
|
|
|
947 |
}
|
|
|
948 |
|
|
|
949 |
|
|
|
950 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
951 |
// PUZZLE STUFF
|
|
|
952 |
//-------------------------------------------------------------------------------------------------------------------
|
|
|
953 |
void puzzleUsed()
|
|
|
954 |
{
|
|
|
955 |
globalTricorderKeypad_SetType( "Starfleet" );
|
|
|
956 |
globalTricorderKeypad_SetScannedCodeFlag( 0 );
|
|
|
957 |
globalTricorderKeypad_SetSecretCode( 4, 1, 5, 7, 2, 6, 3, 0, 0 ); //7 digit code
|
|
|
958 |
globalTricorderKeypad_Run( $secretRoomPuzzle, 100, 3);
|
|
|
959 |
}
|
|
|
960 |
|
|
|
961 |
void puzzleReset()
|
|
|
962 |
{
|
|
|
963 |
$secretRoomPuzzle.puzzleobject_reset();
|
|
|
964 |
}
|
|
|
965 |
|
|
|
966 |
void puzzleSolved()
|
|
|
967 |
{
|
|
|
968 |
$secretRoomPuzzle.playsound( "sound/ships/romulan/rom_beep_yes.wav", 0, 1 );
|
|
|
969 |
$secretRoomDoors.unlock();
|
| 670 |
hmm_cantde |
970 |
trigger( "$secretRoomDoors" );
|
| 615 |
hmm_cantde |
971 |
$secretRoomPuzzle.remove(); //so that player doesn't have to keep re-entering the puzzle code
|
| 838 |
Avenger |
972 |
}
|
|
|
973 |
|
|
|
974 |
//--------------------------------------------------------------------------------------------------------------------
|
|
|
975 |
// POISONOUS GAS
|
|
|
976 |
//--------------------------------------------------------------------------------------------------------------------
|
|
|
977 |
void stop_gas()
|
|
|
978 |
{
|
|
|
979 |
$stop_gasTrigger.playsound( "sound/ships/enterprise/ent_beep_confirm.wav", 3, 1 );
|
|
|
980 |
$stop_gasTrigger.nottriggerable();
|
|
|
981 |
wait(1);
|
|
|
982 |
$gas_sound.remove();
|
|
|
983 |
$gas_cloud0.remove();
|
|
|
984 |
$gas_cloud1.remove();
|
|
|
985 |
wait(1);
|
|
|
986 |
$poisonous_gas.remove();
|
|
|
987 |
|
|
|
988 |
}
|