Subversion-Projekte sthq.gbs

Revision

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

Revision 826 Revision 878
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:	ltiefland
10
//  Last Edited by: 	Chrissstrahl
11
//  Last Edited on:	11/11/06
11
//  Last Edited on: 	03/03/07
12
//
12
//
13
//--------------------------------------------------------------------------------------
13
//--------------------------------------------------------------------------------------
Zeile 14... Zeile 14...
14
 
14
 
15
void main();
15
void main();
Zeile 216... Zeile 216...
216
	$stopCounter.nottriggerable();
216
	$stopCounter.nottriggerable();
217
	$chang.updatebosshealth( 1, 1 );
217
	$chang.updatebosshealth( 1, 1 );
218
	$chang.health( 200 );
218
	$chang.health( 200 );
219
	$chang.maxhealth( 201 );
219
	$chang.maxhealth( 201 );
220
	$chang.maxbosshealth( 200 );
220
	$chang.maxbosshealth( 200 );
221
	
-
 
222
//--Sonstiges
221
//--Sonstiges
223
	$sparks.hide();
222
	$sparks.hide();
224
	$planet.hide();
223
	$planet.hide();
Zeile 225... Zeile 224...
225
 
224
 
Zeile 605... Zeile 604...
605
	//before he dies, then killthread MUST be called on this thread
604
	//before he dies, then killthread MUST be called on this thread
606
	//to stop this counter, or should it be? mwuhahahahahahaaaa!
605
	//to stop this counter, or should it be? mwuhahahahahahaaaa!
607
	while( collision > 1.0 )
606
	while( collision > 1.0 )
608
	{	
607
	{	
609
		//Every iteration damage Chang
608
		//Every iteration damage Chang
610
		$chang.addhealth( -1 );
609
		$chang.addhealth( -4.4 );
611
		collision = $chang.gethealth();
610
		collision = $chang.gethealth();
612
		//print ("end of cinematic thread life counter\n");
611
		//print ("end of cinematic thread life counter\n");
613
		//Check if chang is 'dead".  If he is, then fail the mission
612
		//Check if chang is 'dead".  If he is, then fail the mission
614
		if ( collision < 1.0 )
613
		if ( collision < 1.0 )
615
			{
614
			{
616
				cam_fadeout( 3, 1, 1, 1, 1, 0 );
615
				cam_fadeout( 3, 1, 1, 1, 1, 0 );
617
				$player.earthquake( 2, 2 );
616
				$player.earthquake( 2, 2 );
618
				wait( 2 );
617
				wait( 2 );
619
				$player.earthquake( 5, 2 );
618
				$player.earthquake( 5, 2 );
620
				wait( 2 );
619
				wait( 2 );
621
				stuffcmd ( "kill\n" );
620
				$player.kill();
622
			}
621
			}
623
		//Wait a specified interval before damaging again
622
		//Wait a specified interval before damaging again
624
		wait( 1.5 );		
623
		wait( 1.5 );		
625
	}
624
	}
626
}
625
}