entity = {
	name = "synthetics_01_juggernaut_entity"
	pdxmesh = "synthetics_01_juggernaut_frame_mesh"

	locator = { name = "part1" position = { 0 0 0 } } # Actual locator in mesh.

	default_state = "idle"
	state = { name = "idle"	 animation = "idle" animation_blend_time = 0 looping = no

	}
	state = { name = "moving" animation = "moving" animation_blend_time = 0 looping = no

	}
	state = { name = "death" animation = "death" animation_blend_time = 2 looping = no
		event = { time = 16.3 node = "explosion_locator_13" particle = "synthetics_01_3_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 16.3 node = "explosion_locator_14" particle = "synthetics_01_3_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 16.3 node = "explosion_locator_15" particle = "synthetics_01_5_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 16.3 node = "explosion_locator_16" particle = "synthetics_01_3_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 16.3 node = "explosion_locator_17" particle = "synthetics_01_3_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 16.3 node = "explosion_locator_18" particle = "synthetics_01_3_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 16.3 node = "explosion_locator_19" particle = "synthetics_01_3_ship_explosion_effect" keep_particle = yes trigger_once = yes }
	}

    scale = 1.0
	game_data = {
		size = 35
		emissive_recolor_crunch = 3.0

	}
}

entity = {
	name = "synthetics_01_juggernaut_core_section_entity"
	pdxmesh = "synthetics_01_juggernaut_mesh"

	default_state = "idle"
	state = { name = "idle" animation = "idle"	looping = no animation_blend_time = 0
	event = { time = 0 node = "light_locator_01" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }
	event = { time = 0 node = "light_locator_02" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }
	event = { time = 0 node = "light_locator_03" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }
	event = { time = 0 node = "light_locator_04" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }

	event = { trigger_once = yes sound = { soundeffect = syn_ship_juggernaut_idle } }
	}

	state = { name = "moving" animation = "moving" looping = no animation_blend_time = 0

	event = { trigger_once = yes sound = { soundeffect = cyb_ship_juggernaut_move } }

	event = { time = 0 node = "engine_large_01" particle = "synthetics_01_250_ship_exhaust" trigger_once = yes keep_particle = yes }

	event = { time = 0 node = "engine_medium_01" particle = "synthetics_01_200_ship_exhaust" trigger_once = yes keep_particle = yes }
 	event = { time = 0 node = "engine_medium_02" particle = "synthetics_01_200_ship_exhaust" trigger_once = yes keep_particle = yes }
	event = { time = 0 node = "engine_small_01" particle = "synthetics_01_100_ship_exhaust" trigger_once = yes keep_particle = yes }
 	event = { time = 0 node = "engine_small_02" particle = "synthetics_01_100_ship_exhaust" trigger_once = yes keep_particle = yes }
 	event = { time = 0 node = "engine_small_03" particle = "synthetics_01_100_ship_exhaust" trigger_once = yes keep_particle = yes }
 	event = { time = 0 node = "engine_small_04" particle = "synthetics_01_100_ship_exhaust" trigger_once = yes keep_particle = yes }
 	event = { time = 0 node = "engine_small_05" particle = "synthetics_01_100_ship_exhaust" trigger_once = yes keep_particle = yes }
 	event = { time = 0 node = "engine_small_06" particle = "synthetics_01_100_ship_exhaust" trigger_once = yes keep_particle = yes }


	event = { time = 0 node = "light_locator_01" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }
	event = { time = 0 node = "light_locator_02" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }
	event = { time = 0 node = "light_locator_03" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }
	event = { time = 0 node = "light_locator_04" particle = "synthetics_01_ship_light_effect" keep_particle = yes trigger_once = yes }
	}
	
	state = { name = "death" animation = "death" looping = no animation_blend_time = 2
		event = { time = 1.1 node = "explosion_locator_01" particle = "synthetics_01_075_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 1.3 node = "explosion_locator_01" particle = "ship_burn_2_particle" keep_particle = yes trigger_once = yes }

		event = { time = 1.8 node = "explosion_locator_10" particle = "synthetics_01_1_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 2.0 node = "explosion_locator_10" particle = "ship_burn_2_particle" keep_particle = yes trigger_once = yes }

		event = { time = 3.1 node = "explosion_locator_07" particle = "synthetics_01_075_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 3.3 node = "explosion_locator_07" particle = "ship_burn_2_particle" keep_particle = yes trigger_once = yes }

		event = { time = 4.4 node = "explosion_locator_04" particle = "synthetics_01_050_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		#event = { time = 4.6 node = "explosion_locator_04" particle = "ship_burn_2_particle" keep_particle = yes trigger_once = yes }

		event = { time = 4.7 node = "explosion_locator_05" particle = "synthetics_01_1_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 4.9 node = "explosion_locator_05" particle = "ship_burn_2_particle" keep_particle = yes trigger_once = yes }

		event = { time = 5.2 node = "explosion_locator_06" particle = "synthetics_01_075_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		event = { time = 5.4 node = "explosion_locator_06" particle = "ship_burn_2_particle" keep_particle = yes trigger_once = yes }

		event = { time = 6.5 node = "explosion_locator_03" particle = "synthetics_01_075_ship_explosion_effect" keep_particle = yes trigger_once = yes }

		event = { time = 6.9 node = "explosion_locator_08" particle = "synthetics_01_075_ship_explosion_effect" keep_particle = yes trigger_once = yes }

		event = { time = 7.7 node = "explosion_locator_09" particle = "synthetics_01_1_ship_explosion_effect" keep_particle = yes trigger_once = yes }

		event = { time = 8.9 node = "explosion_locator_02" particle = "synthetics_01_075_ship_explosion_effect" keep_particle = yes trigger_once = yes }

		event = { time = 8.7 node = "explosion_locator_11" particle = "synthetics_01_050_ship_explosion_effect" keep_particle = yes trigger_once = yes }

		event = { time = 9.3 node = "explosion_locator_12" particle = "synthetics_01_075_ship_explosion_effect" keep_particle = yes trigger_once = yes }
		


	}
}

 #ANIMATIONS

animation = {
	name = "synthetics_01_juggernaut_idle_animation"
	file = "synthetics_01_juggernaut_idle.anim"
}

animation = {
	name = "synthetics_01_juggernaut_death_animation"
	file = "synthetics_01_juggernaut_death.anim"
}

animation = {
	name = "synthetics_01_juggernaut_moving_animation"
	file = "synthetics_01_juggernaut_moving.anim"
}

animation = {
	name = "synthetics_01_juggernaut_frame_idle_animation"
	file = "synthetics_01_juggernaut_frame_idle.anim"
}

animation = {
	name = "synthetics_01_juggernaut_frame_death_animation"
	file = "synthetics_01_juggernaut_frame_death.anim"
}

animation = {
	name = "synthetics_01_juggernaut_frame_moving_animation"
	file = "synthetics_01_juggernaut_frame_moving.anim"
}