STAR WARS™ Empire at War: Gold Pack

STAR WARS™ Empire at War: Gold Pack

Binty Jun 26, 2017 @ 2:36pm
How to change amount of space a unit takes in your unit cap?
I'm planning on doing a RAW campaign soon, but because a lot of ground units in that mod take more than one point in your unit cap, I want to change them to just taking up one point instead. Since I don't already know how to do this, I thought I'd ask here.

If you also know how to change how many units are in a single company (basically change it so, say, an AT-RT company has two units instead four) then telling me how to do that would also be greatly appreciated.

Thank you in advance to anyone who can provide an answer.
< >
Showing 1-3 of 3 comments
RagingRumskullian Jun 26, 2017 @ 6:31pm 
I do not know how to change each individual unit, but I can help you with the unit cap in space and land battles. Basically, this will show you how to set the unit cap to 1,000 units in space or land battles. I see you are planning to use this on Republic at War, so we will have to go into the Republic at War game data files. THIS WILL REQUIRE THE REPUBLIC AT WAR FILE TO BE INSTALLED AND PUT INSIDE YOUR MODS FOLDER

Warning! It is HIGHLY recommended that you backup your XML file before this process!

1. Locate the Republic at War XML files

This part is pretty easy. Just find the RaW game data file found in
C:\Program Files x86\Steam\steamapps\common\Star Wars Empire at War\corruption\mods\Republic_At_War\Data\XML


2. Locate the "Factions" XML file and open it using "Notepad"

To find the "Factions" file, just scroll down until you see "Factions" (pretty easy, right?). Now, right click on the "Factions" file, hover your mouse above "open with," and choose "Notepad." A new window should open up giving you an editable version of the file.


3a. Scroll down until you see Space_Tactical_Unit_Cap 50

This part is for space battles. All you have to do here is, after you locate the unit cap control code, change that 50 to whatever you want (yes, change it to one million if you want). You will have to do this for both the Republic and Confederacy for it to work with both factions. This identical code can be found inside each faction's coding.


3b. Scroll down until you see Land_Skirmish_Unit_Cap_By_Player_Count

This part is for the land battles. You will see a series of numbers separated by commas. Change the second number of each pair of numbers to set your population cap. You will have to do this for both the Republic and Confederacy for it to work with both factions. This identical code can be found inside each faction's coding.


4. Save and close the document.

Many of us forget to do this. All you have to do is scroll to "file" and click "save" and exit the document.
___________________________________________________________________________

There you go, you are done! Tell me if you have any more trouble!
Last edited by RagingRumskullian; Jun 27, 2017 @ 5:48am
SevenFiftySix Jun 26, 2017 @ 7:45pm 
You need to edit <Population_Value> for the individual unit pop cap. It can usually be found in the company or squad info for land units, or in the basic unit info for most space units. Having said that, the mod code may vary. Since you're editing a mod I can't give exact xml file names but generally it will be GroundCompanies*factionName*.xml or *unitNameHere*.xml.

The company files also have the unit number info. Find <Company_Units> and just add to it. For example, turn
<Company_Units>AT_AT_Walker</Company_Units>
into
<Company_Units>AT_AT_Walker, AT_AT_Walker, AT_AT_Walker</Company_Units>
For each AT-AT company to have 3 units instead of one.
Binty Jun 27, 2017 @ 6:34am 
Originally posted by SevenFiftySix:
You need to edit <Population_Value> for the individual unit pop cap. It can usually be found in the company or squad info for land units, or in the basic unit info for most space units. Having said that, the mod code may vary. Since you're editing a mod I can't give exact xml file names but generally it will be GroundCompanies*factionName*.xml or *unitNameHere*.xml.

The company files also have the unit number info. Find <Company_Units> and just add to it. For example, turn
<Company_Units>AT_AT_Walker</Company_Units>
into
<Company_Units>AT_AT_Walker, AT_AT_Walker, AT_AT_Walker</Company_Units>
For each AT-AT company to have 3 units instead of one.
I think I may have found the answer to my main question in my own time, (even though I still need to test it) but the code for changing company units is interesting. I guess that's how some modders make certain units deploy different units in a single company. Thanks for the help, this should help me balance things out a bit better.
Last edited by Binty; Jun 27, 2017 @ 6:35am
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jun 26, 2017 @ 2:36pm
Posts: 3