Subversion-Projekte sthq.gbs

Revision

Revision 889 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 889 Revision 890
Zeile 5... Zeile 5...
5
//  Level:			map7
5
//  Level:			map7
6
//  Script By:		Patrick "Nemo" Weiser
6
//  Script By:		Patrick "Nemo" Weiser
7
//  Geometry By:	TickNSwisted & Patrick "Nemo" Weiser & LTiefland
7
//  Geometry By:	TickNSwisted & Patrick "Nemo" Weiser & LTiefland
8
//  Created on:		27.01.2004
8
//  Created on:		27.01.2004
9
//
9
//
10
//  Last Edited by:	$Author: lars $
10
//  Last Edited by:	ltiefland
11
//  Last Edited on:	$Date: 2007-06-15 22:34:28 +0200 (Fr, 15 Jun 2007) $
11
//  Last Edited on:	11/11/06
12
//
12
//
13
//--------------------------------------------------------------------------------------
13
//--------------------------------------------------------------------------------------
Zeile 14... Zeile 14...
14
 
14
 
15
void main();
15
void main();
Zeile 110... Zeile 110...
110
	globalLoadout_GiveWeapon( WEAPON_PHASER_STX );
110
	globalLoadout_GiveWeapon( WEAPON_PHASER_STX );
111
	globalLoadout_GiveWeapon( WEAPON_ROMULAN_DISRUPTOR );
111
	globalLoadout_GiveWeapon( WEAPON_ROMULAN_DISRUPTOR );
112
	globalLoadout_GiveWeapon( WEAPON_COMPRESSION_RIFLE );
112
	globalLoadout_GiveWeapon( WEAPON_COMPRESSION_RIFLE );
113
	globalLoadout_GiveWeapon( WEAPON_BURST_RIFLE );
113
	globalLoadout_GiveWeapon( WEAPON_BURST_RIFLE );
114
	globalLoadout_GiveWeapon( WEAPON_ASSAULT_SHOTGUN );
114
	globalLoadout_GiveWeapon( WEAPON_ASSAULT_SHOTGUN );
-
 
115
	//Chrissstrahl 2007.06.20 player isn't a actor!
115
	$player.useActorWeapon( "TricorderSTX" );
116
	//$player.useActorWeapon( "TricorderSTX" );
Zeile 116... Zeile 117...
116
	
117
	
117
	thread loop_explosions_bridge();
118
	thread loop_explosions_bridge();
Zeile 118... Zeile 119...
118
	thread collision_counter();
119
	thread collision_counter();
119
 
120
 
-
 
121
	//Make a new objective appear: get to the transporter and beam to the planet
120
	//Make a new objective appear: get to the transporter and beam to the planet
122
	//Make the blip appear on your radar
-
 
123
	if(doesEntityExist($illias_transporter)){//Chrisstrahl 2007.06.20
121
	//Make the blip appear on your radar
124
		$illias_transporter_console.missionobjective( 1 );
122
	$illias_transporter_console.missionobjective( 1 );
125
	}
123
	//Make the mission objective appear
126
	//Make the mission objective appear
Zeile 124... Zeile 127...
124
	$player.setobjectiveshow( "transportout", 1 );
127
	$player.setobjectiveshow( "transportout", 1 );
Zeile 135... Zeile 138...
135
	$illia.removeactorweapon ( "CompressionRifle" );
138
	$illia.removeactorweapon ( "CompressionRifle" );
136
	$illia_prisoner3.ai_off();
139
	$illia_prisoner3.ai_off();
137
	$illia_prisoner3.removeactorweapon ( "CompressionRifle" );
140
	$illia_prisoner3.removeactorweapon ( "CompressionRifle" );
138
	$illia_prisoner3.anim( "cin-m8_situp" );
141
	$illia_prisoner3.anim( "cin-m8_situp" );
139
	$chang.ai_off();
142
	$chang.ai_off();
-
 
143
	if(doesEntityExist($guard1)){//Chrisstrahl 2007.06.20
140
	$guard1.ai_off();
144
		$guard1.ai_off();
141
	$guard2.ai_off();
145
		$guard1.hide();
-
 
146
		$guard1.notsolid();
-
 
147
	}
-
 
148
	if(doesEntityExist($guard2)){//Chrisstrahl 2007.06.20
142
	$chang.ai_off();
149
		$guard2.ai_off();
143
	$guard1.hide();
150
		$guard2.hide();
-
 
151
	}
144
	$guard2.hide();
152
	$chang.ai_off();	
145
	$chang.hide();
153
	$chang.hide();
146
	$guard1.notsolid();
-
 
147
	$chang.notsolid();
154
	$chang.notsolid();
148
	$tebok2.ai_off();
155
	$tebok2.ai_off();
Zeile 149... Zeile 156...
149
 
156
 
150
	//Added by TickNSwisted 29/08/2004
157
	//Added by TickNSwisted 29/08/2004
Zeile 217... Zeile 224...
217
	$bigBang11.doexplosion( "fx/fx-explosion-crate-romulan-03.tik" );
224
	$bigBang11.doexplosion( "fx/fx-explosion-crate-romulan-03.tik" );
218
	$bigBang12.doexplosion( "fx/fx-explosion-crate-klingon-03.tik" );
225
	$bigBang12.doexplosion( "fx/fx-explosion-crate-klingon-03.tik" );
219
	$bigBang13.doexplosion( "fx/fx-explosion-crate-attrex-large.tik" );
226
	$bigBang13.doexplosion( "fx/fx-explosion-crate-attrex-large.tik" );
Zeile 220... Zeile 227...
220
	
227
	
-
 
228
//--Collision-counter
221
//--Collision-counter
229
	if(doesEntityExist($stopCounter)){
-
 
230
		$stopCounter.nottriggerable();
222
	$stopCounter.nottriggerable();
231
	}
223
	$chang.updatebosshealth( 1, 1 );
232
	$chang.updatebosshealth( 1, 1 );
224
	$chang.health( 200 );
233
	$chang.health( 200 );
225
	$chang.maxhealth( 201 );
234
	$chang.maxhealth( 201 );
226
	$chang.maxbosshealth( 200 );
235
	$chang.maxbosshealth( 200 );
Zeile 683... Zeile 692...
683
	killthread( "loop_explosions_bridge" );
692
	killthread( "loop_explosions_bridge" );
684
	$chang.updatebosshealth( 0 );
693
	$chang.updatebosshealth( 0 );
685
	//Make the objective complete
694
	//Make the objective complete
686
	$player.setobjectivecomplete( "transportout", 1 );
695
	$player.setobjectivecomplete( "transportout", 1 );
687
	//Make the blip disappear on your radar
696
	//Make the blip disappear on your radar
-
 
697
	if(doesEntityExist($illias_transporter_console)){
688
	$illias_transporter_console.missionobjective( 0 );
698
		$illias_transporter_console.missionobjective( 0 );
-
 
699
	}
Zeile 689... Zeile 700...
689
 
700
 
690
	freezeplayer();
701
	freezeplayer();
691
	$player.hide();
702
	$player.hide();
692
	$player.notsolid();
703
	$player.notsolid();