Jump to content

Home

Adding Indigenous or Pirate Units....


ZukaZ

Recommended Posts

I changed the starting units in conquest to add the imperial guard, bothan,sullustans, mon cal, geonosians, gungans etc.

 

The file you want is groundcompaniesinigenous.xml

 

Things like Imperial_Elite_Company should be the unit names.

 

then just put them under starting units in conquest in the campaignsingleplayer.xml file

Link to comment
Share on other sites

First take open up groundcompaniesempire, groundcompaniesindigenous and specialstructures.

 

This is a basic rebel unit (edited to mon cal):

 

<GroundCompany Name="Mon_Calamari_Civ_Company">
	<Text_ID>TEXT_INDIG_MONCAL_CIV</Text_ID>
	<Encyclopedia_Text>TEXT_TOOLTIP_REBELSOLDIER TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY</Encyclopedia_Text>
	<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_INFANTRY</Encyclopedia_Unit_Class>
	<Encyclopedia_Good_Against> Stormtrooper </Encyclopedia_Good_Against>
	<Encyclopedia_Vulnerable_To> TIE_Crawler Scout_Trooper UC_Empire_Buildable_Anti_Infantry_Turret </Encyclopedia_Vulnerable_To>
	<GUI_Row> 1 </GUI_Row>
	<Is_Dummy>Yes</Is_Dummy>
	<Damage>15</Damage>
	<Autoresolve_Health>100</Autoresolve_Health> <!-- changed to reflect unit health w/ size-->
	<Affiliation>Rebel</Affiliation>
	<Build_Cost_Credits>52</Build_Cost_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>
	<Build_Initially_Locked>No</Build_Initially_Locked>
	<Build_Can_Be_Unlocked_By_Slicer>No</Build_Can_Be_Unlocked_By_Slicer>
	<Tech_Level>0</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>R_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>Gallofree_Transport</Company_Transport_Unit>
	<Create_Team_Type> MonCal_Team</Create_Team_Type>
       <!-- AI  Changed to 15 soldiers with 5 per troop -->
	<Company_Units>Mon_Calamari_Civilian, Mon_Calamari_Civilian, Mon_Calamari_Civilian, Mon_Calamari_Civilian, Mon_Calamari_Civilian</Company_Units>
	<Max_Squad_Size> 5 </Max_Squad_Size>
	<Icon_Name>i_button_moncalciv.tga</Icon_Name>
	<GUI_Model_Name>RI_INFANTRY.ALO</GUI_Model_Name>
	<Land_Model_Name>RI_INFANTRY.ALO</Land_Model_Name>
	<Scale_Factor>5.0</Scale_Factor>
	<GUI_Offset>0 0 5</GUI_Offset>
	<GUI_Velocity>45</GUI_Velocity>
	<SFXEvent_Build_Started>RHD_Build_Troops</SFXEvent_Build_Started>
	<SFXEvent_Build_Cancelled>RHD_Recruitment_Canceled</SFXEvent_Build_Cancelled>
	<SFXEvent_Build_Complete>Unit_Complete_Rebel_Soldier</SFXEvent_Build_Complete>
	<SFXEvent_Fleet_Move>Unit_Fleet_Move_Rebel_Soldier</SFXEvent_Fleet_Move>


	<Score_Cost_Credits>45</Score_Cost_Credits>

	<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->
	<Tactical_Build_Cost_Multiplayer>320</Tactical_Build_Cost_Multiplayer>
	<Tactical_Build_Time_Seconds>3</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>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>1</Population_Value>
</GroundCompany>

 

find Imperial_Guard_Company in the indigenous file. Look at all the areas I named moncal. Find those for the guard and imput them over mon cal.

 

Then copy that whole thing, and paste in the empire ground file. Then go to special structures, find the e_ground_barracks (something like that not exact)

and where you see the buildable units add in imperial_guard_company

 

I'll actually be making the mod tomorrow so if you want to wait and download, do that if the explanation sounded confusing.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...