//Blast City 2- Deep Water
//
//		by Elypter

//for details look at bc_deep_water_readme.txt

//warning: -groups for Generators & SwitchGenerator are incosistent, the first one is better.
//         -comments are partially german and english

PLAYER_PED p1 = (51.5, 62.5, 255.0) 10 0
PLAYER_PED p2 = (68.5, 59.5, 255.0) 11 0
PLAYER_PED p3 = (48.5, 52.0, 255.0) 12 0
PLAYER_PED p4 = (74.5, 49.5, 255.0) 13 0
PLAYER_PED p5 = (44.5, 59.5, 255.0) 14 0
PLAYER_PED p6 = (66.0, 51.0, 255.0) 15 0

//CHAR_DATA name = ( float X  ,  float  Y  )  remap  rotation  occupation
//CHAR_DATA t1 = ( 54.0 , 55.0 , 7.0 ) 10 90 NO_OCCUPATION
//CHAR_DATA t2 = ( 56.0 , 55.0 , 7.0 ) 11 270 NO_OCCUPATION
//CHAR_DATA t3 = ( 54.0 , 54.0 , 7.0 ) 12 45 NO_OCCUPATION
//CHAR_DATA t4 = ( 56.0 , 56.0 , 7.0 ) 13 225 NO_OCCUPATION
//CHAR_DATA t5 = ( 54.0 , 56.0 , 7.0 ) 14 135 NO_OCCUPATION
//CHAR_DATA t6 = ( 56.0 , 54.0 , 7.0 ) 15 315 NO_OCCUPATION

COUNTER loop = 1
LEVELSTART
SET_AMBIENT_LEVEL  ( 1.0  , 0 )

WHILE ( loop = 1 )
IF (CHECK_CHARACTER_HEALTH(p1, 0))
	SET_CHAR_INVINCIBLE (p1, ON)
	GIVE_WEAPON (  p1 , rocket_launcher, 99 )
	GIVE_WEAPON (  p1 , molotov, 99 )
	GIVE_WEAPON (  p1 , grenade, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p2, 0))	
	SET_CHAR_INVINCIBLE (p2, ON)
	GIVE_WEAPON (  p2 , rocket_launcher, 99 )
	GIVE_WEAPON (  p2 , molotov, 99 )
	GIVE_WEAPON (  p2 , grenade, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p3, 0))		
	SET_CHAR_INVINCIBLE (p3, ON)
	GIVE_WEAPON (  p3 , rocket_launcher, 99 )
	GIVE_WEAPON (  p3 , molotov, 99 )
	GIVE_WEAPON (  p3 , grenade, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p4, 0))	
	SET_CHAR_INVINCIBLE (p4, ON)
	GIVE_WEAPON (  p4 , rocket_launcher, 99 )
	GIVE_WEAPON (  p4 , molotov, 99 )
	GIVE_WEAPON (  p4 , grenade, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p5, 0))	
	SET_CHAR_INVINCIBLE (p5, ON)
	GIVE_WEAPON (  p5 , rocket_launcher, 99 )
	GIVE_WEAPON (  p5 , molotov, 99 )
	GIVE_WEAPON (  p5 , grenade, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p6, 0))	
	SET_CHAR_INVINCIBLE (p6, ON)
	GIVE_WEAPON (  p6 , rocket_launcher, 99 )
	GIVE_WEAPON (  p6 , molotov, 99 )
	GIVE_WEAPON (  p6 , grenade, 99 )
ENDIF

ENDWHILE

LEVELEND








