<?xml version="1.0"?>
<HK_50_Data>

	<GroundInfantry Name="HK_50">
		<LOD_Bias>5</LOD_Bias>
		<Text_ID>TEXT_UNIT_HK_50</Text_ID>
		<Encyclopedia_Good_Against> Rebel_Trooper Underworld_Merc </Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To> Destroyer_Droid UC_Rebel_Buildable_Anti_Infantry_Turret </Encyclopedia_Vulnerable_To>
  		<Encyclopedia_Text>TEXT_TOOLTIP_HK_50</Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_ASSASINE_DROID</Encyclopedia_Unit_Class>
		<Icon_Name>I_BUTTON_HK50.tga</Icon_Name>
                <GUI_Model_Name>HK50.ALO</GUI_Model_Name>

		<Select_Box_Scale>18</Select_Box_Scale>
		<Select_Box_Z_Adjust>3.0f</Select_Box_Z_Adjust>
		<Land_Model_Name>HK-50.ALO</Land_Model_Name>
		<Scale_Factor>1.5</Scale_Factor>
		<Mouse_Collide_Override_Sphere_Radius> 10.0 </Mouse_Collide_Override_Sphere_Radius>
		
		<Behavior>SELECTABLE</Behavior>
		<LandBehavior>SURFACE_FX,WALK_LOCOMOTOR,TARGETING,WEAPON, STUNNABLE, REVEAL,HIDE_WHEN_FOGGED,DAMAGE_TRACKING, IDLE, GARRISON_UNIT,ABILITY_COUNTDOWN, ION_STUN_EFFECT</LandBehavior>

		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<CanCellStack>yes</CanCellStack>
		<Mass>1.0</Mass>
		<SurfaceFX_Name>Generic_Footprint, Infantry_Terrain_Modifier</SurfaceFX_Name>

		<Garrison_Category> Infantry </Garrison_Category>
		<Movement_Animation_Speed> 1.0 </Movement_Animation_Speed>
		<Rotation_Animation_Speed> 20.0 </Rotation_Animation_Speed>
		<Max_Speed>1.2</Max_Speed>
		<Max_Rate_Of_Turn>12.0</Max_Rate_Of_Turn>
		<Custom_Soft_Footprint_Radius> 3.5 </Custom_Soft_Footprint_Radius>
		<Custom_Hard_XExtent> 2.0 </Custom_Hard_XExtent>
		<Custom_Hard_YExtent> 2.0 </Custom_Hard_YExtent>
		<Space_Layer> Land </Space_Layer>
		<UnitCollisionClass> Infantry </UnitCollisionClass>
		<FormationSpacing> .5 </FormationSpacing>
		<MinimumPushReturnDistance> 10 </MinimumPushReturnDistance>
		<OverrideAcceleration> .1 </OverrideAcceleration>
		<OverrideDeceleration> .1 </OverrideDeceleration>
		<FormationOrder> 3 </FormationOrder>
		<Deploys>No</Deploys>
		<Stealth_Capable>Yes</Stealth_Capable>
		<Armor_Type> Armor_Infantry </Armor_Type>

		<Affiliation>Empire</Affiliation>
		<Size_Value>10</Size_Value>
		<Damage>13</Damage>
		<Sensor_Range>20</Sensor_Range>
		<Shield_Points>90</Shield_Points>
		<Tactical_Health>120</Tactical_Health>
		<Shield_Refresh_Rate>10</Shield_Refresh_Rate>
		<Energy_Capacity>20</Energy_Capacity>
		<Energy_Refresh_Rate>2</Energy_Refresh_Rate>
		<Victory_Relevant>yes</Victory_Relevant>

		<Dense_FOW_Reveal_Range_Multiplier>1.0</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>325.0</Targeting_Max_Attack_Distance>
		<Land_FOW_Reveal_Range>325.0</Land_FOW_Reveal_Range>
		<Ranged_Target_Z_Adjust>7.0</Ranged_Target_Z_Adjust>

		<Projectile_Types> Proj_Infiltrator_Blaster </Projectile_Types>
		<Projectile_Fire_Recharge_Seconds>0.5</Projectile_Fire_Recharge_Seconds>
		<Projectile_Fire_Pulse_Count>1</Projectile_Fire_Pulse_Count>
		<Projectile_Fire_Pulse_Delay_Seconds>0.2</Projectile_Fire_Pulse_Delay_Seconds>

		<Targeting_Fire_Inaccuracy> Infantry, 0.1 </Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy> Vehicle, 7.0 </Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy> Air, 70.0 </Targeting_Fire_Inaccuracy>
		<Targeting_Fire_Inaccuracy> Structure, 7.0 </Targeting_Fire_Inaccuracy>

		<OccupationStyle>1x1</OccupationStyle>
		<Blob_Shadow_Below_Detail_Level>3</Blob_Shadow_Below_Detail_Level>
		<Blob_Shadow_Scale>5.0, 5.0</Blob_Shadow_Scale>
		<Blob_Shadow_Material_Name>Generic_Shadow</Blob_Shadow_Material_Name>
		<Blob_Shadow_Bone_Name>B_Chest</Blob_Shadow_Bone_Name>
		<No_Reflection_Below_Detail_Level>99</No_Reflection_Below_Detail_Level>
		<No_Refraction_Below_Detail_Level>99</No_Refraction_Below_Detail_Level>
		<Occlusion_Silhouette_Enabled>1</Occlusion_Silhouette_Enabled>
		<Ground_Infantry_Turret_Target> Yes </Ground_Infantry_Turret_Target>

		<SFXEvent_Select>Unit_Select_Noghri</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_Noghri</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_Noghri</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_Noghri</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_Noghri</SFXEvent_Guard>
		<SFXEvent_Fire>Unit_Rebel_Infantry_Fire</SFXEvent_Fire>
		<Death_SFXEvent_Start_Die>Unit_Rebel_Soldier_3_Death</Death_SFXEvent_Start_Die>
		<SFXEvent_Assist_Move> Unit_Move_Noghri </SFXEvent_Assist_Move>		
		<SFXEvent_Assist_Attack> Unit_Attack_Noghri </SFXEvent_Assist_Attack>
		<SFXEvent_Build_Started>EHD_Build_Troops</SFXEvent_Build_Started>
		<SFXEvent_Build_Cancelled>EHD_Recruitment_Canceled</SFXEvent_Build_Cancelled>
		<SFXEvent_Build_Complete>Unit_Complete_Noghri</SFXEvent_Build_Complete>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_Noghri</SFXEvent_Fleet_Move>

		<CategoryMask> Infantry | AntiVehicle</CategoryMask>
		<MovementClass> Infantry </MovementClass>
		<Is_Squashable> Yes </Is_Squashable>
		<Create_Team>No</Create_Team>
		<AI_Combat_Power>100</AI_Combat_Power>
		<Idle_Chase_Range>50.0</Idle_Chase_Range>
		<Guard_Chase_Range>200.0</Guard_Chase_Range>
		<Attack_Move_Response_Range>150.0</Attack_Move_Response_Range>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>
		<Targeting_Priority_Set>AvoidAntiInfantryTurrets</Targeting_Priority_Set>
		<Weather_Category>Infantry</Weather_Category>
		<Death_Fade_Time>0.25</Death_Fade_Time>
		<Death_Persistence_Duration>1.0</Death_Persistence_Duration>
		<Surface_Type_Cover_Damage_Shield>.25</Surface_Type_Cover_Damage_Shield>

		<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->
		<Tactical_Build_Cost_Multiplayer>350</Tactical_Build_Cost_Multiplayer>
		<Tactical_Build_Time_Seconds>18</Tactical_Build_Time_Seconds>
		<Tactical_Build_Prerequisites>RC_Level_Three_Tech_Upgrade</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>-->
		
		<!-- Non-Hero unit abilities description -->
		<Unit_Abilities_Data SubObjectList="Yes">
			<!-- Primary ability -->
            <Unit_Ability>
                <Type>STEALTH</Type>
                <GUI_Activated_Ability_Name>Stealth</GUI_Activated_Ability_Name> 
                <Recharge_Seconds>60.0</Recharge_Seconds>
				<Expiration_Seconds>30.0</Expiration_Seconds>
				<SFXEvent_GUI_Unit_Ability_Activated> Unit_Stealth_On_Noghri </SFXEvent_GUI_Unit_Ability_Activated>  <!--(by pressing the activate button)-->
				<SFXEvent_GUI_Unit_Ability_Deactivated> Unit_Stealth_Off_Noghri </SFXEvent_GUI_Unit_Ability_Deactivated>  <!--(by pressing deactivate)-->
            </Unit_Ability>
		</Unit_Abilities_Data>

        <Abilities SubObjectList="Yes">

                                                <Redirect_Blaster_Ability Name="HK50_Redirect_Blaster">
				<Initially_Enabled> Yes </Initially_Enabled>		
				<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.10</Block_Chance>
				<Reaction_Arc_In_Degrees>360.0</Reaction_Arc_In_Degrees>
				<Max_Projectile_Redirection_Angle_In_Degrees> 10.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>Infantry | LandHero | Vehicle | Air | Structure</Applicable_Unit_Categories>
				<Applicable_Unit_Types />
				<SFXEvent_Activate>Unit_Lightsaber_Projectile_Block</SFXEvent_Activate>
			</Redirect_Blaster_Ability>

			<Stealth_Ability Name="Stealth">
				<Activation_Style> User_Input </Activation_Style>
                <Stealth_Color>255, 255, 255, 64</Stealth_Color>
                <Stealth_Transition_Time>.5</Stealth_Transition_Time>
				<SFXEvent_Activate>Unit_Lightsaber_Projectile_Block</SFXEvent_Activate>
			</Stealth_Ability>

                                               <System_Spy_Ability Name="HK50_Limited_Spy">
				<Initially_Enabled>Yes</Initially_Enabled>
				<Activation_Style>Galactic_Automatic</Activation_Style>
				<Causes_Despawn>No</Causes_Despawn>
				<Duration_In_Secs>-1.0</Duration_In_Secs>
				<See_Num_Fleets>Yes</See_Num_Fleets>
				<See_Minor_Stealth_Heroes>Yes</See_Minor_Stealth_Heroes>
				<See_Major_Stealth_Heroes>No</See_Major_Stealth_Heroes>
			</System_Spy_Ability>

		</Abilities>

	</GroundInfantry>






	<GroundCompany Name="HK_50_Squad">
		<LOD_Bias>5</LOD_Bias>
		<Text_ID>TEXT_UNIT_HK_50</Text_ID>
		<Encyclopedia_Good_Against> Rebel_Trooper Underworld_Merc </Encyclopedia_Good_Against>
		<Encyclopedia_Vulnerable_To> Destroyer_Droid UC_Rebel_Buildable_Anti_Infantry_Turret </Encyclopedia_Vulnerable_To>
  		<Encyclopedia_Text>TEXT_TOOLTIP_HK_50</Encyclopedia_Text>
		<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_ASSASINE_DROID</Encyclopedia_Unit_Class>
		<Icon_Name>I_BUTTON_HK50.tga</Icon_Name>
		
		<GUI_Row> 1 </GUI_Row>
		<Is_Dummy>Yes</Is_Dummy>

		<Affiliation>Empire</Affiliation>
		<Build_Cost_Credits>300</Build_Cost_Credits>
		<Build_Time_Seconds>40</Build_Time_Seconds>
		<Build_Time_Reduced_By_Multiple_Factories> No </Build_Time_Reduced_By_Multiple_Factories>
		<Build_Tab_Land_Units>Yes</Build_Tab_Land_Units>
		<Tech_Level>1</Tech_Level>
		<Required_Timeline>0</Required_Timeline>
		<Required_Ground_Base_Level>1</Required_Ground_Base_Level>
		<Required_Star_Base_Level>0</Required_Star_Base_Level>
		<Required_Special_Structures>E_Ground_Droid_Works</Required_Special_Structures>
		<Required_Planets>Telos_IV</Required_Planets>
		
		<Behavior>DUMMY_GROUND_COMPANY</Behavior>
		
		<Formation_Priority>1</Formation_Priority>
		<Is_Escort>yes</Is_Escort>
		<Ship_Class>infantry</Ship_Class>
		
		<Company_Transport_Unit>Shuttle_Tyderium</Company_Transport_Unit>
		<Company_Units>HK_50, HK_50, HK_50</Company_Units>
		
		<Max_Squad_Size> 1 </Max_Squad_Size>
		<SFXEvent_Build_Started>EHD_Build_Troops</SFXEvent_Build_Started>
		<SFXEvent_Build_Cancelled>EHD_Recruitment_Canceled</SFXEvent_Build_Cancelled>
		<SFXEvent_Build_Complete>Unit_Complete_Noghri</SFXEvent_Build_Complete>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_Noghri</SFXEvent_Fleet_Move>
		<Score_Cost_Credits>150</Score_Cost_Credits>
		<Maintenance_Cost>0.05</Maintenance_Cost>
		<Population_Value>1</Population_Value>

		<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->
		<Tactical_Build_Cost_Multiplayer>900</Tactical_Build_Cost_Multiplayer>
		<Tactical_Build_Time_Seconds>25</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>-->

		<!-- Non-Hero unit abilities description -->
		<Unit_Abilities_Data SubObjectList="Yes">
			<!-- Primary ability -->
            <Unit_Ability>
                <Type>STEALTH</Type>
                <GUI_Activated_Ability_Name>Stealth</GUI_Activated_Ability_Name> 
                <Recharge_Seconds>60.0</Recharge_Seconds>
				<Expiration_Seconds>30.0</Expiration_Seconds>
            </Unit_Ability>
		</Unit_Abilities_Data>

        <Abilities SubObjectList="Yes">
			<Redirect_Blaster_Ability Name="HK50_Redirect_Blaster">
				<Initially_Enabled> Yes </Initially_Enabled>		
				<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.10</Block_Chance>
				<Reaction_Arc_In_Degrees>360.0</Reaction_Arc_In_Degrees>
				<Max_Projectile_Redirection_Angle_In_Degrees> 10.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>Infantry | LandHero | Vehicle | Air | Structure</Applicable_Unit_Categories>
				<Applicable_Unit_Types />
				<SFXEvent_Activate>Unit_Lightsaber_Projectile_Block</SFXEvent_Activate>
			</Redirect_Blaster_Ability>

			<Stealth_Ability Name="Stealth">
				<Activation_Style> User_Input </Activation_Style>
                <Stealth_Color>255, 255, 255, 64</Stealth_Color>
                <Stealth_Transition_Time>.5</Stealth_Transition_Time>
				<SFXEvent_Activate>Unit_Lightsaber_Projectile_Block</SFXEvent_Activate>
			</Stealth_Ability>

                                               <System_Spy_Ability Name="HK50_Limited_Spy">
				<Initially_Enabled>Yes</Initially_Enabled>
				<Activation_Style>Galactic_Automatic</Activation_Style>
				<Causes_Despawn>No</Causes_Despawn>
				<Duration_In_Secs>-1.0</Duration_In_Secs>
				<See_Num_Fleets>Yes</See_Num_Fleets>
				<See_Minor_Stealth_Heroes>Yes</See_Minor_Stealth_Heroes>
				<See_Major_Stealth_Heroes>No</See_Major_Stealth_Heroes>
			</System_Spy_Ability>
		</Abilities>

	</GroundCompany>

</HK_50_Data>