Jump to content

Recommended Posts

Posted
It seems that whenever I try to put new infantry in, their selection circles are messed up.  How do I fix that?  I just copied stormtrooper code directly and changed the models.
Posted
The container would still have the spread out ability then... That could cause problems.

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Posted

I created my own container and took the ability out of that as well.  I'll upload my code.

 

<?xml version="1.0"?>



<Rad_Trooper_Data>

<GroundCompany Name="Imperial_RadTrooper_Squad">
	<LOD_Bias>5</LOD_Bias>
	<Text_ID>TEXT_IMPERIAL_RADTROOPER_SQUAD</Text_ID>
	<Encyclopedia_Good_Against> Rebel_Trooper Plex_Soldier </Encyclopedia_Good_Against>
	<Encyclopedia_Vulnerable_To> MPTL Rebel_Infiltrator UC_Rebel_Buildable_Anti_Infantry_Turret </Encyclopedia_Vulnerable_To>
	<Encyclopedia_Text>TEXT_TOOLTIP_RADTROOPER TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY</Encyclopedia_Text>
	<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_INFANTRY</Encyclopedia_Unit_Class>
	<GUI_Row> 1 </GUI_Row>
	<Is_Dummy>Yes</Is_Dummy>
	<Damage>22</Damage>
	<Autoresolve_Health>100</Autoresolve_Health> <!-- changed to reflect the real health of the units-->
	<Affiliation>Empire</Affiliation>
	<Build_Cost_Credits>75</Build_Cost_Credits>
	<Piracy_Value_Credits>50</Piracy_Value_Credits>
	<Build_Time_Seconds>10</Build_Time_Seconds>
	<Build_Time_Reduced_By_Multiple_Factories> Yes </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_Barracks</Required_Special_Structures>
	<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>Imperial_Landing_Craft</Company_Transport_Unit>
	<Create_Team_Type> RadTrooper_Team </Create_Team_Type>
        <!-- AI  Changed to 18 troopers in squads of 9 -->
	<Company_Units> RadTrooper,RadTrooper,RadTrooper,RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper, RadTrooper</Company_Units>
	<Max_Squad_Size> 9 </Max_Squad_Size>
	<Icon_Name>i_button_storm_trooper.tga</Icon_Name>
	<GUI_Model_Name>EI_RADTROOPER.ALO</GUI_Model_Name>
	<Land_Model_Name>EI_RADTROOPER.ALO</Land_Model_Name>
	<Scale_Factor>5</Scale_Factor>
	<GUI_Offset>0 0 5</GUI_Offset>
	<GUI_Velocity>45</GUI_Velocity>
	<SFXEvent_Build_Started>EHD_Build_Troops</SFXEvent_Build_Started>
	<SFXEvent_Build_Cancelled>EHD_Recruitment_Canceled</SFXEvent_Build_Cancelled>
	<SFXEvent_Build_Complete>Unit_Complete_Storm_Trooper</SFXEvent_Build_Complete>
	<SFXEvent_Fleet_Move>Unit_Fleet_Move_Storm_Trooper</SFXEvent_Fleet_Move>


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

	<Maintenance_Cost>0.05</Maintenance_Cost>
	<Population_Value>1</Population_Value>
	<Score_Cost_Credits>54</Score_Cost_Credits>
</GroundCompany>

<Container Name="RadTrooper_Team">
	<Select_Box_Scale>65</Select_Box_Scale>
	<Text_ID>TEXT_IMPERIAL_RADTROOPER_SQUAD</Text_ID>
	<Encyclopedia_Good_Against> Rebel_Trooper Plex_Soldier </Encyclopedia_Good_Against>
	<Encyclopedia_Vulnerable_To> MPTL Rebel_Infiltrator UC_Rebel_Buildable_Anti_Infantry_Turret </Encyclopedia_Vulnerable_To>
	<Encyclopedia_Text>TEXT_TOOLTIP_RADTROOPER TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY</Encyclopedia_Text>
	<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_INFANTRY</Encyclopedia_Unit_Class>
	<Show_Name>No</Show_Name>
	<Behavior>TEAM,SELECTABLE,UNIT_AI</Behavior>
	<LandBehavior>REVEAL, LAND_TEAM_CONTAINER_LOCOMOTOR, TEAM_TARGETING, GARRISON_UNIT</LandBehavior>
	<SpaceBehavior>REVEAL</SpaceBehavior>
	<Land_FOW_Reveal_Range>200.0</Land_FOW_Reveal_Range>
	<Space_FOW_Reveal_Range>800.0</Space_FOW_Reveal_Range>
	<MovementClass>Infantry</MovementClass>
	<Garrison_Category> Infantry </Garrison_Category>
	<CategoryMask>Infantry</CategoryMask>

	<Max_Speed> .8 </Max_Speed>
	<Max_Rate_Of_Turn>12.0</Max_Rate_Of_Turn>
	<Space_Layer> Land </Space_Layer>
	<UnitCollisionClass> Infantry </UnitCollisionClass>
	<FormationSpacing> 1 </FormationSpacing> 
	<MovementClass> Infantry </MovementClass>
	<OccupationStyle>1x1</OccupationStyle>
	<Is_Squashable> true </Is_Squashable>
	<MovementPredictionInterval> 4.0 </MovementPredictionInterval>	
	<ContainerArrangement> Rows </ContainerArrangement>
	<FormationOrder> 2 </FormationOrder>
	<Override_Acceleration> .1 </Override_Acceleration>
	<Override_Deceleration> .1 </Override_Deceleration>

	<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
	<Radar_Icon_Scale_Land>80</Radar_Icon_Scale_Land>
	<Radar_Icon_Scale_Space>200</Radar_Icon_Scale_Space>

	<Icon_Name>i_button_storm_trooper.tga</Icon_Name>

	<Targeting_Max_Attack_Distance>140.0</Targeting_Max_Attack_Distance>
	<Idle_Chase_Range>50.0</Idle_Chase_Range>
	<Guard_Chase_Range>200.0</Guard_Chase_Range>
	<Attack_Move_Response_Range>130.0</Attack_Move_Response_Range>
	<Autonomous_Move_Extension_Vs_Attacker>200.0</Autonomous_Move_Extension_Vs_Attacker>
	<Tactical_Bribe_Cost>25</Tactical_Bribe_Cost>	

</Container>

<GroundInfantry Name="RadTrooper">
	<LOD_Bias>5</LOD_Bias>
	<Text_ID>TEXT_UNIT_RADTROOPER</Text_ID>
	<Encyclopedia_Good_Against> Rebel_Trooper Plex_Soldier Underworld_Merc</Encyclopedia_Good_Against>
	<Encyclopedia_Vulnerable_To> MPTL Rebel_Infiltrator Destroyer_Droid </Encyclopedia_Vulnerable_To>
	<Land_Model_Name>EI_RADTROOPER.ALO</Land_Model_Name>
	<Land_Terrain_Model_Mapping>
		Temperate, 			EI_RADTROOPER.ALO,
		Urban, 				EI_RADTROOPER.ALO,
		Arctic, 			EI_RADTROOPER.ALO,
		Volcanic, 			EI_RADTROOPER.ALO,
		Desert, 			EI_RADTROOPER.ALO,
		Forest, 			EI_RADTROOPER.ALO,
		Swamp, 				EI_RADTROOPER.ALO
	</Land_Terrain_Model_Mapping>
	<Land_Model_Anim_Override_Name>EI_TROOPER.ALo</Land_Model_Anim_Override_Name>
	<Behavior>SELECTABLE</Behavior>
	<LandBehavior>SURFACE_FX,WALK_LOCOMOTOR,IDLE,TARGETING,WEAPON, STUNNABLE, REVEAL,HIDE_WHEN_FOGGED,DAMAGE_TRACKING, GARRISON_UNIT</LandBehavior>
	<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>
	<Icon_Name>i_button_storm_trooper.tga</Icon_Name>
	<SurfaceFX_Name>Generic_Footprint, Infantry_Terrain_Modifier, High_Ground</SurfaceFX_Name>
	<Garrison_Category> Infantry </Garrison_Category>
        
	<Movement_Animation_Speed> 0.8 </Movement_Animation_Speed>
	<Rotation_Animation_Speed> 20.0 </Rotation_Animation_Speed>
	<Walk_Animation_Speed> .366 </Walk_Animation_Speed>
	<Crouch_Animation_Speed> .537 </Crouch_Animation_Speed>
	<Max_Speed>0.8</Max_Speed>
	<Max_Rate_Of_Turn>20.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> .3 </FormationSpacing> 
	<MinimumPushReturnDistance> 10 </MinimumPushReturnDistance>
	<OverrideAcceleration> 0.05 </OverrideAcceleration>
	<OverrideDeceleration> 0.05 </OverrideDeceleration>
	<FormationOrder> 2 </FormationOrder>

	<Scale_Factor>1.5</Scale_Factor>
	<!--<Is_Sprite>No</Is_Sprite>-->
	<Type>Walk</Type>
	<Deploys>No</Deploys>
	<Affiliation>Empire</Affiliation>
	<!--<Is_Sprite>No</Is_Sprite>-->
	<Political_Control>0</Political_Control>
	<Size_Value>10</Size_Value>
	<Damage>1</Damage>
	<Sensor_Range>20</Sensor_Range>
	<Shield_Points>0</Shield_Points>
	<Tactical_Health>40</Tactical_Health>
	<Shield_Refresh_Rate>0</Shield_Refresh_Rate>
	<Energy_Capacity>0</Energy_Capacity>
	<Energy_Refresh_Rate>0</Energy_Refresh_Rate>
	<Stealth_Capable>No</Stealth_Capable>

	<Armor_Type> Armor_Infantry </Armor_Type>

	<Blob_Shadow_Below_Detail_Level>3</Blob_Shadow_Below_Detail_Level>
	<Blob_Shadow_Scale>10.0, 10.0</Blob_Shadow_Scale>
	<Blob_Shadow_Bone_Name>B_Chest</Blob_Shadow_Bone_Name>
	<Occlusion_Silhouette_Enabled>1</Occlusion_Silhouette_Enabled>
	<Victory_Relevant>yes</Victory_Relevant>
	<Projectile_Types>Proj_Hand_Blaster_Red</Projectile_Types>
	<Land_FOW_Reveal_Range>130.0</Land_FOW_Reveal_Range>

	<Ranged_Target_Z_Adjust>7.0</Ranged_Target_Z_Adjust>
	<Mouse_Collide_Override_Sphere_Radius> 10.0 </Mouse_Collide_Override_Sphere_Radius>

	<Projectile_Fire_Recharge_Seconds>1.0</Projectile_Fire_Recharge_Seconds>

	<Targeting_Fire_Inaccuracy> Infantry, 3.0 </Targeting_Fire_Inaccuracy> <!-- from 1.0 to make them more innacurate -->
	<Targeting_Fire_Inaccuracy> Vehicle, 5.0 </Targeting_Fire_Inaccuracy>
	<Targeting_Fire_Inaccuracy> Air, 70.0 </Targeting_Fire_Inaccuracy>
	<Targeting_Fire_Inaccuracy> Structure, 10.0 </Targeting_Fire_Inaccuracy>

	<SFXEvent_Select>Unit_Select_Storm_Trooper</SFXEvent_Select>
	<SFXEvent_Move>Unit_Move_Storm_Trooper</SFXEvent_Move>
	<SFXEvent_Fleet_Move>Unit_Fleet_Move_Storm_Trooper</SFXEvent_Fleet_Move>
	<SFXEvent_Attack>Unit_Attack_Storm_Trooper</SFXEvent_Attack>
	<SFXEvent_Guard>Unit_Guard_Storm_Trooper</SFXEvent_Guard>
	<SFXEvent_Fire>Unit_Storm_Trooper_Fire</SFXEvent_Fire>
	<Death_SFXEvent_Start_Die>Unit_Stormtrooper_Death</Death_SFXEvent_Start_Die>

	<SFXEvent_Assist_Move> Unit_Assist_Move_Storm_Trooper </SFXEvent_Assist_Move>		
	<SFXEvent_Assist_Attack> Unit_Assist_Attack_Storm_Trooper </SFXEvent_Assist_Attack>

	<SFXEvent_Tactical_Build_Started> EHD_Reinforcements_En_Route </SFXEvent_Tactical_Build_Started>		
	<SFXEvent_Tactical_Build_Complete> EHD_Reinforcements_Available </SFXEvent_Tactical_Build_Complete>		
	<SFXEvent_Tactical_Build_Cancelled> EHD_Reinforcements_Cancelled  </SFXEvent_Tactical_Build_Cancelled>

	<CategoryMask> Infantry </CategoryMask>
	<MovementClass> Infantry </MovementClass>
	<Property_Flags>Fodder</Property_Flags>

	<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>
        <Ground_Infantry_Turret_Target> Yes </Ground_Infantry_Turret_Target>
	<Is_Squashable> Yes </Is_Squashable>
	<Create_Team>Yes</Create_Team>
	<AI_Combat_Power>7</AI_Combat_Power>

	<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>
	<Targeting_Priority_Set>AvoidAntiInfantryTurrets</Targeting_Priority_Set>

	<Targeting_Max_Attack_Distance>140.0</Targeting_Max_Attack_Distance>
	<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>
	<Select_Box_Z_Adjust>3.0f</Select_Box_Z_Adjust>

	<Surface_Type_Cover_Damage_Shield>.5</Surface_Type_Cover_Damage_Shield>
	<Weather_Category>Infantry</Weather_Category>

	<Encyclopedia_Text>TEXT_TOOLTIP_RADTROOPER TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY</Encyclopedia_Text>
	<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_INFANTRY</Encyclopedia_Unit_Class>

	<Death_Clone>Damage_Force_Whirlwind, Stormtrooper_Force_Whirlwind_Death_Clone</Death_Clone>
	<Death_Clone>Damage_Crush, Stormtrooper_Crush_Death_Clone</Death_Clone>

	<Death_Clone>Damage_Disruptor_Hand, Infantry_Disruptor_Death_Clone_00</Death_Clone>
	<Death_Clone>Damage_Disruptor_Hand, Infantry_Disruptor_Death_Clone_01</Death_Clone>

	<Death_Clone>Damage_Infection, Infantry_Melt_Death_Clone_00</Death_Clone>
	<Death_Clone>Damage_Remote_Bomb, RadTrooper_Remote_Bomb_Death_Clone</Death_Clone>

	<Death_Fade_Time>0.25</Death_Fade_Time>
	<Death_Persistence_Duration>0.0</Death_Persistence_Duration>

	<Tactical_Bribe_Cost>25</Tactical_Bribe_Cost>

	<Presence_Induced_Animations>
		Attention, 
			Emperor_Palpatine,
			Darth_Vader,
	</Presence_Induced_Animations>

</GroundInfantry>

</Rad_Trooper_Data>

 

Also, whenever I try to view this thread, I can't see anything.  The only way to tell what has been said is to hit the reply button; dp you know why this is?

Posted

I hace a code for Radtroopers already done and working. ill send it to you if you want.

Just out of intrest, are you using my Radtrooper Reskin?

http://i199.photobucket.com/albums/aa302/AdnamTHX1138/Sigs/THXJunoSig.png
Posted

Sure, that would be great.  Yes, it is yours.  No, I am not planning to public release, I was just messing around with anything I could get my hands on that wasn't already in Zerox's mod.

 

Thanks.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Copyright (c) 1999-2025 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...