##################         	 FLAGSHIP           ########################

### WEAPONS ###

entity = {
	name = "turret_small_entity"
	pdxmesh = "npf_01_turret_small_mesh"
}

entity = {
	name = "large_turret_entity"
	pdxmesh = "npf_01_large_turret_mesh"
}

entity = {
	name = "turret_energy_torpedo_entity"
	pdxmesh = "npf_01_large_turret_mesh"
	scale = 1.1
}

entity = {
	name = "turret_torpedo_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 0.9
}

entity = {
	name = "turret_missile_large_entity"
	pdxmesh = "npf_01_large_turret_mesh"
	scale = 1.1
}

entity = {
	name = "turret_missile_medium_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 1.0
}

entity = {
	name = "turret_missile_small_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 0.9
}

entity = {
	name = "large_kinetic_gun_entity"
	pdxmesh = "npf_01_large_turret_mesh"
	scale = 1.1
}

entity = {
	name = "medium_kinetic_gun_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 1.0
}

entity = {
	name = "small_kinetic_gun_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 0.9
}

entity = {
	name = "turret_point_defence_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 0.9
}

entity = {
	name = "large_laser_gun_entity"
	pdxmesh = "npf_01_large_turret_mesh"
	scale = 1.1
}

entity = {
	name = "medium_laser_gun_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 1.0
}

entity = {
	name = "small_laser_gun_entity"
	pdxmesh = "npf_01_turret_small_mesh"
	scale = 0.9
}

### FRAME AND INVISIBLE SECTION ###

entity = {

	#General Info
	
	name = "dreadnought_flagship_entity"
	pdxmesh = "locator_mesh"
	scale = 1.3
	game_data = {size = 24.0}
	
	#Locators for the Sections
	
	locator = { name = "part1"	position = { 0 0 0 } rotation = { 0 0 0 } }
	locator = { name = "part2"	position = { 0 0 0 } rotation = { 0 0 0 } }
	locator = { name = "part3"	position = { 0 0 0 } rotation = { 0 0 0 } }
	locator = { name = "part4"	position = { 0 0 0 } rotation = { 0 0 0 } }
	
	#Locators for the Weapons
	
	### Mid 1
	locator = { name = "custom_large_gun_01"			position = { 2.5 	1.2 	-4.5 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_large_gun_02"			position = { -2.5 	1.2 	-4.5 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_large_gun_03"			position = { 2.8 	2 		2.6 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_large_gun_04"			position = { -2.8 	2 		2.6 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_large_gun_05"			position = { 2.8 	2 		4.6 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_large_gun_06"			position = { -2.8 	2 		4.6 } 				rotation = { 0 0 0 } }
	
	locator = { name = "custom_small_gun_01"			position = { 2.5 	1.2 	-4.2 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_small_gun_02"			position = { -2.5 	1.2 	-4.2 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_small_gun_03"			position = { 2.5 	1.2 	-5.3 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_small_gun_04"			position = { -2.5 	1.2 	-5.3 } 				rotation = { 0 0 0 } }
	
	locator = { name = "custom_defense_gun_01"			position = { 1.3 	1.2 	-14 } 				rotation = { 0 0 -90 } }
	locator = { name = "custom_defense_gun_02"			position = { -1.3 	1.2 	-14 } 				rotation = { 0 0 90 } }
	locator = { name = "custom_defense_gun_03"			position = { 1.3 	1.2		-12 } 				rotation = { 0 0 -90 } }
	locator = { name = "custom_defense_gun_04"			position = { -1.3 	1.2		-12 } 				rotation = { 0 0 90 } }
	
	### Mid 2		
	locator = { name = "custom_large_gun_07"			position = { 2.3 	-1.1 	-4.5 }				rotation = { 0 0 180 } }
	locator = { name = "custom_large_gun_08"			position = { -2.3 	-1.1 	-4.5 }				rotation = { 0 0 180 } }
	locator = { name = "custom_large_gun_09"			position = { 2.8 	-1.8	2.6 } 				rotation = { 0 0 180 } }
	locator = { name = "custom_large_gun_10"			position = { -2.8 	-1.8	2.6 } 				rotation = { 0 0 180 } }
	locator = { name = "custom_large_gun_11"			position = { 2.8 	-1.8	4.6 } 				rotation = { 0 0 180 } }
	locator = { name = "custom_large_gun_12"			position = { -2.8 	-1.8	4.6 } 				rotation = { 0 0 180 } }
		
	locator = { name = "custom_small_gun_05"			position = { 2.3 	-1.1 	-4.2 }				rotation = { 0 0 180 } }
	locator = { name = "custom_small_gun_06"			position = { -2.3 	-1.1 	-4.2 }				rotation = { 0 0 180 } }
	locator = { name = "custom_small_gun_07"			position = { 2.3 	-1.1 	-5.3 }				rotation = { 0 0 180 } }
	locator = { name = "custom_small_gun_08"			position = { -2.3 	-1.1 	-5.3 }				rotation = { 0 0 180 } }
	
	### Stern
	locator = { name = "custom_large_gun_13"			position = { 2.8 	2		9.5 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_large_gun_14"			position = { -2.8 	2		9.5 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_large_gun_15"			position = { 2.8 	-2		9.5 } 				rotation = { 0 0 180 } }
	locator = { name = "custom_large_gun_16"			position = { -2.8 	-2		9.5 } 				rotation = { 0 0 180 } }
	
	locator = { name = "custom_small_gun_09"			position = { 2.8 	2		8.8 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_small_gun_10"			position = { -2.8 	2		8.8 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_small_gun_11"			position = { 2.8 	2		10.3 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_small_gun_12"			position = { -2.8 	2		10.3 } 				rotation = { 0 0 0 } }
	locator = { name = "custom_small_gun_13"			position = { 2.8 	-2		8.8 } 				rotation = { 0 0 180 } }
	locator = { name = "custom_small_gun_14"			position = { -2.8 	-2		8.8 } 				rotation = { 0 0 180 } }
	locator = { name = "custom_small_gun_15"			position = { 2.8 	-2		10.3 } 				rotation = { 0 0 180 } }
	locator = { name = "custom_small_gun_16"			position = { -2.8 	-2		10.3 } 				rotation = { 0 0 180 } }
	
	### Used by all
	
	locator = { name = "custom_hangar"					position = { 0	 	-2 		-4 } 				rotation = { 0 0 0 } }

	
	#Animations
	
	default_state = "idle"
	state = { name = "idle" state_time = 5 }
	state = { name = "moving" state_time = 5 }
	state = { name = "death" state_time = 8.9 looping = no
		event = { time = 8.8 node = "explosion" particle = "dreadnought_explosion_particle" keep_particle = yes }
	}
}

#########position = { 0<-[+ = Links, - = Rechts] | 0<-[+ = Hoch, - = Runter] | 0<-[+ = Zurück, - = Vor] }

### SECTION WITH ANIMATIONS ###

entity = {

	#General Info
	
	name = "dreadnought_flagship_section_entity"
	pdxmesh = "npf_01_npc_warship_01_mesh"
	scale = 1.3
	game_data = {size = 24
				emissive_recolor_crunch = 5.0}
	
	#Locators for the Weapons
	
	locator = { name = "xl_gun_01"	position = { 0 2 -20 } rotation = { 0 0 0 } }
	locator = { name = "xl_gun_02"	position = { 0 -5.5 -15.5 } rotation = { 0 0 0 } }
	
	#Animations
	
	default_state = "idle"
	state = { name = "idle" animation = "idle"
		start_event = { trigger_once = yes }
		
		event = { time = 0 node = "light_locator_01" particle = "ship_light_blue_effect" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "light_locator_02" particle = "ship_light_blue_effect" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "light_locator_03" particle = "ship_light_blue_effect" keep_particle = yes trigger_once = yes }
		
		event = { time = 0 node = "engine_large_01" particle = "mammalian_01_3_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_01" particle = "mammalian_01_2_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_02" particle = "mammalian_01_2_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_03" particle = "mammalian_01_2_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_04" particle = "mammalian_01_2_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_05" particle = "mammalian_01_2_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_06" particle = "mammalian_01_2_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		
		event = { time = 0 node = "engine_medium_07" particle = "mammalian_01_2_35_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_small_01" particle = "mammalian_01_1_45_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_small_02" particle = "mammalian_01_1_45_exhaust_idle_particle" keep_particle = yes trigger_once = yes }
	}
	state = { name = "moving" animation = "idle"
	#	start_event = { trigger_once = yes }
	
		event = { time = 0 node = "light_locator_01" particle = "ship_light_blue_effect" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "light_locator_02" particle = "ship_light_blue_effect" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "light_locator_03" particle = "ship_light_blue_effect" keep_particle = yes trigger_once = yes }
		
		event = { time = 0 node = "engine_large_01" particle = "mammalian_01_3_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_01" particle = "mammalian_01_2_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_02" particle = "mammalian_01_2_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_03" particle = "mammalian_01_2_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_04" particle = "mammalian_01_2_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_05" particle = "mammalian_01_2_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_medium_06" particle = "mammalian_01_2_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		
		event = { time = 0 node = "engine_medium_07" particle = "mammalian_01_2_35_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_small_01" particle = "mammalian_01_1_45_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
		event = { time = 0 node = "engine_small_02" particle = "mammalian_01_1_45_ship_exhaust_moving_particle" keep_particle = yes trigger_once = yes }
	}
	state = { name = "death" animation = "death" looping = no
		event = { time = 0.0 node = "explosion1" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 1.4 node = "explosion2" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 2.0 node = "explosion3" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 2.8 node = "explosion4" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 3.4 node = "explosion5" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 3.8 node = "explosion6" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 4.4 node = "explosion7" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 5.0 node = "explosion8" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 5.6 node = "explosion9" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
		event = { time = 6.0 node = "explosion10" particle = "ship_explosion_particle" keep_particle = yes trigger_once = yes }
	}	
}

### LOCATORS ###

#Large

#large_gun_01	 			
#large_gun_02 	 	
#large_gun_03_l
#large_gun_03_r
#large_gun_04_l
#large_gun_04_r  
#large_gun_05_l  		
#large_gun_05_r  		
#large_gun_06  		
#large_gun_07_l  			
#large_gun_07_r	

#Small

#small_gun_01
#small_gun_02
#small_gun_03
#small_gun_04_l
#small_gun_04_r  
#small_gun_05_l
#small_gun_05_r 	
#small_gun_08 	 		
#small_gun_09 	 	
#small_gun_10 	 		