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