<SpaceUnit Name="B-Wing">
<Text_ID>TEXT_UNIT_B_WING</Text_ID>
<Encyclopedia_Text>TEXT_TOOLTIP_B_WING</Encyclopedia_Text>
<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_BOMBER </Encyclopedia_Unit_Class>
<Encyclopedia_Good_Against> Star_Destroyer TIE_Fighter Pirate Fighter </Encyclopedia_Good_Against>
<Encyclopedia_Vulnerable_To> Tartan_Patrol_Cruiser </Encyclopedia_Vulnerable_To>
<Space_Model_Name>rv_bwing.alo</Space_Model_Name>
<Scale_Factor>0.7</Scale_Factor>
<Select_Box_Scale>70</Select_Box_Scale>
<Select_Box_Z_Adjust>-1</Select_Box_Z_Adjust>
<Mouse_Collide_Override_Sphere_Radius> 50.0 </Mouse_Collide_Override_Sphere_Radius>
<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>
<Dense_FOW_Reveal_Range_Multiplier>0.2</Dense_FOW_Reveal_Range_Multiplier>
<Mass>0.99</Mass>
<Fires_Forward>no</Fires_Forward>
<Turret_Rotate_Extent_Degrees>20</Turret_Rotate_Extent_Degrees>
<Turret_Elevate_Extent_Degrees>40</Turret_Elevate_Extent_Degrees>
<Max_Lift>3</Max_Lift>
<Max_Speed>3.0</Max_Speed>
<Min_Speed>2.0</Min_Speed>
<Max_Rate_Of_Turn>1.3</Max_Rate_Of_Turn>
<Max_Thrust>1.0</Max_Thrust>
<Max_Rate_Of_Roll>3.0</Max_Rate_Of_Roll>
<Bank_Turn_Angle>70</Bank_Turn_Angle>
<Begin_Turn_Towards_Distance>500.0</Begin_Turn_Towards_Distance>
<Hyperspace>Yes</Hyperspace>
<Hyperspace_Speed>1.5</Hyperspace_Speed>
<Maintenance_Cost>0.1</Maintenance_Cost>
<Affiliation>Rebel</Affiliation>
<Required_Ground_Base_Level>0</Required_Ground_Base_Level>
<Required_Star_Base_Level>2</Required_Star_Base_Level>
<Shield_Points>75</Shield_Points>
<Tactical_Health>120</Tactical_Health>
<Shield_Refresh_Rate>5</Shield_Refresh_Rate>
<Energy_Capacity>800</Energy_Capacity>
<Energy_Refresh_Rate>600</Energy_Refresh_Rate>
<Ship_Class>bomber</Ship_Class>
<Armor_Type> Armor_Bomber </Armor_Type>
<Shield_Armor_Type>Shield_Fighter</Shield_Armor_Type>
<Formation_Priority>2</Formation_Priority>
<Is_Escort>no</Is_Escort>
<Is_Bomber>yes</Is_Bomber>
<Land_Bomber_Type>B-Wing_Bombing_Run</Land_Bomber_Type>
<Political_Control>0</Political_Control>
<Squadron_Capacity>0</Squadron_Capacity>
<Number_per_Squadron>3</Number_per_Squadron>
<Build_Cost_Credits>140</Build_Cost_Credits>
<Build_Time_Seconds>25</Build_Time_Seconds>
<Size_Value>8</Size_Value>
<SpaceBehavior>FIGHTER_LOCOMOTOR, SELECTABLE, TARGETING, POWERED, SHIELDED, HIDE_WHEN_FOGGED, AMBIENT_SFX, DAMAGE_TRACKING, REVEAL, NEBULA </SpaceBehavior>
<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
<Damage>10</Damage>
<Projectile_Fire_Recharge_Seconds>6.0</Projectile_Fire_Recharge_Seconds>
<Land_FOW_Reveal_Range>150.0</Land_FOW_Reveal_Range>
<Space_FOW_Reveal_Range>1000.0</Space_FOW_Reveal_Range>
<Targeting_Max_Attack_Distance>500.0</Targeting_Max_Attack_Distance>
<Death_Explosions>Small_Explosion_Space</Death_Explosions>
<Death_SFXEvent_Start_Die>Unit_Y_Wing_Death_SFX</Death_SFXEvent_Start_Die>
<Asteroid_Damage_Hit_Particles>Small_Damage_Space</Asteroid_Damage_Hit_Particles>
<HardPoints>
HP_BOMBER_01, HP_BOMBER_03
</HardPoints>
<SFXEvent_Fire> Unit_Y_Wing_Fire </SFXEvent_Fire>
<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_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>
<CategoryMask> Bomber | AntiCapital | Fighter | AntiBomber</CategoryMask>
<Property_Flags> SmallShip </Property_Flags>
<Icon_Name>i_button_b_wing.tga</Icon_Name>
<Victory_Relevant>yes</Victory_Relevant>
<Air_Vehicle_Turret_Target> Yes </Air_Vehicle_Turret_Target>
<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
<Min_Speed_Fraction_For_Turn>0.6</Min_Speed_Fraction_For_Turn>
<Custom_Footprint_Radius> 15.0 </Custom_Footprint_Radius>
<MovementClass> Space </MovementClass>
<Out_Of_Combat_Defense_Adjustment>-1.0</Out_Of_Combat_Defense_Adjustment>
<Minimum_Follow_Distance>50.0</Minimum_Follow_Distance>
<Create_Team>Yes</Create_Team>
<AI_Combat_Power>75</AI_Combat_Power>
<Collision_Box_Modifier>2.0</Collision_Box_Modifier>
<Targeting_Priority_Set>Bomber</Targeting_Priority_Set>
<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>
<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>
<Remove_Upon_Death>true</Remove_Upon_Death>
<!-- Unit abilities description -->
<Unit_Abilities_Data SubObjectList="Yes">
<!-- Primary ability -->
<Unit_Ability>
<Type>ION_CANNON_SHOT</Type>
<SFXEvent_GUI_Unit_Ability_Activated>Unit_Attack_Y_Wing</SFXEvent_GUI_Unit_Ability_Activated>
</Unit_Ability>
<Unit_Ability>
<Type>SPOILER_LOCK</Type>
<Mod_Multiplier>WEAPON_DELAY_MULTIPLIER, 3.0f</Mod_Multiplier>
<Mod_Multiplier>SHIELD_REGEN_MULTIPLIER, 3.0f</Mod_Multiplier>
<Mod_Multiplier>ENERGY_REGEN_MULTIPLIER, 3.0f</Mod_Multiplier>
<Mod_Multiplier>SPEED_MULTIPLIER, 1.5</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>
<Strafe_Distance>500.0</Strafe_Distance>
<Population_Value>0</Population_Value>
</SpaceUnit>
If you need any help following this tutorial or want to post any feedback please feel free to leave me a comment or send me a pm.