<?xml version="1.0"?>
<Data>
<!-- Fighters -->
	<SpaceUnit Name="Z-95_Headhunter_Rebel">
	<!-- Encyclopedia Info -->
		<Text_ID>TEXT_UNIT_Z95_HEADHUNTER</Text_ID>
		<Encyclopedia_Text>
			TEXT_TOOLTIP_Z95_HEADHUNTER,
			GALYANA_CLASS_BLANK,
			STAT_R_Z95_SHIELD,
			STAT_R_Z95_HULL,
			STAT_R_Z95_SPEED
		</Encyclopedia_Text>
		<MP_Encyclopedia_Text>
			TEXT_TOOLTIP_Z95_HEADHUNTER,
			GALYANA_CLASS_BLANK,
			STAT_R_Z95_COST,
			STAT_R_Z95_TIME,
			STAT_R_Z95_SHIELD,
			STAT_R_Z95_HULL,
			STAT_R_Z95_SPEED
		</MP_Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_FIGHTER</Encyclopedia_Unit_Class>
		<Encyclopedia_Good_Against>TIE_Bomber Prowler-B Empire_Mining_Ship</Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To>TIE_Fighter Starviper_Fighter Pirate_Fighter</Encyclopedia_Vulnerable_To>

		<Space_Model_Name>RV_Z-95.ALO</Space_Model_Name>
		<Icon_Name>i_button_z95_headhunter.tga</Icon_Name>
		<Affiliation>Rebel</Affiliation>
		<Population_Value>0</Population_Value>

	<!-- Scale - Collision Info -->
		<Mass>0.995</Mass>
		<Size_Value>8</Size_Value>
		<Scale_Factor>0.6</Scale_Factor>
		<Select_Box_Scale>70</Select_Box_Scale>
		<Select_Box_Z_Adjust>-1</Select_Box_Z_Adjust>
		<Mouse_Collide_Override_Sphere_Radius>35.0</Mouse_Collide_Override_Sphere_Radius>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<Collision_Box_Modifier>1.5</Collision_Box_Modifier>
		<Custom_Footprint_Radius>15.0</Custom_Footprint_Radius>

	<!-- Movement Info -->
		<MovementClass>Space</MovementClass>
		<Max_Speed>4.0</Max_Speed>
		<Min_Speed>2.0</Min_Speed>
		<Min_Speed_Fraction_For_Turn>0.7</Min_Speed_Fraction_For_Turn>
		<Max_Rate_Of_Turn>2.5</Max_Rate_Of_Turn>
		<Max_Rate_Of_Roll>5.0</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>40</Bank_Turn_Angle>
		<Max_Thrust>1.0</Max_Thrust>
		<Max_Lift>4</Max_Lift>
		<Begin_Turn_Towards_Distance>300.0</Begin_Turn_Towards_Distance>

		<Hyperspace>Yes</Hyperspace>
		<Hyperspace_Speed>1.0</Hyperspace_Speed>

	<!-- Statistics Info -->
		<Shield_Armor_Type>Shield_Fighter</Shield_Armor_Type>
		<Shield_Points>40</Shield_Points>
		<Shield_Refresh_Rate>3</Shield_Refresh_Rate>
		<Armor_Type>Armor_Fighter</Armor_Type>
		<Tactical_Health>50</Tactical_Health>
		<Energy_Capacity>300</Energy_Capacity>
		<Energy_Refresh_Rate>100</Energy_Refresh_Rate>
		<Out_Of_Combat_Defense_Adjustment>-0.5</Out_Of_Combat_Defense_Adjustment>

	<!-- Damage - Targeting Info -->
		<Damage>2</Damage>
		<AI_Combat_Power>40</AI_Combat_Power>
		<Damage_Type>Damage_Strike</Damage_Type>
		<Projectile_Types>Proj_Ship_Small_Laser_Cannon_Red</Projectile_Types>
		<Projectile_Fire_Pulse_Count>2</Projectile_Fire_Pulse_Count>
		<Projectile_Fire_Pulse_Delay_Seconds>0.15</Projectile_Fire_Pulse_Delay_Seconds>
		<Projectile_Fire_Recharge_Seconds>2.0</Projectile_Fire_Recharge_Seconds>

		<Targeting_Fire_Inaccuracy>Fighter, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Bomber, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Transport, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Corvette, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Frigate, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Capital, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Super, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Structure, 10.0</Targeting_Fire_Inaccuracy>

		<Fires_Forward>No</Fires_Forward>
		<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>
		<Turret_Rotate_Extent_Degrees>30</Turret_Rotate_Extent_Degrees>
		<Turret_Elevate_Extent_Degrees>40</Turret_Elevate_Extent_Degrees>

		<Land_FOW_Reveal_Range>130.0</Land_FOW_Reveal_Range>
		<Space_FOW_Reveal_Range>500.0</Space_FOW_Reveal_Range>
		<Dense_FOW_Reveal_Range_Multiplier>0.2</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>475.0</Targeting_Max_Attack_Distance>
		<Targeting_Priority_Set>Fighter</Targeting_Priority_Set>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>

	<!-- Formation Info -->
		<Formation_Priority>2</Formation_Priority>
		<FormationOrder>1</FormationOrder>
		<Minimum_Follow_Distance>50.0</Minimum_Follow_Distance>
		<Strafe_Distance>500.0</Strafe_Distance>

	<!-- Misc. Info -->
		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Radar_Icon_Name>i_radar_fighter.tga</Radar_Icon_Name>
		<Victory_Relevant>Yes</Victory_Relevant>
		<Create_Team>Yes</Create_Team>

		<CategoryMask>Fighter | AntiBomber</CategoryMask>
		<Property_Flags>SmallShip</Property_Flags>
		<Ship_Class>Fighter</Ship_Class>
		<Is_Escort>Yes</Is_Escort>
		<Is_Bomber>No</Is_Bomber>

		<Squadron_Capacity>0</Squadron_Capacity>
		<Maintenance_Cost>0.1</Maintenance_Cost>

	<!-- Behavior - Death Info -->
		<SpaceBehavior>HUNT, FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, NEBULA</SpaceBehavior>

		<Asteroid_Damage_Hit_Particles>Small_Damage_Space</Asteroid_Damage_Hit_Particles>
		<Death_Explosions>Small_Explosion_Space</Death_Explosions>
		<Remove_Upon_Death>True</Remove_Upon_Death>

		<Spin_Away_On_Death>Yes</Spin_Away_On_Death>
		<Spin_Away_On_Death_Chance>0.1</Spin_Away_On_Death_Chance>
		<Spin_Away_On_Death_Time>2.0f</Spin_Away_On_Death_Time>
		<Spin_Away_On_Death_Explosion>Small_Explosion_Space</Spin_Away_On_Death_Explosion>
		<Spin_Away_On_Death_SFXEvent_Start_Die>Unit_A_Wing_Spinning_By</Spin_Away_On_Death_SFXEvent_Start_Die>

	<!-- SFX Events -->
		<SFXEvent_Fire>Unit_X_Wing_Fire</SFXEvent_Fire>
		<SFXEvent_Select>Unit_Select_X_Wing</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_X_Wing</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_X_Wing</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_X_Wing</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_X_Wing</SFXEvent_Guard>
		<SFXEvent_Move_Into_Asteroid_Field>Unit_Asteroids_X_Wing</SFXEvent_Move_Into_Asteroid_Field>
		<SFXEvent_Move_Into_Nebula>Unit_Nebula_X_Wing</SFXEvent_Move_Into_Nebula>
		<SFXEvent_Health_Low_Warning>Unit_Health_Low_X_Wing</SFXEvent_Health_Low_Warning>
		<SFXEvent_Health_Critical_Warning>Unit_Health_Critical_X_Wing</SFXEvent_Health_Critical_Warning>

		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_LASER, Unit_HP_LASER_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENGINE, Unit_HP_ENGINES_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_FIGHTER_BAY, Unit_HP_Bay_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_TRACTOR_BEAM, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_SPECIAL, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MASS_DRIVER, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_DUMMY_ART, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>

		<SFXEvent_Ambient_Moving>Unit_X_Wing_Fly_By</SFXEvent_Ambient_Moving>
		<SFXEvent_Ambient_Moving_Min_Delay_Seconds>5</SFXEvent_Ambient_Moving_Min_Delay_Seconds>
		<SFXEvent_Ambient_Moving_Max_Delay_Seconds>10</SFXEvent_Ambient_Moving_Max_Delay_Seconds>
		<SFXEvent_Engine_Cinematic_Focus_Loop>Unit_X_Wing_Cinematic_Engine_Loop</SFXEvent_Engine_Cinematic_Focus_Loop>

		<Death_SFXEvent_Start_Die>Unit_X_Wing_Death_SFX</Death_SFXEvent_Start_Die>

	<Unit_Abilities_Data SubObjectList="Yes">
		<Unit_Ability>
			<Type>HUNT</Type>
			<Mod_Multiplier>SPEED_MULTIPLIER,			1.05f</Mod_Multiplier>
			<SFXEvent_GUI_Unit_Ability_Activated>Unit_Patrol_X_Wing</SFXEvent_GUI_Unit_Ability_Activated>
		</Unit_Ability>
	</Unit_Abilities_Data>
	</SpaceUnit>

	<SpaceUnit Name="X-Wing">
	<!-- Encyclopedia Info -->
		<LOD_Bias>10</LOD_Bias>
		<Text_ID>TEXT_UNIT_X_WING</Text_ID>
		<Encyclopedia_Text>
			TEXT_TOOLTIP_X_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_XWING_SHIELD,
			STAT_R_XWING_HULL,
			STAT_R_XWING_SPEED
		</Encyclopedia_Text>
		<MP_Encyclopedia_Text>
			TEXT_TOOLTIP_X_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_XWING_COST,
			STAT_R_XWING_TIME,
			STAT_R_XWING_SHIELD,
			STAT_R_XWING_HULL,
			STAT_R_XWING_SPEED
		</MP_Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_FIGHTER</Encyclopedia_Unit_Class>
		<Encyclopedia_Good_Against>TIE_Fighter TIE_Bomber Starviper_Fighter</Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To>Tartan_Patrol_Cruiser Broadside_Class_Cruiser Crusader_Gunship</Encyclopedia_Vulnerable_To>

		<Space_Model_Name>rv_XWing.ALO</Space_Model_Name>
		<Icon_Name>i_button_x_wing.tga</Icon_Name>
		<Affiliation>Rebel</Affiliation>
		<Population_Value>0</Population_Value>

	<!-- Scale - Collision Info -->
		<Mass>0.98</Mass>
		<Size_Value>8</Size_Value>
		<Scale_Factor>0.6</Scale_Factor>
		<Select_Box_Scale>70</Select_Box_Scale>
		<Select_Box_Z_Adjust>1.0f</Select_Box_Z_Adjust>
		<Mouse_Collide_Override_Sphere_Radius>35.0</Mouse_Collide_Override_Sphere_Radius>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<Collision_Box_Modifier>1.5</Collision_Box_Modifier>
		<Custom_Footprint_Radius>7.0</Custom_Footprint_Radius>

	<!-- Movement Info -->
		<MovementClass>Space</MovementClass>
		<Max_Speed>4.0</Max_Speed>
		<Min_Speed>2.5</Min_Speed>
		<Max_Rate_Of_Turn>3.0</Max_Rate_Of_Turn>
		<Max_Rate_Of_Roll>5.0</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>40</Bank_Turn_Angle>
		<Max_Thrust>1.0</Max_Thrust>
		<Max_Lift>4</Max_Lift>
		<Begin_Turn_Towards_Distance>800.0</Begin_Turn_Towards_Distance>

		<Hyperspace>Yes</Hyperspace>
		<Hyperspace_Speed>1.5</Hyperspace_Speed>

	<!-- Statistics Info -->
		<Shield_Armor_Type>Shield_Fighter</Shield_Armor_Type>
		<Shield_Points>30</Shield_Points>
		<Shield_Refresh_Rate>4</Shield_Refresh_Rate>
		<Armor_Type>Armor_Fighter</Armor_Type>
		<Tactical_Health>75</Tactical_Health>
		<Energy_Capacity>400</Energy_Capacity>
		<Energy_Refresh_Rate>100</Energy_Refresh_Rate>
		<Out_Of_Combat_Defense_Adjustment>-0.5</Out_Of_Combat_Defense_Adjustment>

	<!-- Damage - Targeting Info -->
		<Damage>4</Damage>
		<AI_Combat_Power>60</AI_Combat_Power>
		<Damage_Type>Damage_Strike</Damage_Type>
		<Projectile_Types>Proj_Ship_Small_Laser_Cannon_Red</Projectile_Types>
		<Projectile_Fire_Pulse_Count>4</Projectile_Fire_Pulse_Count>
		<Projectile_Fire_Pulse_Delay_Seconds>0.1</Projectile_Fire_Pulse_Delay_Seconds>
		<Projectile_Fire_Recharge_Seconds>1.5</Projectile_Fire_Recharge_Seconds>

		<Targeting_Fire_Inaccuracy>Fighter, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Bomber, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Transport, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Corvette, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Frigate, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Capital, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Super, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Structure, 10.0</Targeting_Fire_Inaccuracy>

		<Fires_Forward>No</Fires_Forward>
		<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>
		<Turret_Rotate_Extent_Degrees>30</Turret_Rotate_Extent_Degrees>
		<Turret_Elevate_Extent_Degrees>40</Turret_Elevate_Extent_Degrees>

		<Land_FOW_Reveal_Range>130.0</Land_FOW_Reveal_Range>
		<Space_FOW_Reveal_Range>500.0</Space_FOW_Reveal_Range>
		<Dense_FOW_Reveal_Range_Multiplier>0.2</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>450.0</Targeting_Max_Attack_Distance>
		<Targeting_Priority_Set>Fighter</Targeting_Priority_Set>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>

	<!-- Formation Info -->
		<Formation_Priority>1</Formation_Priority>
		<FormationOrder>2</FormationOrder>
		<Minimum_Follow_Distance>25.0</Minimum_Follow_Distance>
		<Strafe_Distance>500.0</Strafe_Distance>

	<!-- Misc. Info -->
		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Radar_Icon_Name>i_radar_fighter.tga</Radar_Icon_Name>
		<Victory_Relevant>Yes</Victory_Relevant>
		<Create_Team>Yes</Create_Team>

		<CategoryMask>Fighter | AntiBomber</CategoryMask>
		<Property_Flags>SmallShip</Property_Flags>
		<Ship_Class>Fighter</Ship_Class>
		<Is_Escort>Yes</Is_Escort>
		<Is_Bomber>No</Is_Bomber>

		<Squadron_Capacity>0</Squadron_Capacity>
		<Maintenance_Cost>0.1</Maintenance_Cost>

	<!-- Behavior - Death Info -->
		<SpaceBehavior>FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, NEBULA</SpaceBehavior>

		<Asteroid_Damage_Hit_Particles>Small_Damage_Space</Asteroid_Damage_Hit_Particles>
		<Death_Explosions>Small_Explosion_Space</Death_Explosions>
		<Remove_Upon_Death>True</Remove_Upon_Death>

		<Spin_Away_On_Death>Yes</Spin_Away_On_Death>
		<Spin_Away_On_Death_Chance>0.2</Spin_Away_On_Death_Chance>
		<Spin_Away_On_Death_Time>2.0f</Spin_Away_On_Death_Time>
		<Spin_Away_On_Death_Explosion>Small_Explosion_Space</Spin_Away_On_Death_Explosion>
		<Spin_Away_On_Death_SFXEvent_Start_Die>Unit_X_Wing_Spinning_By</Spin_Away_On_Death_SFXEvent_Start_Die>

	<!-- SFX Events -->
		<SFXEvent_Fire>Unit_X_Wing_Fire</SFXEvent_Fire>
		<SFXEvent_Select>Unit_Select_X_Wing</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_X_Wing</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_X_Wing</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_X_Wing</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_X_Wing</SFXEvent_Guard>
		<SFXEvent_Assist_Move>Unit_Assist_Move_X_Wing</SFXEvent_Assist_Move>
		<SFXEvent_Assist_Attack>Unit_Assist_Attack_X_Wing</SFXEvent_Assist_Attack>
		<SFXEvent_Move_Into_Asteroid_Field>Unit_Asteroids_X_Wing</SFXEvent_Move_Into_Asteroid_Field>
		<SFXEvent_Move_Into_Nebula>Unit_Nebula_X_Wing</SFXEvent_Move_Into_Nebula>
		<SFXEvent_Health_Low_Warning>Unit_Health_Low_X_Wing</SFXEvent_Health_Low_Warning>
		<SFXEvent_Health_Critical_Warning>Unit_Health_Critical_X_Wing</SFXEvent_Health_Critical_Warning>
		<SFXEvent_Enemy_Damaged_Health_Low_Warning>Unit_Enemy_Health_Low_X_Wing</SFXEvent_Enemy_Damaged_Health_Low_Warning>
		<SFXEvent_Enemy_Damaged_Health_Critical_Warning>Unit_Enemy_Health_Critical_X_Wing</SFXEvent_Enemy_Damaged_Health_Critical_Warning>

		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_LASER, Unit_HP_LASER_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENGINE, Unit_HP_ENGINES_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_FIGHTER_BAY, Unit_HP_Bay_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_TRACTOR_BEAM, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_SPECIAL, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MASS_DRIVER, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_DUMMY_ART, Unit_Attack_X_Wing</SFXEvent_Attack_Hardpoint>

		<SFXEvent_Ambient_Moving>Unit_X_Wing_Fly_By</SFXEvent_Ambient_Moving>
		<SFXEvent_Ambient_Moving_Min_Delay_Seconds>5</SFXEvent_Ambient_Moving_Min_Delay_Seconds>
		<SFXEvent_Ambient_Moving_Max_Delay_Seconds>10</SFXEvent_Ambient_Moving_Max_Delay_Seconds>
		<SFXEvent_Engine_Cinematic_Focus_Loop>Unit_X_Wing_Cinematic_Engine_Loop</SFXEvent_Engine_Cinematic_Focus_Loop>

		<Death_SFXEvent_Start_Die>Unit_X_Wing_Death_SFX</Death_SFXEvent_Start_Die>

	<Unit_Abilities_Data SubObjectList="Yes">
		<Unit_Ability>
			<Type>SPOILER_LOCK</Type>
			<Mod_Multiplier>WEAPON_DELAY_MULTIPLIER,	3.0f</Mod_Multiplier>
			<Mod_Multiplier>SHIELD_REGEN_MULTIPLIER,	2.0f</Mod_Multiplier>
			<!--<Mod_Multiplier>ENERGY_REGEN_MULTIPLIER,	3.0f</Mod_Multiplier>-->
			<Mod_Multiplier>SPEED_MULTIPLIER,		1.35</Mod_Multiplier>
			<SFXEvent_GUI_Unit_Ability_Activated>Unit_Ability_On_X_Wing</SFXEvent_GUI_Unit_Ability_Activated>
			<SFXEvent_GUI_Unit_Ability_Deactivated>Unit_Ability_Off_X_Wing</SFXEvent_GUI_Unit_Ability_Deactivated>
		</Unit_Ability>
	</Unit_Abilities_Data>
	</SpaceUnit>

	<SpaceUnit Name="X-Wing_Land">
		<Variant_of_Existing_Type>X-Wing</Variant_of_Existing_Type>
		<Encyclopedia_Text>Galyana_Unit_Text_XWing_Land</Encyclopedia_Text>
		<Radar_Icon_Name>i_radar_default_blip.tga</Radar_Icon_Name>
	</SpaceUnit>
	
	<SpaceUnit Name="X_Wing_TechTree">
		<Variant_of_Existing_Type>X-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="X_Wing_TechTree2">
		<Variant_of_Existing_Type>X-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="X_Wing_TechTree3">
		<Variant_of_Existing_Type>X-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="X_Wing_TechTree4">
		<Variant_of_Existing_Type>X-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="X_Wing_TechTree5">
		<Variant_of_Existing_Type>X-Wing</Variant_of_Existing_Type>
	</SpaceUnit>

	<SpaceUnit Name="UEAW_EWing">
	<!-- Encyclopedia Info -->
		<Text_ID>UEAW_UNIT_EWING_SOLO</Text_ID>
		<Encyclopedia_Text>
			UEAW_TOOLTIP_EWING,
			GALYANA_CLASS_BLANK,
			STAT_R_EWING_SHIELD,
			STAT_R_EWING_HULL,
			STAT_R_EWING_SPEED
		</Encyclopedia_Text>
		<MP_Encyclopedia_Text>
			UEAW_TOOLTIP_EWING,
			GALYANA_CLASS_BLANK,
			STAT_R_EWING_COST,
			STAT_R_EWING_TIME,
			STAT_R_EWING_SHIELD,
			STAT_R_EWING_HULL,
			STAT_R_EWING_SPEED
		</MP_Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_FIGHTER</Encyclopedia_Unit_Class>
		<Encyclopedia_Good_Against>TIE_Interceptor Starviper_Fighter Mirage_MK2</Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To>Tartan_Patrol_Cruiser Crusader_Gunship ShadowClaw_Corvette</Encyclopedia_Vulnerable_To>

		<Space_Model_Name>UEAW_EWing.ALO</Space_Model_Name>
		<Icon_Name>UEAW_BUTTON_EWING.tga</Icon_Name>
		<Affiliation>Rebel</Affiliation>
		<Population_Value>0</Population_Value>

	<!-- Scale - Collision Info -->
		<Mass>0.98</Mass>
		<Size_Value>8</Size_Value>
		<Scale_Factor>0.6</Scale_Factor>
		<Select_Box_Scale>70</Select_Box_Scale>
		<Select_Box_Z_Adjust>1.0f</Select_Box_Z_Adjust>
		<Mouse_Collide_Override_Sphere_Radius>35.0</Mouse_Collide_Override_Sphere_Radius>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<Collision_Box_Modifier>1.5</Collision_Box_Modifier>
		<Custom_Footprint_Radius>7.0</Custom_Footprint_Radius>

	<!-- Movement Info -->
		<MovementClass>Space</MovementClass>
		<Max_Speed>5.0</Max_Speed>
		<Min_Speed>3.5</Min_Speed>
		<Max_Rate_Of_Turn>4.0</Max_Rate_Of_Turn>
		<Max_Rate_Of_Roll>5.0</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>50</Bank_Turn_Angle>
		<Max_Thrust>1.0</Max_Thrust>
		<Max_Lift>4</Max_Lift>
		<Begin_Turn_Towards_Distance>550.0</Begin_Turn_Towards_Distance>

		<Hyperspace>Yes</Hyperspace>
		<Hyperspace_Speed>1.5</Hyperspace_Speed>

	<!-- Statistics Info -->
		<Shield_Armor_Type>Shield_Fighter</Shield_Armor_Type>
		<Shield_Points>60</Shield_Points>
		<Shield_Refresh_Rate>5</Shield_Refresh_Rate>
		<Armor_Type>Armor_Fighter</Armor_Type>
		<Tactical_Health>60</Tactical_Health>
		<Energy_Capacity>500</Energy_Capacity>
		<Energy_Refresh_Rate>100</Energy_Refresh_Rate>
		<Out_Of_Combat_Defense_Adjustment>-0.5</Out_Of_Combat_Defense_Adjustment>

	<!-- Damage - Targeting Info -->
		<Damage>5</Damage>
		<AI_Combat_Power>70</AI_Combat_Power>
		<Damage_Type>Damage_Strike</Damage_Type>
		<Projectile_Types>Proj_Ship_Small_Laser_Cannon_Red</Projectile_Types>
		<Projectile_Damage>6.0</Projectile_Damage> <!-- was 5.5 -->
		<Projectile_Fire_Pulse_Count>6</Projectile_Fire_Pulse_Count>
		<Projectile_Fire_Pulse_Delay_Seconds>0.15</Projectile_Fire_Pulse_Delay_Seconds>
		<Projectile_Fire_Recharge_Seconds>1.2</Projectile_Fire_Recharge_Seconds>

		<Targeting_Fire_Inaccuracy>Fighter, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Bomber, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Transport, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Corvette, 15.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Frigate, 15.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Capital, 15.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Super, 15.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Structure, 10.0</Targeting_Fire_Inaccuracy>

		<Fires_Forward>No</Fires_Forward>
		<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>
		<Turret_Rotate_Extent_Degrees>30</Turret_Rotate_Extent_Degrees>
		<Turret_Elevate_Extent_Degrees>40</Turret_Elevate_Extent_Degrees>

		<Land_FOW_Reveal_Range>130.0</Land_FOW_Reveal_Range>
		<Space_FOW_Reveal_Range>550.0</Space_FOW_Reveal_Range>
		<Dense_FOW_Reveal_Range_Multiplier>0.2</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>500.0</Targeting_Max_Attack_Distance>
		<Targeting_Priority_Set>Fighter</Targeting_Priority_Set>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>

	<!-- Formation Info -->
		<Formation_Priority>1</Formation_Priority>
		<FormationOrder>1</FormationOrder>
		<Minimum_Follow_Distance>25.0</Minimum_Follow_Distance>
		<Strafe_Distance>500.0</Strafe_Distance>

	<!-- Misc. Info -->
		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Radar_Icon_Name>i_radar_fighter.tga</Radar_Icon_Name>
		<Victory_Relevant>Yes</Victory_Relevant>
		<Create_Team>Yes</Create_Team>

		<CategoryMask>Fighter | AntiBomber</CategoryMask>
		<Property_Flags>SmallShip</Property_Flags>
		<Ship_Class>Fighter</Ship_Class>
		<Is_Escort>Yes</Is_Escort>
		<Is_Bomber>No</Is_Bomber>

		<Squadron_Capacity>0</Squadron_Capacity>
		<Maintenance_Cost>0.1</Maintenance_Cost>

	<!-- Behavior - Death Info -->
		<SpaceBehavior>ABILITY_COUNTDOWN, FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, NEBULA</SpaceBehavior>

		<Asteroid_Damage_Hit_Particles>Small_Damage_Space</Asteroid_Damage_Hit_Particles>
		<Death_Explosions>Small_Explosion_Space</Death_Explosions>
		<Remove_Upon_Death>True</Remove_Upon_Death>

		<Spin_Away_On_Death>Yes</Spin_Away_On_Death>
		<Spin_Away_On_Death_Chance>0.2</Spin_Away_On_Death_Chance>
		<Spin_Away_On_Death_Time>2.0f</Spin_Away_On_Death_Time>
		<Spin_Away_On_Death_Explosion>Small_Explosion_Space</Spin_Away_On_Death_Explosion>
		<Spin_Away_On_Death_SFXEvent_Start_Die>Unit_A_Wing_Spinning_By</Spin_Away_On_Death_SFXEvent_Start_Die>

	<!-- SFX Events -->
		<SFXEvent_Fire>Unit_A_Wing_Fire</SFXEvent_Fire>
		<SFXEvent_Select>Unit_Select_A_Wing</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_A_Wing</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_A_Wing</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_A_Wing</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_A_Wing</SFXEvent_Guard>
		<SFXEvent_Health_Low_Warning>Unit_Health_Low_A_Wing</SFXEvent_Health_Low_Warning>
		<SFXEvent_Health_Critical_Warning>Unit_Health_Critical_A_Wing</SFXEvent_Health_Critical_Warning>
		<SFXEvent_Enemy_Damaged_Health_Low_Warning>Unit_Enemy_Health_Low_A_Wing</SFXEvent_Enemy_Damaged_Health_Low_Warning>
		<SFXEvent_Enemy_Damaged_Health_Critical_Warning>Unit_Enemy_Health_Critical_A_Wing</SFXEvent_Enemy_Damaged_Health_Critical_Warning>

		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_LASER, Unit_HP_LASER_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENGINE, Unit_HP_ENGINES_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_FIGHTER_BAY, Unit_HP_Bay_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_TRACTOR_BEAM, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_SPECIAL, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MASS_DRIVER, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_DUMMY_ART, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>

		<SFXEvent_Ambient_Moving>Unit_A_Wing_Fly_By</SFXEvent_Ambient_Moving>
		<SFXEvent_Ambient_Moving_Min_Delay_Seconds>5</SFXEvent_Ambient_Moving_Min_Delay_Seconds>
		<SFXEvent_Ambient_Moving_Max_Delay_Seconds>10</SFXEvent_Ambient_Moving_Max_Delay_Seconds>
		<SFXEvent_Engine_Cinematic_Focus_Loop>Unit_A_Wing_Cinematic_Engine_Loop</SFXEvent_Engine_Cinematic_Focus_Loop>

		<Death_SFXEvent_Start_Die>Unit_A_Wing_Death_SFX</Death_SFXEvent_Start_Die>

	<Unit_Abilities_Data SubObjectList="Yes">
		<Unit_Ability>
			<Type>TURBO</Type>
			<Expiration_Seconds>15</Expiration_Seconds>
			<Recharge_Seconds>40</Recharge_Seconds>
			<Mod_Multiplier>WEAPON_DELAY_MULTIPLIER,	3.0f</Mod_Multiplier>
			<Mod_Multiplier>SHIELD_REGEN_MULTIPLIER,	1.0f</Mod_Multiplier>
			<!--<Mod_Multiplier>ENERGY_REGEN_MULTIPLIER,	1.0f</Mod_Multiplier>-->
			<Mod_Multiplier>SPEED_MULTIPLIER,		1.4f</Mod_Multiplier>
			<SFXEvent_GUI_Unit_Ability_Activated> </SFXEvent_GUI_Unit_Ability_Activated> <!--Unit_Patrol_A_Wing-->
			<SFXEvent_GUI_Unit_Ability_Deactivated/>
		</Unit_Ability>
	</Unit_Abilities_Data>
	</SpaceUnit>
	
	<SpaceUnit Name="E_Wing_TechTree">
		<Variant_of_Existing_Type>UEAW_EWing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="E_Wing_TechTree2">
		<Variant_of_Existing_Type>UEAW_EWing</Variant_of_Existing_Type>
	</SpaceUnit>

	<SpaceUnit Name="A-Wing">
	<!-- Encyclopedia Info -->
		<Text_ID>TEXT_UNIT_A_WING</Text_ID>
		<Encyclopedia_Text>
			TEXT_TOOLTIP_A_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_AWING_SHIELD,
			STAT_R_AWING_HULL,
			STAT_R_AWING_SPEED
		</Encyclopedia_Text>
		<MP_Encyclopedia_Text>
			TEXT_TOOLTIP_A_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_AWING_COST,
			STAT_R_AWING_TIME,
			STAT_R_AWING_SHIELD,
			STAT_R_AWING_HULL,
			STAT_R_AWING_SPEED
		</MP_Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_FIGHTER</Encyclopedia_Unit_Class>
		<Encyclopedia_Good_Against>TIE_Fighter Skipray_Blastboat Pirate_Fighter_H</Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To>Tartan_Patrol_Cruiser Kavadonia_Corvette Pelleaon_Star_Destroyer</Encyclopedia_Vulnerable_To>

		<Space_Model_Name>rv_AWing.ALO</Space_Model_Name>
		<Icon_Name>i_button_a_wing.tga</Icon_Name>
		<Affiliation>Rebel</Affiliation>
		<Population_Value>0</Population_Value>

	<!-- Scale - Collision Info -->
		<Mass>0.98</Mass>
		<Size_Value>4</Size_Value>
		<Scale_Factor>0.6</Scale_Factor>
		<Select_Box_Scale>70</Select_Box_Scale>
		<Select_Box_Z_Adjust>1.0f</Select_Box_Z_Adjust>
		<Mouse_Collide_Override_Sphere_Radius>35.0</Mouse_Collide_Override_Sphere_Radius>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<Collision_Box_Modifier>1.5</Collision_Box_Modifier>
		<Custom_Footprint_Radius>7.0</Custom_Footprint_Radius>

	<!-- Movement Info -->
		<MovementClass>Space</MovementClass>
		<Max_Speed>6.0</Max_Speed>
		<Min_Speed>3.5</Min_Speed>
		<Max_Rate_Of_Turn>4.0</Max_Rate_Of_Turn>
		<Max_Rate_Of_Roll>5.0</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>50</Bank_Turn_Angle>
		<Max_Thrust>1.0</Max_Thrust>
		<Max_Lift>4</Max_Lift>
		<Begin_Turn_Towards_Distance>300.0</Begin_Turn_Towards_Distance>

		<Hyperspace>Yes</Hyperspace>
		<Hyperspace_Speed>1.5</Hyperspace_Speed>

	<!-- Statistics Info -->
		<Shield_Armor_Type>Shield_Fighter</Shield_Armor_Type>
		<Shield_Points>40</Shield_Points>
		<Shield_Refresh_Rate>4</Shield_Refresh_Rate>
		<Armor_Type>Armor_Fighter</Armor_Type>
		<Tactical_Health>60</Tactical_Health>
		<Energy_Capacity>400</Energy_Capacity>
		<Energy_Refresh_Rate>100</Energy_Refresh_Rate>
		<Out_Of_Combat_Defense_Adjustment>-0.5</Out_Of_Combat_Defense_Adjustment>

	<!-- Damage - Targeting Info -->
		<Damage>7</Damage>
		<AI_Combat_Power>80</AI_Combat_Power>
		<Damage_Type>Damage_Strike</Damage_Type>
		<Projectile_Types>Proj_Ship_Small_Laser_Cannon_Red</Projectile_Types>
		<Projectile_Damage>5.0</Projectile_Damage> <!-- was 6 -->
		<Projectile_Fire_Pulse_Count>4</Projectile_Fire_Pulse_Count>
		<Projectile_Fire_Pulse_Delay_Seconds>0.1</Projectile_Fire_Pulse_Delay_Seconds>
		<Projectile_Fire_Recharge_Seconds>1.0</Projectile_Fire_Recharge_Seconds>

		<Targeting_Fire_Inaccuracy>Fighter, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Bomber, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Transport, 1.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Corvette, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Frigate, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Capital, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Super, 20.0</Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy>Structure, 10.0</Targeting_Fire_Inaccuracy>

		<Fires_Forward>No</Fires_Forward>
		<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>
		<Turret_Rotate_Extent_Degrees>30</Turret_Rotate_Extent_Degrees>
		<Turret_Elevate_Extent_Degrees>40</Turret_Elevate_Extent_Degrees>

		<Land_FOW_Reveal_Range>130.0</Land_FOW_Reveal_Range>
		<Space_FOW_Reveal_Range>1000.0</Space_FOW_Reveal_Range>
		<Dense_FOW_Reveal_Range_Multiplier>0.25</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>500.0</Targeting_Max_Attack_Distance>
		<Targeting_Priority_Set>Fighter</Targeting_Priority_Set>
		<Target_Stealth_Units>Yes</Target_Stealth_Units>

	<!-- Formation Info -->
		<Formation_Priority>1</Formation_Priority>
		<FormationOrder>1</FormationOrder>
		<Minimum_Follow_Distance>25.0</Minimum_Follow_Distance>
		<Strafe_Distance>500.0</Strafe_Distance>

	<!-- Misc. Info -->
		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Radar_Icon_Name>i_radar_fighter.tga</Radar_Icon_Name>
		<Victory_Relevant>Yes</Victory_Relevant>
		<Create_Team>Yes</Create_Team>

		<CategoryMask>Fighter | AntiBomber</CategoryMask>
		<Property_Flags>SmallShip</Property_Flags>
		<Ship_Class>Fighter</Ship_Class>
		<Is_Escort>Yes</Is_Escort>
		<Is_Bomber>No</Is_Bomber>

		<Squadron_Capacity>0</Squadron_Capacity>
		<Maintenance_Cost>0.1</Maintenance_Cost>

	<!-- Behavior - Death Info -->
		<SpaceBehavior>ABILITY_COUNTDOWN, LURE, FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, WEAPON, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, NEBULA</SpaceBehavior>

		<Asteroid_Damage_Hit_Particles>Small_Damage_Space</Asteroid_Damage_Hit_Particles>
		<Death_Explosions>Small_Explosion_Space</Death_Explosions>
		<Remove_Upon_Death>True</Remove_Upon_Death>

		<Spin_Away_On_Death>Yes</Spin_Away_On_Death>
		<Spin_Away_On_Death_Chance>0.2</Spin_Away_On_Death_Chance>
		<Spin_Away_On_Death_Time>2.0f</Spin_Away_On_Death_Time>
		<Spin_Away_On_Death_Explosion>Small_Explosion_Space</Spin_Away_On_Death_Explosion>
		<Spin_Away_On_Death_SFXEvent_Start_Die>Unit_A_Wing_Spinning_By</Spin_Away_On_Death_SFXEvent_Start_Die>

	<!-- SFX Events -->
		<SFXEvent_Fire>Unit_A_Wing_Fire</SFXEvent_Fire>
		<SFXEvent_Select>Unit_Select_A_Wing</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_A_Wing</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_A_Wing</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_A_Wing</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_A_Wing</SFXEvent_Guard>
		<SFXEvent_Health_Low_Warning>Unit_Health_Low_A_Wing</SFXEvent_Health_Low_Warning>
		<SFXEvent_Health_Critical_Warning>Unit_Health_Critical_A_Wing</SFXEvent_Health_Critical_Warning>
		<SFXEvent_Enemy_Damaged_Health_Low_Warning>Unit_Enemy_Health_Low_A_Wing</SFXEvent_Enemy_Damaged_Health_Low_Warning>
		<SFXEvent_Enemy_Damaged_Health_Critical_Warning>Unit_Enemy_Health_Critical_A_Wing</SFXEvent_Enemy_Damaged_Health_Critical_Warning>

		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_LASER, Unit_HP_LASER_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENGINE, Unit_HP_ENGINES_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_FIGHTER_BAY, Unit_HP_Bay_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_TRACTOR_BEAM, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_SPECIAL, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MASS_DRIVER, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_DUMMY_ART, Unit_Attack_A_Wing</SFXEvent_Attack_Hardpoint>

		<SFXEvent_Ambient_Moving>Unit_A_Wing_Fly_By</SFXEvent_Ambient_Moving>
		<SFXEvent_Ambient_Moving_Min_Delay_Seconds>5</SFXEvent_Ambient_Moving_Min_Delay_Seconds>
		<SFXEvent_Ambient_Moving_Max_Delay_Seconds>10</SFXEvent_Ambient_Moving_Max_Delay_Seconds>
		<SFXEvent_Engine_Cinematic_Focus_Loop>Unit_A_Wing_Cinematic_Engine_Loop</SFXEvent_Engine_Cinematic_Focus_Loop>

		<Death_SFXEvent_Start_Die>Unit_A_Wing_Death_SFX</Death_SFXEvent_Start_Die>

	<Unit_Abilities_Data SubObjectList="Yes">
		<Unit_Ability>
			<Type>LURE</Type>
			<!--Radius matches particle effect-->
			<Effective_Radius>350</Effective_Radius>

			<Target_Types>
				Z-95_Headhunter_Rebel,
				Z95_Headhunter_Rebel_Squadron,
				V-wing_Fighter_R,
				VWing_Squadron_R,
				Pirate_Fighter_R,
				Rebel_Pirate_Fighter_Squadron,
				Cobra_R,
				Rebel_Cobra_Squadron,
				Prowler-A_R,
				Rebel_Prowler-A_Squadron,
				UEAW_EWing,
				UEAW_EWing_Squadron,
				X-Wing,
				Rebel_X-Wing_Squadron,
				A-Wing,
				A_Wing_Squadron,
				Y-Wing,
				Y-Wing_Squadron,
				Y-Wing_No_Ability,
				Y-Wing_Squadron_No_Ability,
				B-Wing,
				B-Wing_Squadron,
				Z-95_Headhunter_Empire,
				Z95_Headhunter_Empire_Squadron,
				V-wing_Fighter_E,
				VWing_Squadron_E,
				Pirate_Fighter_E,
				Empire_Pirate_Fighter_Squadron,
				Cobra_E,
				Empire_Cobra_Squadron,
				Prowler-A_E,
				Empire_Prowler-A_Squadron,
				TIE_Scout,
				TIE_Scout_Squadron,
				TIE_Fighter,
				TIE_Fighter_Squadron,
				TIE_Phantom,
				TIE_Phantom_Squadron,
				TIE_Interceptor,
				TIE_Interceptor_Squadron,
				UEAW_TIE_Advanced,
				UEAW_TIE_Advanced_Squadron,
				TIE_Bomber,
				TIE_Bomber_Squadron,
				Assault_gunboat,
				UEAW_Assault_Gunboat_Squadron,
				TIE_Defender,
				TIE_Defender_Squadron,
				Z-95_Headhunter_Underworld,
				Z95_Headhunter_Underworld_Squadron,
				Pirate_Fighter_U,
				Underworld_Pirate_Fighter_Squadron,
				Cobra_U,
				Underworld_Cobra_Squadron,
				Prowler-A_U,
				Underworld_Prowler-A_Squadron,
				A-Wing_Underworld,
				Underworld_A_Wing_Squadron,
				Starviper_Fighter,
				StarViper_Squadron,
				UEAW_Aggressor_Assault_Fighter,
				UEAW_Aggressor_Squadron,
				Skipray_Blastboat,
				Skipray_Squadron,
				TIE_Defender_Underworld,
				Underworld_TIE_Defender_Squadron,
				Hutt_V-wing_Fighter,
				Hutt_VWing_Squadron,
				Pirate_Fighter_H,
				Hutt_Pirate_Fighter_Squadron,
				Mirage_Mk2,
				Mirage_Squadron,
				Viper,
				Viper_Squadron,
				Z-95_Headhunter_Hutts,
				Z95_Headhunter_Hutts_Squadron,
				Cobra_H,
				Hutt_Cobra_Squadron,
				Prowler-A_H,
				Hutt_Prowler-A_Squadron,
				Aqulamator_Bomber,
				Aqulamator_Bomber_Squadron,
				Z-95_Headhunter,
				Z95_Headhunter_Squadron,
				V-wing_Fighter,
				VWing_Squadron_P,
				Pirate_Fighter,
				Pirate_Fighter_Squadron,
				Y-Wing_Pirate,
				Y-Wing_Pirate_Squadron,
				Cobra,
				Cobra_Squadron,
				Prowler-A,
				Prowler-A_Squadron
			</Target_Types>

			<Recharge_Seconds>40</Recharge_Seconds>
			<Expiration_Seconds>16</Expiration_Seconds>

			<Is_Pulsing>Yes</Is_Pulsing>
			<Pulse_Frequency_Secs>0.5</Pulse_Frequency_Secs>
			<Max_Number_Of_Pulses>40</Max_Number_Of_Pulses>
			<Particle_Effect>Lure_Ability_Particle</Particle_Effect>
			<Mod_Multiplier>TAKE_DAMAGE_MULTIPLIER,	0.6f</Mod_Multiplier>

			<SFXEvent_GUI_Unit_Ability_Activated>GUI_Toggle_Lure_On</SFXEvent_GUI_Unit_Ability_Activated>
			<SFXEvent_GUI_Unit_Ability_Deactivated>GUI_Toggle_Lure_Off</SFXEvent_GUI_Unit_Ability_Deactivated>
		</Unit_Ability>
	</Unit_Abilities_Data>
	</SpaceUnit>
	
	<SpaceUnit Name="A_Wing_TechTree">
		<Variant_of_Existing_Type>A-Wing</Variant_of_Existing_Type>
	</SpaceUnit>

<!-- Bombers -->
	<SpaceUnit Name="Y-Wing">
	<!-- Encyclopedia Info -->
		<Text_ID>TEXT_UNIT_Y_WING</Text_ID>
		<Encyclopedia_Text>
			TEXT_TOOLTIP_Y_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_YWING_SHIELD,
			STAT_R_YWING_HULL,
			STAT_R_YWING_SPEED
		</Encyclopedia_Text>
		<MP_Encyclopedia_Text>
			TEXT_TOOLTIP_Y_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_YWING_COST,
			STAT_R_YWING_TIME,
			STAT_R_YWING_SHIELD,
			STAT_R_YWING_HULL,
			STAT_R_YWING_SPEED
		</MP_Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_BOMBER</Encyclopedia_Unit_Class>
		<Encyclopedia_Good_Against>Star_Destroyer Victory_Destroyer Vengeance_Frigate</Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To>TIE_Fighter Tartan_Patrol_Cruiser Starviper_Fighter</Encyclopedia_Vulnerable_To>

		<Space_Model_Name>rv_ywing.ALO</Space_Model_Name>
		<Icon_Name>i_button_y_wing.tga</Icon_Name>
		<Affiliation>Rebel</Affiliation>
		<Population_Value>0</Population_Value>

	<!-- Scale - Collision Info -->
		<Mass>0.99</Mass>
		<Size_Value>8</Size_Value>
		<Scale_Factor>0.6</Scale_Factor>
		<Select_Box_Scale>70</Select_Box_Scale>
		<Select_Box_Z_Adjust>-1</Select_Box_Z_Adjust>
		<Mouse_Collide_Override_Sphere_Radius>35.0</Mouse_Collide_Override_Sphere_Radius>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<Collision_Box_Modifier>2.0</Collision_Box_Modifier>
		<Custom_Footprint_Radius>15.0</Custom_Footprint_Radius>

	<!-- Movement Info -->
		<MovementClass>Space</MovementClass>
		<Max_Speed>3.0</Max_Speed>
		<Min_Speed>2.0</Min_Speed>
		<Min_Speed_Fraction_For_Turn>0.6</Min_Speed_Fraction_For_Turn>
		<Max_Rate_Of_Turn>1.3</Max_Rate_Of_Turn>
		<Max_Rate_Of_Roll>3.0</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>70</Bank_Turn_Angle>
		<Max_Thrust>1.0</Max_Thrust>
		<Max_Lift>3</Max_Lift>
		<Begin_Turn_Towards_Distance>500.0</Begin_Turn_Towards_Distance>

		<Hyperspace>Yes</Hyperspace>
		<Hyperspace_Speed>1.0</Hyperspace_Speed>

	<!-- Statistics Info -->
		<Shield_Armor_Type>Shield_Fighter</Shield_Armor_Type>
		<Shield_Points>50</Shield_Points>
		<Shield_Refresh_Rate>4</Shield_Refresh_Rate>
		<Armor_Type>Armor_Bomber</Armor_Type>
		<Tactical_Health>75</Tactical_Health>
		<Energy_Capacity>300</Energy_Capacity>
		<Energy_Refresh_Rate>100</Energy_Refresh_Rate>
		<Out_Of_Combat_Defense_Adjustment>-0.5</Out_Of_Combat_Defense_Adjustment>

	<!-- Damage - Targeting Info -->
		<Damage>5</Damage>
		<AI_Combat_Power>70</AI_Combat_Power>

		<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>

		<HardPoints>
			HP_YWING_BOMBER_00,
			HP_YWING_BOMBER_01,
			HP_YWING_BOMBER_02
		</HardPoints>

		<Land_FOW_Reveal_Range>130.0</Land_FOW_Reveal_Range>
		<Space_FOW_Reveal_Range>600.0</Space_FOW_Reveal_Range>
		<Dense_FOW_Reveal_Range_Multiplier>0.25</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>500.0</Targeting_Max_Attack_Distance>
		<Targeting_Priority_Set>Bomber</Targeting_Priority_Set>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>

		<Air_Vehicle_Turret_Target>Yes</Air_Vehicle_Turret_Target>

	<!-- Formation Info -->
		<Formation_Priority>2</Formation_Priority>
		<FormationOrder>2</FormationOrder>
		<Minimum_Follow_Distance>50.0</Minimum_Follow_Distance>
		<Strafe_Distance>500.0</Strafe_Distance>

	<!-- Misc. Info -->
		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Radar_Icon_Name>i_radar_fighter.tga</Radar_Icon_Name>
		<Victory_Relevant>Yes</Victory_Relevant>
		<Create_Team>Yes</Create_Team>

		<CategoryMask>Bomber | AntiCapital</CategoryMask>
		<Property_Flags>SmallShip</Property_Flags>
		<Ship_Class>Bomber</Ship_Class>
		<Is_Escort>No</Is_Escort>
		<Is_Bomber>Yes</Is_Bomber>
		<Land_Bomber_Type>Y-Wing_Bombing_Run</Land_Bomber_Type>

		<Squadron_Capacity>0</Squadron_Capacity>
		<Maintenance_Cost>0.1</Maintenance_Cost>

	<!-- Behavior - Death Info -->
		<SpaceBehavior>ABILITY_COUNTDOWN, FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, REVEAL, NEBULA</SpaceBehavior>

		<Asteroid_Damage_Hit_Particles>Small_Damage_Space</Asteroid_Damage_Hit_Particles>
		<Death_Explosions>Small_Explosion_Space</Death_Explosions>
		<Remove_Upon_Death>True</Remove_Upon_Death>

		<Spin_Away_On_Death>Yes</Spin_Away_On_Death>
		<Spin_Away_On_Death_Chance>0.2</Spin_Away_On_Death_Chance>
		<Spin_Away_On_Death_Time>2.0f</Spin_Away_On_Death_Time>
		<Spin_Away_On_Death_Explosion>Small_Explosion_Space</Spin_Away_On_Death_Explosion>
		<Spin_Away_On_Death_SFXEvent_Start_Die>Unit_Y_Wing_Spinning_By</Spin_Away_On_Death_SFXEvent_Start_Die>

	<!-- SFX Events -->
		<SFXEvent_Fire> </SFXEvent_Fire> <!--Unit_Y_Wing_Fire - Dummy hardpoint was using this-->
		<SFXEvent_Select>Unit_Select_Y_Wing</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_Y_Wing</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_Y_Wing</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_Y_Wing</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_Y_Wing</SFXEvent_Guard>
		<SFXEvent_Move_Into_Asteroid_Field>Unit_Asteroids_Y_Wing</SFXEvent_Move_Into_Asteroid_Field>
		<SFXEvent_Move_Into_Nebula>Unit_Nebula_Y_Wing</SFXEvent_Move_Into_Nebula>
		<SFXEvent_Health_Low_Warning>Unit_Health_Low_Y_Wing</SFXEvent_Health_Low_Warning>
		<SFXEvent_Health_Critical_Warning>Unit_Health_Critical_Y_Wing</SFXEvent_Health_Critical_Warning>

		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENGINE, Unit_HP_ENGINES_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_FIGHTER_BAY, Unit_HP_Bay_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_TRACTOR_BEAM, Unit_Attack_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Attack_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_SPECIAL, Unit_Attack_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MASS_DRIVER, Unit_Attack_Y_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_DUMMY_ART, Unit_Attack_Y_Wing</SFXEvent_Attack_Hardpoint>
		
		<SFXEvent_Hardpoint_Destroyed>HARD_POINT_WEAPON_LASER, Unit_UR_None</SFXEvent_Hardpoint_Destroyed>
		<SFXEvent_Hardpoint_Destroyed>HARD_POINT_WEAPON_TORPEDO, Unit_UR_None</SFXEvent_Hardpoint_Destroyed>

		<SFXEvent_Ambient_Moving>Unit_Y_Wing_Fly_By</SFXEvent_Ambient_Moving>
		<SFXEvent_Ambient_Moving_Min_Delay_Seconds>5</SFXEvent_Ambient_Moving_Min_Delay_Seconds>
		<SFXEvent_Ambient_Moving_Max_Delay_Seconds>10</SFXEvent_Ambient_Moving_Max_Delay_Seconds>
		<SFXEvent_Engine_Cinematic_Focus_Loop>Unit_Y_Wing_Cinematic_Engine_Loop</SFXEvent_Engine_Cinematic_Focus_Loop>

		<Death_SFXEvent_Start_Die>Unit_Y_Wing_Death_SFX</Death_SFXEvent_Start_Die>

	<Unit_Abilities_Data SubObjectList="Yes">
		<Unit_Ability>
			<Type>ION_CANNON_SHOT</Type>
			<SFXEvent_GUI_Unit_Ability_Activated>Unit_Attack_Y_Wing</SFXEvent_GUI_Unit_Ability_Activated>
		</Unit_Ability>
	</Unit_Abilities_Data>
	</SpaceUnit>

	<SpaceUnit Name="Y-Wing_No_Ability">
		<Variant_Of_Existing_Type>Y-Wing</Variant_Of_Existing_Type>

		<SpaceBehavior>FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, REVEAL, NEBULA</SpaceBehavior>

	<Unit_Abilities_Data SubObjectList="Yes"/>
	</SpaceUnit>

	<!-- Buildable Variant for the Rebel Story Campaign - need the old Ion Stun ability for Ion Torpedoes to disable Kessel shuttles -->
	<SpaceUnit Name="Y-Wing_Story">
		<Variant_Of_Existing_Type>Y-Wing</Variant_Of_Existing_Type>
		<Encyclopedia_Text>
			TEXT_TOOLTIP_Y_WING,
			GALYANA_CLASS_BLANK,
			Galyana_Tooltip_YWing_Story,
			GALYANA_CLASS_BLANK,
			STAT_R_YWING_SHIELD,
			STAT_R_YWING_HULL,
			STAT_R_YWING_SPEED
		</Encyclopedia_Text>
		<Icon_Name>i_button_y_wing_story.tga</Icon_Name>
		<No_Colorization_Color>80, 129, 218, 255</No_Colorization_Color>
	</SpaceUnit>
	
	<SpaceUnit Name="Y_Wing_TechTree">
		<Variant_of_Existing_Type>Y-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="Y_Wing_TechTree2">
		<Variant_of_Existing_Type>Y-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="Y_Wing_TechTree3">
		<Variant_of_Existing_Type>Y-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="Y_Wing_TechTree4">
		<Variant_of_Existing_Type>Y-Wing</Variant_of_Existing_Type>
	</SpaceUnit>

	<SpaceUnit Name="B-Wing">
	<!-- Encyclopedia Info -->
		<LOD_Bias>10</LOD_Bias>
		<Text_ID>TEXT_UNIT_B_WING</Text_ID>
		<Encyclopedia_Text>
			TEXT_TOOLTIP_B_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_BWING_SHIELD,
			STAT_R_BWING_HULL,
			STAT_R_BWING_SPEED
		</Encyclopedia_Text>
		<MP_Encyclopedia_Text>
			TEXT_TOOLTIP_B_WING,
			GALYANA_CLASS_BLANK,
			STAT_R_BWING_COST,
			STAT_R_BWING_TIME,
			STAT_R_BWING_SHIELD,
			STAT_R_BWING_HULL,
			STAT_R_BWING_SPEED
		</MP_Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_BOMBER</Encyclopedia_Unit_Class>
		<Encyclopedia_Good_Against>Star_Destroyer Krayt_Class_Destroyer Centurion_Destroyer</Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To>Tartan_Patrol_Cruiser Crusader_Gunship Kavadonia_Corvette</Encyclopedia_Vulnerable_To>

		<Space_Model_Name>rv_bwing.ALO</Space_Model_Name>
		<Icon_Name>i_button_RV_BWing.tga</Icon_Name>
		<Affiliation>Rebel</Affiliation>
		<Population_Value>0</Population_Value>

	<!-- Scale - Collision Info -->
		<Mass>0.99</Mass>
		<Size_Value>8</Size_Value>
		<Scale_Factor>0.6</Scale_Factor>
		<Select_Box_Scale>70</Select_Box_Scale>
		<Select_Box_Z_Adjust>-1</Select_Box_Z_Adjust>
		<Mouse_Collide_Override_Sphere_Radius>35.0</Mouse_Collide_Override_Sphere_Radius>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<Collision_Box_Modifier>2.0</Collision_Box_Modifier>
		<Custom_Footprint_Radius>15.0</Custom_Footprint_Radius>

	<!-- Movement Info -->
		<MovementClass>Space</MovementClass>
		<Max_Speed>4.0</Max_Speed>
		<Min_Speed>2.5</Min_Speed>
		<Min_Speed_Fraction_For_Turn>0.6</Min_Speed_Fraction_For_Turn>
		<Max_Rate_Of_Turn>3.0</Max_Rate_Of_Turn>
		<Max_Rate_Of_Roll>5.0</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>80</Bank_Turn_Angle>
		<Max_Thrust>1.0</Max_Thrust>
		<Max_Lift>3</Max_Lift>
		<Begin_Turn_Towards_Distance>600.0</Begin_Turn_Towards_Distance>

		<Hyperspace>Yes</Hyperspace>
		<Hyperspace_Speed>1.0</Hyperspace_Speed>

	<!-- Statistics Info -->
		<Shield_Armor_Type>Shield_Fighter</Shield_Armor_Type>
		<Shield_Points>60</Shield_Points>
		<Shield_Refresh_Rate>5</Shield_Refresh_Rate>
		<Armor_Type>Armor_Bomber</Armor_Type>
		<Tactical_Health>75</Tactical_Health>
		<Energy_Capacity>500</Energy_Capacity>
		<Energy_Refresh_Rate>120</Energy_Refresh_Rate>
		<Out_Of_Combat_Defense_Adjustment>-0.5</Out_Of_Combat_Defense_Adjustment>

	<!-- Damage - Targeting Info -->
		<Damage>8</Damage>
		<AI_Combat_Power>80</AI_Combat_Power>

		<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>

		<HardPoints>
			HP_BWING_LASER_00,
			HP_BWING_LASER_01,
			HP_BWING_ION_00,
			HP_BWING_ION_00,
			HP_BWING_TORP_00
		</HardPoints>

		<Land_FOW_Reveal_Range>130.0</Land_FOW_Reveal_Range>
		<Space_FOW_Reveal_Range>620.0</Space_FOW_Reveal_Range>
		<Dense_FOW_Reveal_Range_Multiplier>0.25</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>500.0</Targeting_Max_Attack_Distance>
		<Targeting_Priority_Set>Bomber</Targeting_Priority_Set>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>

		<Air_Vehicle_Turret_Target>Yes</Air_Vehicle_Turret_Target>

	<!-- Formation Info -->
		<Formation_Priority>2</Formation_Priority>
		<FormationOrder>3</FormationOrder>
		<Minimum_Follow_Distance>50.0</Minimum_Follow_Distance>
		<Strafe_Distance>500.0</Strafe_Distance>

	<!-- Misc. Info -->
		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Radar_Icon_Name>i_radar_fighter.tga</Radar_Icon_Name>
		<Victory_Relevant>Yes</Victory_Relevant>
		<Create_Team>Yes</Create_Team>

		<CategoryMask>Fighter | Bomber | AntiCapital</CategoryMask>
		<Property_Flags>SmallShip</Property_Flags>
		<Ship_Class>Bomber</Ship_Class>
		<Is_Escort>No</Is_Escort>
		<Is_Bomber>Yes</Is_Bomber>
		<Land_Bomber_Type>B-Wing_Bombing_Run</Land_Bomber_Type>

		<Squadron_Capacity>0</Squadron_Capacity>
		<Maintenance_Cost>0.1</Maintenance_Cost>

	<!-- Behavior - Death Info -->
		<SpaceBehavior>FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, REVEAL, NEBULA</SpaceBehavior>

		<Asteroid_Damage_Hit_Particles>Small_Damage_Space</Asteroid_Damage_Hit_Particles>
		<Death_Explosions>Small_Explosion_Space</Death_Explosions>
		<Remove_Upon_Death>True</Remove_Upon_Death>

		<Spin_Away_On_Death>Yes</Spin_Away_On_Death>
		<Spin_Away_On_Death_Chance>0.2</Spin_Away_On_Death_Chance>
		<Spin_Away_On_Death_Time>2.0f</Spin_Away_On_Death_Time>
		<Spin_Away_On_Death_Explosion>Small_Explosion_Space</Spin_Away_On_Death_Explosion>
		<Spin_Away_On_Death_SFXEvent_Start_Die>Unit_Y_Wing_Spinning_By</Spin_Away_On_Death_SFXEvent_Start_Die>

	<!-- SFX Events -->
		<SFXEvent_Fire>Unit_Y_Wing_Fire</SFXEvent_Fire>
		<SFXEvent_Select>Unit_Select_B_Wing</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_B_Wing</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_B_Wing</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_B_Wing</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_B_Wing</SFXEvent_Guard>
		<SFXEvent_Move_Into_Asteroid_Field>Unit_Asteroids_B_Wing</SFXEvent_Move_Into_Asteroid_Field>
		<SFXEvent_Move_Into_Nebula>Unit_Nebula_B_Wing</SFXEvent_Move_Into_Nebula>
		<SFXEvent_Health_Low_Warning>Unit_Health_Low_B_Wing</SFXEvent_Health_Low_Warning>
		<SFXEvent_Health_Critical_Warning>Unit_Health_Critical_B_Wing</SFXEvent_Health_Critical_Warning>

		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_LASER, Unit_HP_LASER_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENGINE, Unit_HP_ENGINES_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_FIGHTER_BAY, Unit_HP_Bay_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_TRACTOR_BEAM, Unit_Attack_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Attack_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_SPECIAL, Unit_Attack_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_WEAPON_MASS_DRIVER, Unit_Attack_B_Wing</SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint>HARD_POINT_DUMMY_ART, Unit_Attack_B_Wing</SFXEvent_Attack_Hardpoint>
		
		<SFXEvent_Hardpoint_Destroyed>HARD_POINT_WEAPON_LASER, Unit_UR_None</SFXEvent_Hardpoint_Destroyed>
		<SFXEvent_Hardpoint_Destroyed>HARD_POINT_WEAPON_TORPEDO, Unit_UR_None</SFXEvent_Hardpoint_Destroyed>
		<SFXEvent_Hardpoint_Destroyed>HARD_POINT_WEAPON_ION_CANNON, Unit_UR_None</SFXEvent_Hardpoint_Destroyed>

		<SFXEvent_Ambient_Moving>Unit_Y_Wing_Fly_By</SFXEvent_Ambient_Moving>
		<SFXEvent_Ambient_Moving_Min_Delay_Seconds>5</SFXEvent_Ambient_Moving_Min_Delay_Seconds>
		<SFXEvent_Ambient_Moving_Max_Delay_Seconds>10</SFXEvent_Ambient_Moving_Max_Delay_Seconds>
		<SFXEvent_Engine_Cinematic_Focus_Loop>Unit_Y_Wing_Cinematic_Engine_Loop</SFXEvent_Engine_Cinematic_Focus_Loop>

		<Death_SFXEvent_Start_Die>Unit_Y_Wing_Death_SFX</Death_SFXEvent_Start_Die>

	<Unit_Abilities_Data SubObjectList="Yes">
		<Unit_Ability>
			<Type>SPOILER_LOCK</Type>
			<Mod_Multiplier>WEAPON_DELAY_MULTIPLIER,	3.0f</Mod_Multiplier>
			<Mod_Multiplier>SHIELD_REGEN_MULTIPLIER,	2.0f</Mod_Multiplier>
			<!--<Mod_Multiplier>ENERGY_REGEN_MULTIPLIER,	3.0f</Mod_Multiplier>-->
			<Mod_Multiplier>SPEED_MULTIPLIER,		1.6</Mod_Multiplier>
			<SFXEvent_GUI_Unit_Ability_Activated>Unit_Turbo_On_B_Wing</SFXEvent_GUI_Unit_Ability_Activated>
			<SFXEvent_GUI_Unit_Ability_Deactivated>Unit_Turbo_Off_B_Wing</SFXEvent_GUI_Unit_Ability_Deactivated>
		</Unit_Ability>
	</Unit_Abilities_Data>
	</SpaceUnit>
	
	<SpaceUnit Name="B_Wing_TechTree">
		<Variant_of_Existing_Type>B-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
	<SpaceUnit Name="B_Wing_TechTree2">
		<Variant_of_Existing_Type>B-Wing</Variant_of_Existing_Type>
	</SpaceUnit>
</Data>
