Jump to content

need help


dlinvader
 Share

Recommended Posts

ok here is what im having problems with im apart of the 501st legion (http://www.501st.com) and im trying to make alittle mod for the legion that shows our detachments.  Now at the same time i don't want to mess up the orginal units, how would I go about this.  Im trying to do like 501st stormtroopers, regular stormtroopers,  mepd, blizzard force and like that how would I go about doing this?
Link to comment
Share on other sites

Assuming you have Config.meg extracted and Groundinfantry.xml and GroundcompaniesEmpire.xml placed in \data\XML

 

For the 501;

Copy the Stormtrooper data in groundinfantry.xml, rename it "501" or something, add

<No_Colorization_Color> 0, 0, 225, 225 </No_Colorization_Color>

Now, change the stats. It's not hard how to figure out ::)

Copy the Stormtrooper Company(Imperial_Stormtrooper_Squad) in GroundCompaniesEmpire.XML, rename it Imperial_501_Squad

Change the cost by changing

<Build_Cost_Credits>60</Build_Cost_Credits>

to

<Build_Cost_Credits>100</Build_Cost_Credits>

Now what you have is two stormtrooper squads, one more expensive, that's blue and has your stat changes.

 

If you want Clone Trooper 501rst(like in episode III), download my skinpack, put CI_501TCOP.dds and W_LASER_SMAL2.dds into \data\Art\textures, and put CI_501.alo into \data\Art\Models. Then, change

<Land_Terrain_Model_Mapping>
		Temperate, 			EI_TROOPER.ALO,
		Urban, 				EI_TROOPER.ALO,
		Arctic, 			EI_TROOPER_Snow.ALO,
		Volcanic, 			EI_TROOPER_Sand.ALO,
		Desert, 			EI_TROOPER_Sand.ALO,
		Forest, 			EI_TROOPER.ALO,
		Swamp, 				EI_TROOPER.ALO
	</Land_Terrain_Model_Mapping>

to

Temperate, CI_501.alo,

Urban, CI_501.alo,

Arctic, CI_501.alo,

Volcanic, CI_501.alo,

Desert, CI_501.alo,

Forest, CI_501.alo,

Swamp, CI_501.alo

Here's a link to my skinpack

http://empireatwar.filefront.com/file/Clone_Skins;68651

 

Wasn't that easy?

 

If you need help getting your megs extracted, just ask.

"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!

Link to comment
Share on other sites

here is what i have in groundinfantry

 

<GroundInfantry Name="501st">
    <LOD_Bias>5</LOD_Bias>
    <Text_ID>TEXT_UNIT_501st</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_TROOPER.ALO</Land_Model_Name>
    <Land_Terrain_Model_Mapping>
		Temperate, 			CI_501.alo,
		Urban, 				CI_501.alo,
		Arctic, 			CI_501.alo,
		Volcanic, 			CI_501.alo,
		Desert, 			CI_501.alo,
		Forest, 			CI_501.alo,
		Swamp, 				CI_501.alo
	</Land_Terrain_Model_Mapping>
    <No_Colorization_Color> 0, 0, 225, 225 </No_Colorization_Color>
    <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_501st 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, Stormtrooper_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>
    <!-- Non-Hero unit abilities description -->
    <Unit_Abilities_Data SubObjectList="Yes">
      <!-- Primary ability -->
      <Unit_Ability>
        <Type>SPREAD_OUT</Type>
        <Mod_Multiplier>SPEED_MULTIPLIER,	 0.5f</Mod_Multiplier>
        <Mod_Multiplier>TAKE_DAMAGE_MULTIPLIER, 0.5f</Mod_Multiplier>
        <SFXEvent_GUI_Unit_Ability_Activated>Unit_Take_Cover_Storm_Trooper</SFXEvent_GUI_Unit_Ability_Activated>
      </Unit_Ability>
    </Unit_Abilities_Data>
  </GroundInfantry>
  <GroundInfantry Name="501st_Squad">
    <Variant_Of_Existing_Type>Stormtrooper</Variant_Of_Existing_Type>
    <Text_ID>TEXT_UNIT_501st</Text_ID>
    <LandBehavior>LANDING, SURFACE_FX, LAND_TEAM_INFANTRY_LOCOMOTOR,IDLE,WEAPON, STUNNABLE, REVEAL,HIDE_WHEN_FOGGED,DAMAGE_TRACKING</LandBehavior>
    <Is_Squashable> Yes </Is_Squashable>
    <Max_Speed> 1 </Max_Speed>
    <Space_Layer> None </Space_Layer>
    <Custom_Soft_Footprint_Radius> 3.0 </Custom_Soft_Footprint_Radius>
    <Max_Rate_Of_Turn>16.0</Max_Rate_Of_Turn>
    <FormationRaggedness> .2 </FormationRaggedness>
    <MaxJiggleDistance> 2 </MaxJiggleDistance>
  </GroundInfantry>

here is groundcompaniesempire

 

<GroundCompany Name="Imperial_501st_Squad">
    <LOD_Bias>5</LOD_Bias>
    <Text_ID>TEXT_IMPERIAL_501st_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_501st 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>18</Damage>
    <Autoresolve_Health>100</Autoresolve_Health>
    <!-- changed to reflect the real health of the units-->
    <Affiliation>Empire</Affiliation>
    <Build_Cost_Credits>6</Build_Cost_Credits>
    <Piracy_Value_Credits>50</Piracy_Value_Credits>
    <Build_Time_Seconds>5</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>Stormtrooper_Team </Create_Team_Type>
    <!-- AI  Changed to 18 troopers in squads of 9 -->
    <Company_Units>501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad, 501st_Squad</Company_Units>
    <Max_Squad_Size> 9 </Max_Squad_Size>
    <Icon_Name>i_button_storm_trooper.tga</Icon_Name>
    <GUI_Model_Name>EI_TROOPER.ALO</GUI_Model_Name>
    <Land_Model_Name>EI_TROOPER.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>-->
    <Unit_Abilities_Data SubObjectList="Yes">
      <!-- Primary ability -->
      <Unit_Ability>
        <Type>SPREAD_OUT</Type>
        <Mod_Multiplier>SPEED_MULTIPLIER,	 0.5f</Mod_Multiplier>
        <Mod_Multiplier>TAKE_DAMAGE_MULTIPLIER, 0.5f</Mod_Multiplier>
      </Unit_Ability>
    </Unit_Abilities_Data>
    <Maintenance_Cost>0.05</Maintenance_Cost>
    <Population_Value>0</Population_Value>
    <Score_Cost_Credits>54</Score_Cost_Credits>
  </GroundCompany>

 

Even tried with your models won't show up in game so *shrugs* sorry for all of the questions

Edited by dlinvader
Link to comment
Share on other sites

It won't show ingame?

 

You put your XML files in \data\XML, right?

You did download my files, right?

 

Then it should show up...unless there's a syntax error(I'll check it quick)

 

EDIT:

OOH!

No syntax, but a HUGE problem. Your '501st_Squad' trooper should be a varient of the '501st' trooper, not the stormtrooper.

Change

<Variant_Of_Existing_Type>Stormtrooper</Variant_Of_Existing_Type>

to

<Variant_Of_Existing_Type>501st</Variant_Of_Existing_Type>

 

I'll try to get it to work. In the meantime, you could put them in a squad with Vader, if that works.

EDIT: And when you put code on the internet, please try to put it in a code box. Just highlight your code, and click on the # button above the smilies.

"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!

Link to comment
Share on other sites

Uhhhh.......That shouldn't change whether they show up or not....

 

Computers can be so strange sometimes ::)

 

Also, they won't work in Skirmish unless you:

Go into Specialstructures.XML

Find E_GROUND_BARRACKS

Change

<Tactical_Buildable_Objects_Multiplayer> 
		Empire,
			Imperial_Stormtrooper_Squad,
			Imperial_Light_Scout_Squad,
			Field_Com_Empire_Team,
			DarkTrooper_P1_Company,
			DarkTrooper_P2_Company,
			DarkTrooper_P3_Company,
			EL_Increased_Mobility_Upgrade,
			EL_Weatherproof_Upgrade,
	</Tactical_Buildable_Objects_Multiplayer>

to

<Tactical_Buildable_Objects_Multiplayer> 
		Empire,
			Imperial_Stormtrooper_Squad,
			Imperial_Light_Scout_Squad,
			Field_Com_Empire_Team,
			DarkTrooper_P1_Company,
			DarkTrooper_P2_Company,
			DarkTrooper_P3_Company,
			EL_Increased_Mobility_Upgrade,
			EL_Weatherproof_Upgrade,
                                           Imperial_501st_Squad,
	</Tactical_Buildable_Objects_Multiplayer>

 

You'll also want to change the skirmish cost. Under Imperial_501st_Squad, change

 <Tactical_Build_Cost_Multiplayer>300</Tactical_Build_Cost_Multiplayer>

to

 <Tactical_Build_Cost_Multiplayer>1000</Tactical_Build_Cost_Multiplayer>

"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!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 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...