Subversion-Projekte sthq.gbs

Revision

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

Revision 824 Revision 846
Zeile 3... Zeile 3...
3
//
3
//
4
//  Level:        	map4
4
//  Level:        	map4
5
//  Script By:    	Nemo22, Argyle, TickNSwisted, LTiefland
5
//  Script By:    	Nemo22, Argyle, TickNSwisted, LTiefland
6
//  Geometry By:  	Argyle, TickNSwisted
6
//  Geometry By:  	Argyle, TickNSwisted
7
//  Created on:		01/04/2004
7
//  Created on:		01/04/2004
8
//  Last Edited on: 	30/12/2004
8
//  Last Edited on: 	20/01/2007
9
//  Last Edited By: 	LTiefland
9
//  Last Edited By: 	LTiefland
10
//-----------------------------------------------------------------
10
//-----------------------------------------------------------------
Zeile 130... Zeile 130...
130
{
130
{
131
	thread initArchetypes();
131
	thread initArchetypes();
132
	spawn("camera","targetname","cam1");
132
	spawn("camera","targetname","cam1");
133
	$end_trigger.nottriggerable();
133
	$end_trigger.nottriggerable();
134
	$player.give( "models/weapons/worldmodel-tricorder-STX.tik" );
134
	$player.give( "models/weapons/worldmodel-tricorder-STX.tik" );
135
        $player.model( "char/hazardteam_jurot.tik" ); 
135
    $player.model( "char/hazardteam_jurot.tik" ); 
Zeile 136... Zeile 136...
136
 
136
 
137
	thread init();
137
	thread init();
138
	thread redalert();
138
	thread redalert();
Zeile 148... Zeile 148...
148
 
148
 
149
 
149
 
150
void before_lab()
150
void before_lab()
151
{
151
{
152
	$kraftfeld2.show();
152
	$kraftfeld2.show();
153
	$kraftfeld_solid2.solid();
153
	$kraftfeld2.solid();
154
	triggerentity( $kraftfeld_sound2 );
154
	triggerentity( $kraftfeld_sound2 );
155
	$kraftfeld2.playsound( "sound/ships/borg/borg_forcefield_on.wav", 1, 1, 11111 );
155
	$kraftfeld2.playsound( "sound/ships/borg/borg_forcefield_on.wav", 1, 1, 11111 );
Zeile 156... Zeile 156...
156
	$kraftfeld2.loopsound( "sound/ships/enterprise/ent_forcefield.wav", .7, 30 );
156
	$kraftfeld2.loopsound( "sound/ships/enterprise/ent_forcefield.wav", .7, 30 );
157
}
157
}
158
 
158
 
Zeile 159... Zeile 159...
159
void inside_lab()
159
void inside_lab()
160
{
160
{
161
	//AIShowGroup    ( 666, "Federation" );
161
	//AIShowGroup    ( 666, "Federation" );
162
 
162
 
163
	$kraftfeld3.show();
163
	$kraftfeld3.show();
Zeile 235... Zeile 235...
235
{
235
{
236
	//--hide forcefield
236
	//--hide forcefield
237
	$kraftfeld.hide();
237
	$kraftfeld.hide();
238
	$kraftfeld2.hide();
238
	$kraftfeld2.hide();
239
	$kraftfeld3.hide();
239
	$kraftfeld3.hide();
240
	$kraftfeld_solid.notsolid();
240
	$kraftfeld.notsolid();
241
	$kraftfeld_solid2.notsolid();
241
	$kraftfeld2.notsolid();
242
	$kraftfeld_solid3.notsolid();
242
	$kraftfeld3.notsolid();
243
	$kraft_feld_poison.hide();
243
	$kraft_feld_poison.hide();
244
	$kraft_feld_poison.notsolid();
244
	$kraft_feld_poison.notsolid();
Zeile 245... Zeile 245...
245
 
245
 
246
	//--Showergirl SetUp
246
	//--Showergirl SetUp
Zeile 346... Zeile 346...
346
////////////////////////////////////////
346
////////////////////////////////////////
347
void kraftfeld()
347
void kraftfeld()
348
{
348
{
349
	$gas.show();
349
	$gas.show();
350
	$kraftfeld.show();
350
	$kraftfeld.show();
351
	$kraftfeld_solid.solid();
351
	$kraftfeld.solid();
352
	triggerentity( $kraftfeld_sound );
352
	triggerentity( $kraftfeld_sound );
353
	$kraftfeld.playsound( "sound/ships/borg/borg_forcefield_on.wav", 1, 1, 11111 );
353
	$kraftfeld.playsound( "sound/ships/borg/borg_forcefield_on.wav", 1, 1, 11111 );
354
	$kraftfeld.loopsound( "sound/ships/enterprise/ent_forcefield.wav", .7, 30 );
354
	$kraftfeld.loopsound( "sound/ships/enterprise/ent_forcefield.wav", .7, 30 );
355
	wait( 1 );
355
	wait( 1 );
356
	$player.simpleplaydialog( "localization/sound/dialog/map04/computer/intruder.mp3", 1, 20000 ); //Lieutenant Munro, you have a visitor waiting for you in the main entrance.
356
	$player.simpleplaydialog( "localization/sound/dialog/map04/computer/intruder.mp3", 1, 20000 ); //Lieutenant Munro, you have a visitor waiting for you in the main entrance.
Zeile 404... Zeile 404...
404
	$kraft_feld_poison.solid();
404
	$kraft_feld_poison.solid();
405
}
405
}
Zeile 406... Zeile 406...
406
 
406
 
407
void beamout_puzzle()
407
void beamout_puzzle()
408
{
408
{
409
	$player.simpleplaydialog("localization/sound/dialog/map04/Computer/energy_restored.mp3",1,10000);
409
	$player.simpleplaydialog("localization/sound/dialog/map04/Computer/energy.mp3",1,10000);
410
	waitdialoglength("localization/sound/dialog/map04/Computer/energy_restored.mp3");
410
	waitdialoglength("localization/sound/dialog/map04/Computer/energy.mp3");
411
	$end_trigger.triggerable();
411
	$end_trigger.triggerable();
412
}
412
}
413
void beamout()
413
void beamout()
414
{
414
{