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

	<HeroUnit Name="HK47">
		<Is_Named_Hero>Yes</Is_Named_Hero>
		<Text_ID>TEXT_HERO_HK_47</Text_ID>
		<Land_Model_Name>HK47.ALO</Land_Model_Name>
		<Icon_Name>I_BUTTON_HK47.tga</Icon_Name>

                <GalacticBehavior> SELECTABLE  </GalacticBehavior>
		<LandBehavior> SELECTABLE, STUNNABLE, SURFACE_FX, WALK_LOCOMOTOR, IDLE, TARGETING, WEAPON, REVEAL, HIDE_WHEN_FOGGED, DAMAGE_TRACKING, UNIT_AI, ABILITY_COUNTDOWN, GARRISON_UNIT </LandBehavior>
		<Garrison_Category> Infantry </Garrison_Category>
		<Hover_Offset>16.0</Hover_Offset>
		<Primary_Locomotor_Name>WALK_LOCOMOTOR</Primary_Locomotor_Name>

                <SurfaceFX_Name>Generic_Footprint, Infantry_Terrain_Modifier</SurfaceFX_Name>
		<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
		<Loop_Idle_Anim_00>No</Loop_Idle_Anim_00>
		<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
		<CanCellStack>yes</CanCellStack>
		<Mass>1.0</Mass>
		<GUI_Bracket_Width>5</GUI_Bracket_Width>
		<GUI_Bracket_Height>0</GUI_Bracket_Height>
		<GUI_Bracket_Size>0</GUI_Bracket_Size>
                
		<Build_Cost_Credits>1000</Build_Cost_Credits>

                <Mouse_Collide_Override_Sphere_Radius> 10.0 </Mouse_Collide_Override_Sphere_Radius>
		<Movement_Animation_Speed> 0.8 </Movement_Animation_Speed>
		<Max_Speed> 1 </Max_Speed>
		<Alternate_Max_Speed> 2.5 </Alternate_Max_Speed>
		<Max_Rate_Of_Turn> 20.0 </Max_Rate_Of_Turn>
		<Alternate_Max_Rate_Of_Turn> 6.0 </Alternate_Max_Rate_Of_Turn>
		<Custom_Soft_Footprint_Radius> 6.5 </Custom_Soft_Footprint_Radius>
		<Custom_Hard_XExtent> 5.0 </Custom_Hard_XExtent>
		<Custom_Hard_YExtent> 5.0 </Custom_Hard_YExtent>
		<Space_Layer> Land </Space_Layer>
		<UnitCollisionClass> Infantry </UnitCollisionClass>
		<FormationSpacing> .5 </FormationSpacing>
		<MinimumPushReturnDistance> 10 </MinimumPushReturnDistance>
		<Min_Speed> .1 </Min_Speed>
		<OverrideAcceleration> .1 </OverrideAcceleration>
		<OverrideDeceleration> .1 </OverrideDeceleration>
		<Max_Lift> .6 </Max_Lift>
                 
                <Scale_Factor>1.75</Scale_Factor>
		<!--<Is_Sprite>No</Is_Sprite>-->
		<Type>Walk</Type>
		<Deploys>No</Deploys>
		<Affiliation>Empire</Affiliation>
		<!--<Is_Sprite>No</Is_Sprite>-->
		<Size_Value>10</Size_Value>
		<Sensor_Range>20</Sensor_Range>
		<Shield_Points>0</Shield_Points>
		<Tactical_Health>400</Tactical_Health>
		<Autoresolve_Health>350</Autoresolve_Health>
		<Damage>60</Damage>
		<Stealth_Capable>yes</Stealth_Capable>
		<Victory_Relevant>yes</Victory_Relevant>
		<Armor_Type> Armor_Hero </Armor_Type>
  
                <Projectile_Types>Proj_Hand_Blaster_Red</Projectile_Types>
		<Projectile_Damage>14.0</Projectile_Damage>
		<Land_FOW_Reveal_Range>250.0</Land_FOW_Reveal_Range>
		<Dense_FOW_Reveal_Range_Multiplier>1.0</Dense_FOW_Reveal_Range_Multiplier>
		<Targeting_Max_Attack_Distance>150.0</Targeting_Max_Attack_Distance>
		<Ranged_Target_Z_Adjust>7.0</Ranged_Target_Z_Adjust>
		<Projectile_Fire_Recharge_Seconds>.7</Projectile_Fire_Recharge_Seconds>
		
		<SFXEvent_Select>Unit_Select_Boba_Fett</SFXEvent_Select>
		<SFXEvent_Move>Unit_Move_Boba_Fett</SFXEvent_Move>
		<SFXEvent_Fleet_Move>Unit_Fleet_Move_Boba_Fett</SFXEvent_Fleet_Move>
		<SFXEvent_Attack>Unit_Attack_Boba_Fett</SFXEvent_Attack>
		<SFXEvent_Guard>Unit_Guard_Boba_Fett</SFXEvent_Guard>
		<SFXEvent_Deploy>Unit_Deploy_Boba_Fett</SFXEvent_Deploy>
		<SFXEvent_Fire>Unit_Storm_Trooper_Fire</SFXEvent_Fire>
		<SFXEvent_Group_Move>Unit_Group_Move_Boba_Fett</SFXEvent_Group_Move>
		<SFXEvent_Group_Attack>Unit_Group_Attack_Boba_Fett</SFXEvent_Group_Attack>
		<SFXEvent_Health_Low_Warning> Unit_Health_Low_Boba_Fett </SFXEvent_Health_Low_Warning>
		<SFXEvent_Health_Critical_Warning> Unit_Health_Critical_Boba_Fett </SFXEvent_Health_Critical_Warning>

                
		<CategoryMask> LandHero | SpaceHero </CategoryMask>
		<Ranking_In_Category> 3 </Ranking_In_Category>
		<MovementClass>Infantry</MovementClass>
		<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>
		<Ground_Infantry_Turret_Target> Yes </Ground_Infantry_Turret_Target>
		<Attach_To_Flagship_During_Space_Battle>No</Attach_To_Flagship_During_Space_Battle>
		<Stay_In_Transport_During_Ground_Battle>No</Stay_In_Transport_During_Ground_Battle>
		<Lua_Script>BobaFettPlan</Lua_Script>
		<Always_Spawn_In_Orbit>Yes</Always_Spawn_In_Orbit>
		
		<Select_Box_Scale>27</Select_Box_Scale>
		<Select_Box_Z_Adjust>3.0f</Select_Box_Z_Adjust>
		<Selection_Blob_Material_Name>Selection_Empire_Hero</Selection_Blob_Material_Name>
                <Highlight_Blob_Material_Name>Highlight_Empire_Hero</Highlight_Blob_Material_Name>
 
		<Has_Land_Evaluator>True</Has_Land_Evaluator>
		<AI_Combat_Power>500</AI_Combat_Power>
		<Idle_Chase_Range>100.0</Idle_Chase_Range>
		<Guard_Chase_Range>200.0</Guard_Chase_Range>
		<Attack_Move_Response_Range>300.0</Attack_Move_Response_Range>
		<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>
		<Targeting_Priority_Set>AntiInfantry</Targeting_Priority_Set>
		<Autonomous_Move_Extension_Vs_Attacker>200.0</Autonomous_Move_Extension_Vs_Attacker>
		
		<Neutralization_Cost>1500.0</Neutralization_Cost>
		<Can_Be_Neutralized_By_Major_Heroes>Yes</Can_Be_Neutralized_By_Major_Heroes>
		<Can_Be_Neutralized_By_Minor_Heroes>No</Can_Be_Neutralized_By_Minor_Heroes>

		<Occlusion_Silhouette_Enabled>1</Occlusion_Silhouette_Enabled>
		<Score_Cost_Credits> 10000 </Score_Cost_Credits>
		<Encyclopedia_Text> TEXT_TOOLTIP_BOBA_FETT TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY </Encyclopedia_Text>
		<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_BOUNTY_HUNTER </Encyclopedia_Unit_Class>
		<Play_SFXEvent_On_Sighting>True</Play_SFXEvent_On_Sighting>

		<Death_Fade_Time>0.25</Death_Fade_Time>
		<Death_Persistence_Duration>0.0</Death_Persistence_Duration>
	
		<!-- Non-Hero unit abilities description -->
		<Unit_Abilities_Data SubObjectList="Yes">
			<!-- Primary ability -->
			<Unit_Ability>
				<Type>FLAME_THROWER</Type>
				<Recharge_Seconds>28.0</Recharge_Seconds>
				<GUI_Activated_Ability_Name> Boba_Fett_Flame_Thrower </GUI_Activated_Ability_Name> <!-- GUI Command Bar support -->
				<Supports_Autofire>True</Supports_Autofire>
			</Unit_Ability>

	</Unit_Abilities_Data>

		<Abilities SubObjectList="Yes">

			<Galactic_Stealth_Ability Name="Boba_Fett_Galactic_Stealth">
				<Evade_Detection_Chance>0.0</Evade_Detection_Chance>
			</Galactic_Stealth_Ability>

			<System_Spy_Ability Name="Boba_Fett_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>Yes</See_Major_Stealth_Heroes>
			</System_Spy_Ability>

			<Neutralize_Hero_Ability Name="Boba_Fett_Neutralize_Hero">
				<Cost_Mod_By_Base_Level>0.0,0.0, 5.0,1.0</Cost_Mod_By_Base_Level>
				<Cost_Mod_By_Previous_Neutralizations>0.0,0.0, 1000.0,750.0</Cost_Mod_By_Previous_Neutralizations>
				<Cost_Mod_By_Planetary_Corruption_Level>0.0,0.0, 1.0,0.25</Cost_Mod_By_Planetary_Corruption_Level>
				<General_Minor_Hero_Cost_Mod>1.0</General_Minor_Hero_Cost_Mod>
				<General_Major_Hero_Cost_Mod>1.0</General_Major_Hero_Cost_Mod>
				<Owner_Respawn_Time_In_Secs>120.0, 150.0</Owner_Respawn_Time_In_Secs>
				<Target_Respawn_Time_In_Secs>240.0, 300.0</Target_Respawn_Time_In_Secs>
				<Can_Neutralize_Minor_Heroes>Yes</Can_Neutralize_Minor_Heroes>
				<Can_Neutralize_Major_Heroes>Yes</Can_Neutralize_Major_Heroes>
			</Neutralize_Hero_Ability>

			<Personal_Flame_Thrower_Ability Name="Boba_Fett_Flame_Thrower">
				<Activation_Style> User_Input </Activation_Style>
				
				<!-- We need to be within this distance of the clicked target to consider activating the flame thrower -->
				<Activation_Min_Range>0.0</Activation_Min_Range>
				<Activation_Max_Range>100.0</Activation_Max_Range>
				<Damage_Arc_In_Degrees>90.0</Damage_Arc_In_Degrees>
				<Damage_Amount>225.0</Damage_Amount>
				<Fire_Time_In_Secs>10.0</Fire_Time_In_Secs>
				<Damage_Delay_In_Secs>0.5</Damage_Delay_In_Secs>
				
				<!-- We only consider the following unit types "valid targets": -->
				<Applicable_Unit_Categories>All</Applicable_Unit_Categories>
				<Applicable_Unit_Types />
				<SFXEvent_Activate>Unit_Flamethrower_Fire</SFXEvent_Activate>
				<Flame_Emitter_Model_Name>p_flamethrower00</Flame_Emitter_Model_Name>
			</Personal_Flame_Thrower_Ability>
			
		</Abilities>
            </HeroUnit>

















</HK47>
