Subversion-Projekte sthq.gbs

Revision

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

Revision 824 Revision 838
Zeile 1... Zeile 1...
1
// EF2 Level Script File
1
// EF2 Level Script File
2
//
2
//
3
// Level:		map2.bsp
3
// Level:		map2.bsp
4
// Script By:		Nemo22, Argyle, LTiefland, DrBob, 7o'nine 
4
// Script By:		Nemo22, Argyle, LTiefland, DrBob, 7o'nine, Avenger 
5
// Geometry By:		Argyle, Alpharaptor, 7o'nine, Cortex
5
// Geometry By:		Argyle, Alpharaptor, 7o'nine, Cortex
6
// Created on:		Unknown
6
// Created on:		Unknown
7
// Last Edited on: 	17/12/05
7
// Last Edited on: 	27/12/06
8
// Last Edited By: 	7o'nine
8
// Last Edited By: 	Avenger
Zeile 9... Zeile 9...
9
 
9
 
10
#include "maps/global_scripts/global_common.scr"
10
#include "maps/global_scripts/global_common.scr"
11
#include "maps/global_scripts/global_math.scr"
11
#include "maps/global_scripts/global_math.scr"
12
#include "maps/global_scripts/global_acceleratedMovement.scr"
12
#include "maps/global_scripts/global_acceleratedMovement.scr"
13
#include "maps/global_scripts/global_playerLoadout.scr"
13
#include "maps/global_scripts/global_playerLoadout.scr"
14
#include "maps/global_scripts/global_debugUtils.scr"
14
#include "maps/global_scripts/global_debugUtils.scr"
15
#include "maps/global_scripts/global_tricorderBase.scr"
15
#include "maps/global_scripts/global_tricorderBase.scr"
-
 
16
#include "maps/global_scripts/global_tricorderKeypad.scr"
Zeile 16... Zeile 17...
16
#include "maps/global_scripts/global_tricorderKeypad.scr"
17
#include "maps/global_scripts/global_archetype.scr"
-
 
18
 
17
 
19
// FUNCTIONS
18
// FUNCTIONS
20
void initArchetypes();
19
void puzzleUsed();
21
void puzzleUsed();
20
void puzzleReset();
22
void puzzleReset();
21
void puzzleSolved();
23
void puzzleSolved();
22
void closed_door_sound();
24
void closed_door_sound();
23
void startWalker();
25
void startWalker();
-
 
26
void trans_guy_onUse();
Zeile 24... Zeile 27...
24
void trans_guy_onUse();
27
void cargoSecretReveal();
Zeile 25... Zeile 28...
25
void cargoSecretReveal();
28
void stop_gas();
Zeile 64... Zeile 67...
64
void closed_door_sound()
67
void closed_door_sound()
65
{
68
{
66
   	$player.playsound( "sound/ships/forever/for_doorbeep.wav", 3, 1.0);
69
   	$player.playsound( "sound/ships/forever/for_doorbeep.wav", 3, 1.0);
67
}
70
}
Zeile -... Zeile 71...
-
 
71
 
-
 
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
}
68
 
84
 
69
void remote_scene()
85
void remote_scene()
70
{
86
{
71
	thread hovercar();
87
	thread hovercar();
Zeile 924... Zeile 940...
924
{
940
{
925
	$secretRoomPuzzle.playsound( "sound/ships/romulan/rom_beep_yes.wav", 0, 1 );
941
	$secretRoomPuzzle.playsound( "sound/ships/romulan/rom_beep_yes.wav", 0, 1 );
926
	$secretRoomDoors.unlock();
942
	$secretRoomDoors.unlock();
927
	trigger( "$secretRoomDoors" );
943
	trigger( "$secretRoomDoors" );
928
	$secretRoomPuzzle.remove(); //so that player doesn't have to keep re-entering the puzzle code
944
	$secretRoomPuzzle.remove(); //so that player doesn't have to keep re-entering the puzzle code
929
}
-
 
930
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
}
-
 
962