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