<?xml version="1.0"?>


<Crusader_Gunship_Data>



	<SpaceUnit Name="Crusader_Gunship">
		<Text_ID>TEXT_UNIT_CRUSADER_GUNSHIP</Text_ID>
		<Encyclopedia_Good_Against> X-wing TIE_Fighter </Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To> Alliance_Assault_Frigate Victory_Destroyer </Encyclopedia_Vulnerable_To>
		<Encyclopedia_Text>TEXT_TOOLTIP_CRUSADER_GUNSHIP</Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_CORVETTE</Encyclopedia_Unit_Class>
		<Icon_Name>i_button_Crusader.tga</Icon_Name>
		
		<GUI_Row> 1 </GUI_Row>
		<Space_Model_Name>UV_CrusaderClassCorvette.alo</Space_Model_Name>
		<Select_Box_Scale>260</Select_Box_Scale>
		<Select_Box_Z_Adjust>-30</Select_Box_Z_Adjust>
		<Mass>0.9995</Mass>
		<Scale_Factor>0.56</Scale_Factor>
		<No_Colorization_Color> 255, 255, 255, 255 </No_Colorization_Color>
		<Dense_FOW_Reveal_Range_Multiplier>0.2</Dense_FOW_Reveal_Range_Multiplier>

        <Ranking_In_Category>7</Ranking_In_Category>
		<Ranged_Target_Z_Adjust>0</Ranged_Target_Z_Adjust>
		
		<Max_Speed>3.8</Max_Speed>
		<Max_Rate_Of_Turn>1.5</Max_Rate_Of_Turn>
		<MovementClass> Space </MovementClass>
		<Space_Layer> Corvette </Space_Layer>
		<Layer_Z_Adjust>-20.0</Layer_Z_Adjust>
		<Max_Rate_Of_Roll>0.8</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>15</Bank_Turn_Angle>
		<OverrideAcceleration> .065 </OverrideAcceleration>
		<OverrideDeceleration> .065 </OverrideDeceleration>

		<Max_Thrust>0.8</Max_Thrust>
		<Hyperspace>Yes</Hyperspace>
		<Hyperspace_Speed>2.0</Hyperspace_Speed>
		<Maintenance_Cost>0.05</Maintenance_Cost>

		<Armor_Type> Armor_Tartan </Armor_Type>
        <Shield_Armor_Type>Shield_Corvette</Shield_Armor_Type>

		<Shield_Points>700</Shield_Points>
		<Tactical_Health>800</Tactical_Health>
		<Damage>20</Damage>
		<Autoresolve_Health>800</Autoresolve_Health> 
		<Shield_Refresh_Rate>12</Shield_Refresh_Rate>
		<Energy_Capacity>999999</Energy_Capacity>
		<Energy_Refresh_Rate>300</Energy_Refresh_Rate>
		<Formation_Priority>3</Formation_Priority>
		<Is_Escort>Yes</Is_Escort>
		<Is_Bomber>no</Is_Bomber>
		<Squadron_Capacity>0</Squadron_Capacity>
		<Transport_Capacity>0</Transport_Capacity>
		<Number_per_Squadron>1</Number_per_Squadron>
		<Size_Value>120</Size_Value>

		<Affiliation>Underworld</Affiliation>
		<Tech_Level>0</Tech_Level>
		<Required_Ground_Base_Level>0</Required_Ground_Base_Level>
		<Required_Star_Base_Level>2</Required_Star_Base_Level>
		<Build_Cost_Credits>1400</Build_Cost_Credits>
		<AI_Combat_Power>1250</AI_Combat_Power>
		<Build_Time_Seconds>8</Build_Time_Seconds>
		<Build_Tab_Space_Units>Yes</Build_Tab_Space_Units>

		<Cheap_Bribe_Cost>60</Cheap_Bribe_Cost>
		<Expensive_Bribe_Cost>120</Expensive_Bribe_Cost>
		<Tactical_Bribe_Cost>625</Tactical_Bribe_Cost>

		<Behavior>ABILITY_COUNTDOWN, DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED</Behavior>
		<SpaceBehavior> SIMPLE_SPACE_LOCOMOTOR, TARGETING, SELECTABLE, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA </SpaceBehavior>

		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<Death_Explosions>Large_Explosion_Space_Empire</Death_Explosions>
		<Death_Clone>Damage_Normal, Crusader_Gunship_Death_Clone</Death_Clone>

		<Space_FOW_Reveal_Range>1200.0</Space_FOW_Reveal_Range>
		<Space_FOW_Reveal_Range>1200.0</Space_FOW_Reveal_Range>
		<Targeting_Max_Attack_Distance>800.0</Targeting_Max_Attack_Distance>

		<Hardpoints>
			HP_Crusader_Gunship_00,
			HP_Crusader_Gunship_01,
			HP_Crusader_Gunship_02,
			HP_Crusader_Gunship_03,
			HP_Crusader_Gunship_04,
			HP_Crusader_Gunship_05,
			HP_Crusader_Gunship_06,
			HP_Crusader_Gunship_07,
			HP_Crusader_Gunship_08,
			HP_Crusader_Gunship_09,
			HP_Crusader_Gunship_10,
			HP_Crusader_Gunship_11
		</Hardpoints>

		<SFXEvent_Build_Started>UHD_Build_Vehicle</SFXEvent_Build_Started>
		<SFXEvent_Build_Cancelled>UHD_Unit_Canceled</SFXEvent_Build_Cancelled>
		<SFXEvent_Build_Complete>Unit_Complete_Crusader</SFXEvent_Build_Complete>
		<SFXEvent_Ambient_Loop>Unit_Carrack_Moving_Engine_Loop</SFXEvent_Ambient_Loop>
		<SFXEvent_Select>Unit_Select_Crusader</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_Crusader</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_Crusader</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_Crusader</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_Crusader</SFXEvent_Guard>
		<SFXEvent_Barrage>Unit_Barrage_Crusader</SFXEvent_Barrage>
		<SFXEvent_Move_Into_Nebula> Unit_Nebula_Crusader </SFXEvent_Move_Into_Nebula>

		<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Crusader </SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Crusader </SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Crusader </SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Crusader </SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint> HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Crusader </SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint> HARD_POINT_ENGINE, Unit_HP_ENGINES_Crusader </SFXEvent_Attack_Hardpoint>
		<SFXEvent_Attack_Hardpoint> HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Crusader </SFXEvent_Attack_Hardpoint>

		<SFXEvent_Engine_Idle_Loop> Unit_Tartan_Idle_Engine_Loop </SFXEvent_Engine_Idle_Loop>
		<SFXEvent_Engine_Moving_Loop> Unit_Tartan_Moving_Engine_Loop </SFXEvent_Engine_Moving_Loop>
		<SFXEvent_Engine_Cinematic_Focus_Loop> Unit_Tartan_Cinematic_Engine_Loop </SFXEvent_Engine_Cinematic_Focus_Loop>
		<Death_SFXEvent_Start_Die>Unit_Corvette_Death_SFX</Death_SFXEvent_Start_Die>

		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<MovementClass> Space </MovementClass>
		<Guard_Chase_Range>1000.0</Guard_Chase_Range>
		<Idle_Chase_Range>400.0</Idle_Chase_Range>
		<Attack_Move_Response_Range>400.0</Attack_Move_Response_Range>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>
		<Targeting_Priority_Set>Corvette</Targeting_Priority_Set>
		<Autonomous_Move_Extension_Vs_Attacker>300.0</Autonomous_Move_Extension_Vs_Attacker>
		<CategoryMask> Corvette | AntiFighter | AntiBomber </CategoryMask>
		<Victory_Relevant>yes</Victory_Relevant>
		<Has_Space_Evaluator>True</Has_Space_Evaluator>
		<Score_Cost_Credits> 1250</Score_Cost_Credits>
		<Population_Value>2</Population_Value>
		<Lua_Script>ObjectScript_PointDefense</Lua_Script>

		<!-- Non-Hero unit abilities description -->
		<Unit_Abilities_Data SubObjectList="Yes"> 
            <Unit_Ability>
                <Type>LASER_DEFENSE</Type>
                <Recharge_Seconds>60.0</Recharge_Seconds>
                <GUI_Activated_Ability_Name> Crusader_Laser_Defense </GUI_Activated_Ability_Name>
                <Effective_Radius> 500.0 </Effective_Radius>
                <SFXEvent_GUI_Unit_Ability_Activated> Unit_Laser_Defense_On_Crusader </SFXEvent_GUI_Unit_Ability_Activated>  <!--(by pressing the activate button)-->
				<SFXEvent_GUI_Unit_Ability_Deactivated> Unit_Laser_Defense_Off_Crusader </SFXEvent_GUI_Unit_Ability_Deactivated>  <!--(by pressing deactivate)-->
                <Must_Be_Bought_On_Black_Market>Yes</Must_Be_Bought_On_Black_Market>
                <Supports_Autofire>False</Supports_Autofire>
           </Unit_Ability>
        </Unit_Abilities_Data>

		<Abilities SubObjectList="Yes">
            <Laser_Defense_Ability Name="Crusader_Laser_Defense">
                <Activation_Style> User_Input </Activation_Style>
                <Defense_Duration_In_Secs> 35.0 </Defense_Duration_In_Secs>
                <Laser_Color>34, 34, 235, 255</Laser_Color>
                <Bone_Names>muzzleB_00</Bone_Names>
                <Projectile_Types_Targeted>MISSILE, ROCKET, MPTL_ROCKET</Projectile_Types_Targeted>
                <Protection_Radius>500.0</Protection_Radius>
                <Laser_Beam_Frames>2</Laser_Beam_Frames>
                <Laser_Beam_Width>4</Laser_Beam_Width>
                <Projectile_Dist_Travelled>100</Projectile_Dist_Travelled>
                <Lightning_Effect_Name>Force_Lightning</Lightning_Effect_Name>
                <Laser_Beam_Texture>tractor_beam00.tga</Laser_Beam_Texture>
                <Recharge_Time_In_Secs>.50</Recharge_Time_In_Secs>
                <Must_Be_Bought_On_Black_Market>Yes</Must_Be_Bought_On_Black_Market>
                <Zap_SFXEvent>Unit_Point_Laser_Fire</Zap_SFXEvent>
            </Laser_Defense_Ability>
		</Abilities>
		
		<Abilities SubObjectList="Yes">
					
			<Redirect_Blaster_Ability Name="US_Magnetically_Sealed_Armor_Bonus_L2">
				<Initially_Enabled> No </Initially_Enabled>		<!-- Must be enabled via the EL_Heavy_Reflective_Armor_L2_Upgrade -->
				<Activation_Style>Take_Damage</Activation_Style>
				<!-- Redirection chance is rolled first. If failed, we roll block chance. If failed, we take the damage. -->
				<Redirect_Chance>0.0</Redirect_Chance>
				<Block_Chance>0.30</Block_Chance>
				<Reaction_Arc_In_Degrees>360.0</Reaction_Arc_In_Degrees>
				<Max_Projectile_Redirection_Angle_In_Degrees> 30.0 </Max_Projectile_Redirection_Angle_In_Degrees>
				<Turn_To_Face_Unblockable_Shots>No</Turn_To_Face_Unblockable_Shots>
				<!-- We can block/redirect shots from the following units types: -->
				<Applicable_Unit_Categories>Fighter | Bomber | Corvette | Frigate | Capital | Structure</Applicable_Unit_Categories>
				<Applicable_Unit_Types />
				<SFXEvent_Activate>Unit_Lightsaber_Projectile_Block</SFXEvent_Activate>
			</Redirect_Blaster_Ability>
			
			<Redirect_Blaster_Ability Name="US_Magnetically_Sealed_Armor_Bonus_L3">
				<Initially_Enabled> No </Initially_Enabled>		<!-- Must be enabled via the EL_Heavy_Reflective_Armor_L2_Upgrade -->
				<Activation_Style>Take_Damage</Activation_Style>
				<!-- Redirection chance is rolled first. If failed, we roll block chance. If failed, we take the damage. -->
				<Redirect_Chance>0.0</Redirect_Chance>
				<Block_Chance>0.30</Block_Chance>
				<Reaction_Arc_In_Degrees>360.0</Reaction_Arc_In_Degrees>
				<Max_Projectile_Redirection_Angle_In_Degrees> 30.0 </Max_Projectile_Redirection_Angle_In_Degrees>
				<Turn_To_Face_Unblockable_Shots>No</Turn_To_Face_Unblockable_Shots>
				<!-- We can block/redirect shots from the following units types: -->
				<Applicable_Unit_Categories>Fighter | Bomber | Corvette | Frigate | Capital | Structure</Applicable_Unit_Categories>
				<Applicable_Unit_Types />
				<SFXEvent_Activate>Unit_Lightsaber_Projectile_Block</SFXEvent_Activate>
			</Redirect_Blaster_Ability>
		</Abilities>

		<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->
		<Tactical_Build_Cost_Multiplayer>1900</Tactical_Build_Cost_Multiplayer>
		<Tactical_Build_Time_Seconds>9</Tactical_Build_Time_Seconds>
		<Tactical_Build_Prerequisites />
		<Tactical_Production_Queue>Tactical_Units</Tactical_Production_Queue>
		<!--<Build_Limit_Current_Per_Player>0</Build_Limit_Current_Per_Player>-->
		<!--<Build_Limit_Lifetime_Per_Player>0</Build_Limit_Lifetime_Per_Player>-->  
		<!--<MULTIPLAYER SKIRMISH VALUES END>-->

	</SpaceUnit>
	
	<SpaceUnit Name="Crusader_Gunship_Death_Clone">
		<Text_ID>TEXT_UNIT_CRUSADER_GUNSHIP</Text_ID>
		<Space_Model_Name>UV_CrusaderClassCorvette_DC.alo</Space_Model_Name>
		<Death_SFXEvent_Start_Die>Unit_Corvette_Death_SFX</Death_SFXEvent_Start_Die>
		<Death_Explosions>Large_Explosion_Space_Empire</Death_Explosions>
		<Scale_Factor>.56</Scale_Factor>
		<Layer_Z_Adjust>-330.0</Layer_Z_Adjust>
		<Max_Speed>0.25</Max_Speed>
		<Max_Rate_Of_Turn>0.4</Max_Rate_Of_Turn>
		<Max_Thrust>0.05</Max_Thrust>
		<Max_Rate_Of_Roll>0.02</Max_Rate_Of_Roll>
		<Bank_Turn_Angle>5</Bank_Turn_Angle>
		<Affiliation>Underworld</Affiliation>
		<Ship_Class>capital_ship</Ship_Class>
		<Remove_Upon_Death>true</Remove_Upon_Death>
	</SpaceUnit>
	
	
	
	
</Crusader_Gunship_Data>