Subversion-Projekte sthq.gbs

Revision

Revision 880 | Revision 890 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 880 Revision 888
Zeile 2... Zeile 2...
2
//
2
//
3
//  Level:		map8.bsp
3
//  Level:		map8.bsp
4
//  Script By:	DrBob, ltiefland, TickNSwisted
4
//  Script By:	DrBob, ltiefland, TickNSwisted
5
//  Geometry By:	TickNSwisted
5
//  Geometry By:	TickNSwisted
6
//  Created on:	17/04/04
6
//  Created on:	17/04/04
7
// Last Edited on:  $Date: 2007-04-08 23:58:18 +0200 (So, 08 Apr 2007) $
7
// Last Edited on:  $Date: 2007-06-15 22:28:18 +0200 (Fr, 15 Jun 2007) $
8
// Last Edited by:	$Author: lars $
8
// Last Edited by:	$Author: lars $
Zeile 9... Zeile 9...
9
 
9
 
10
//INCLUDES
10
//INCLUDES
11
	#include "maps/global_scripts/global_common.scr"
11
	#include "maps/global_scripts/global_common.scr"
Zeile 48... Zeile 48...
48
	$openDoorTrigger.playsound ( "sound/environment/switches/switch_01.wav" , 3, .3, 10000 );
48
	$openDoorTrigger.playsound ( "sound/environment/switches/switch_01.wav" , 3, .3, 10000 );
49
	$openDoorTrigger.playsound ( "sound/ships/romulan/rom_beep_yes.wav" , 7, .3, 10000 );
49
	$openDoorTrigger.playsound ( "sound/ships/romulan/rom_beep_yes.wav" , 7, .3, 10000 );
50
	wait( .1 );
50
	wait( .1 );
Zeile 51... Zeile 51...
51
 
51
 
52
	$openDoorTrigger.nottriggerable ();
52
	$openDoorTrigger.nottriggerable ();
-
 
53
	
-
 
54
	$reinhard.setTargetType(1);//Chrisstrahl 2007.05.07
-
 
55
	$reinhard.sethatemodifier( 1 );//Chrisstrahl 2007.05.07
-
 
56
	$reinhard0.kill();//Chrisstrahl 2007.05.07
-
 
57
	wait(.1);
53
 
58
	$reinhard0.remove();//Chrisstrahl 2007.05.07
54
    	$OuterDoorPart1.playsound ( "sound/doors/drull_bigdoor_01.wav", 5, 1, 300);
59
    $OuterDoorPart1.playsound ( "sound/doors/drull_bigdoor_01.wav", 5, 1, 300);
55
	$OuterDoorPart1.time( 5 );
60
	$OuterDoorPart1.time( 5 );
56
	$OuterDoorPart1.moveUp( 6 );
61
	$OuterDoorPart1.moveUp( 6 );
57
	$OuterDoorPart2.time( 5 );
62
	$OuterDoorPart2.time( 5 );
58
	$OuterDoorPart2.moveUp( 36 );
63
	$OuterDoorPart2.moveUp( 36 );
59
	$OuterDoorPart3.time( 5 );
64
	$OuterDoorPart3.time( 5 );
-
 
65
	$OuterDoorPart3.moveUp( 66 );
60
	$OuterDoorPart3.moveUp( 66 );
66
	
61
	$OuterDoorPart4.time( 5 );
67
	$OuterDoorPart4.time( 5 );
62
	$OuterDoorPart4.moveUp( 96 );
68
	$OuterDoorPart4.moveUp( 96 );
63
	$OuterDoorPart5.time( 5 );
69
	$OuterDoorPart5.time( 5 );
64
	$OuterDoorPart5.moveUp( 126 );
70
	$OuterDoorPart5.moveUp( 126 );
65
	$DoorPart1.playsound ( "sound/doors/drull_bigdoor_stop_01.wav", 5, 1, 300);
71
	$DoorPart1.playsound ( "sound/doors/drull_bigdoor_stop_01.wav", 5, 1, 300);
Zeile 66... Zeile 72...
66
    	waitfor ( $OuterDoorPart5 );
72
    waitfor ( $OuterDoorPart5 );
67
 
73
 
-
 
74
	wait ( 5 );
-
 
75
    	closeFirstDoor();
-
 
76
	//Romulan soliders, get em to wake up
-
 
77
	$frida.hurt(1);//Chrisstrahl 2007.05.07
68
	wait ( 5 );
78
	$berta.hurt(1);//Chrisstrahl 2007.05.07
Zeile 69... Zeile 79...
69
    	closeFirstDoor();
79
	
70
}
80
}
Zeile 194... Zeile 204...
194
	//Load the mission objectives
204
	//Load the mission objectives
195
	$player.LoadObjectives( "GBS8" );
205
	$player.LoadObjectives( "GBS8" );
Zeile 196... Zeile 206...
196
 
206
 
197
	//Give the player her weapons, and remove the prisoner's
207
	//Give the player her weapons, and remove the prisoner's
198
	globalLoadout_GiveWeapon( WEAPON_TRICORDER_STX );
-
 
199
	globalLoadout_GiveWeapon( WEAPON_ROMULAN_DISRUPTOR );
208
	globalLoadout_GiveWeapon( WEAPON_TRICORDER_STX );
-
 
209
	globalLoadout_GiveWeapon( WEAPON_PHASER_STX );
-
 
210
	globalLoadout_GiveWeapon( WEAPON_ROMULAN_DISRUPTOR );
-
 
211
	globalLoadout_GiveWeapon( WEAPON_COMPRESSION_RIFLE );
200
	globalLoadout_GiveWeapon( WEAPON_PHASER_STX );
212
	globalLoadout_GiveWeapon( WEAPON_BURST_RIFLE );
201
	globalLoadout_GiveWeapon( WEAPON_ASSAULT_SHOTGUN );
213
	globalLoadout_GiveWeapon( WEAPON_ASSAULT_SHOTGUN );
202
	globalLoadout_GiveWeapon( WEAPON_GRENADE_LAUNCHER );
-
 
203
	$player.give( "models/weapons/worldmodel-rom-disruptor-rifle.tik" );
214
	//globalLoadout_GiveWeapon( WEAPON_GRENADE_LAUNCHER );
204
	$illia_prisoner.removeactorweapon ( "CompressionRifle" );
215
	$illia_prisoner.removeactorweapon ( "CompressionRifle" );
205
	$illia_prisoner.removeactorweapon ( "AssaultRifle" );
216
	$illia_prisoner.removeactorweapon ( "AssaultRifle" );
Zeile 206... Zeile 217...
206
	$illia_prisoner.removeactorweapon ( "CompressionRifleEnhanced" );
217
	$illia_prisoner.removeactorweapon ( "CompressionRifleEnhanced" );
Zeile 328... Zeile 339...
328
	cam_fadein( 3, 0, 0, 0, 1, 0 );
339
	cam_fadein( 3, 0, 0, 0, 1, 0 );
329
	$illia_prisoner.remove();
340
	$illia_prisoner.remove();
330
	$illia.hide();
341
	$illia.hide();
331
	$illia.notsolid();
342
	$illia.notsolid();
Zeile -... Zeile 343...
-
 
343
 
332
 
344
	$player.origin('192.00 -1.00 -20.00');//Chrisstrahl 2007.05.07, warped player to illia cin possition back to avoid char stuck
333
	clearletterbox( 0.1 );
345
	clearletterbox( 0.1 );
334
	releaseplayer();
346
	releaseplayer();
335
	noncinematic();
347
	noncinematic();
Zeile 346... Zeile 358...
346
}
358
}
Zeile 347... Zeile 359...
347
 
359
 
348
//PUZZLE FUNCTIONS
360
//PUZZLE FUNCTIONS
349
void Puzzle_Used()
361
void Puzzle_Used()
350
{
362
{
-
 
363
	//globalTricorderKeypad_SetType( "Starfleet" );
351
	globalTricorderKeypad_SetType( "Starfleet" );
364
	globalTricorderKeypad_SetType( "romulan" );
352
	globalTricorderKeypad_SetScannedCodeFlag( 0 );
365
	globalTricorderKeypad_SetScannedCodeFlag( 0 );
353
	globalTricorderKeypad_SetSecretCode( 3, 1, 4, 1, 5, 0, 0, 0, 0 );
366
	globalTricorderKeypad_SetSecretCode( 3, 1, 4, 1, 5, 0, 0, 0, 0 );
354
		//Edited by TICKNSWISTED:changed SecretCode to Pi for ingame clue.
367
		//Edited by TICKNSWISTED:changed SecretCode to Pi for ingame clue.
355
		//Edited By Argyle: Sorry, the code was too long, good idea about Pi though.
368
		//Edited By Argyle: Sorry, the code was too long, good idea about Pi though.