CUSTOM leaders Tutorial
the files you will need to use
leaders.xml
techs.xml
civs.xml
stringtable-en.xml
techs.xml
civs.xml
stringtable-en.xml
The TUTORIAL
leaders.xml is where the information for each leader is located. Captain Cutter's information is shown below.
Icon: Seemingly purposeless
LeaderPickerOrder: Determines where this leader is positioned in the leader menu. (1-9)
StatsID: Unknown
DefaultPlayerSlotFlags: Unknown
<Civ> Determines which civ this leader will use. Civs are defined in civs.xml. (UNSC/Covenant)
<Tech> Determines which tech the leader will use. This tech determines what techs, units, and powers the leader will have access to.
<NameID> Determines the name of the leader, which will be displayed in the lobby and leader selection menu. (stringtable-en.xml)
<DescriptionID> Determines the description of the leader, which will be displayed in the leader selection menu. (stringtable-en.xml)
<FlashCivID> Determines which color will be displayed in the leader selection menu under each leader. (0-2)
<FlashImg> Unknown
<FlashPortrait> Determines the image for this leader that is displayed in the leader selection menu. These images can be customized using the same method detailed in the "Custom Icons" page of this website.
<UIControlBackground> Determines the image for this leader that is displayed in the game lobby. These images can be customized using the same method detailed in the "Custom Icons" page of this website.
<Resource> Determines what resources, and the amount of this resource, that this leader begins each match with. (Power, supplies)
<StartingUnit> Determines what base that this leader begins each match with.
<StartingSquad> Determines what squads that this leader will begin each match with.
<RallyPointOffset> Determines where the rally point for the starting base is located at the start of a match.
<RepairRate> Unknown
<RepairDelay> Unknown
<RepairCost> Unknown
<RepairTime> Unknown
<Pop Type> Determines what population types, how much of each population type this leader beings with, and the maximum amount of this population that this leader can have.
LeaderPickerOrder: Determines where this leader is positioned in the leader menu. (1-9)
StatsID: Unknown
DefaultPlayerSlotFlags: Unknown
<Civ> Determines which civ this leader will use. Civs are defined in civs.xml. (UNSC/Covenant)
<Tech> Determines which tech the leader will use. This tech determines what techs, units, and powers the leader will have access to.
<NameID> Determines the name of the leader, which will be displayed in the lobby and leader selection menu. (stringtable-en.xml)
<DescriptionID> Determines the description of the leader, which will be displayed in the leader selection menu. (stringtable-en.xml)
<FlashCivID> Determines which color will be displayed in the leader selection menu under each leader. (0-2)
<FlashImg> Unknown
<FlashPortrait> Determines the image for this leader that is displayed in the leader selection menu. These images can be customized using the same method detailed in the "Custom Icons" page of this website.
<UIControlBackground> Determines the image for this leader that is displayed in the game lobby. These images can be customized using the same method detailed in the "Custom Icons" page of this website.
<Resource> Determines what resources, and the amount of this resource, that this leader begins each match with. (Power, supplies)
<StartingUnit> Determines what base that this leader begins each match with.
<StartingSquad> Determines what squads that this leader will begin each match with.
<RallyPointOffset> Determines where the rally point for the starting base is located at the start of a match.
<RepairRate> Unknown
<RepairDelay> Unknown
<RepairCost> Unknown
<RepairTime> Unknown
<Pop Type> Determines what population types, how much of each population type this leader beings with, and the maximum amount of this population that this leader can have.
Fill out the appropriate information for each tag listed above. For the "Unknown" tags, I'd recommend simply copying the values from a preexisting leader's section to ensure nothing is messed up.
To determine the things a leader has access to, navigate to techs.xml. Move down to an existing leader's tech.
For Example: unsc_LeaderCutter
Copy/Paste this tech to use as a template for a custom leader, and name it in accordance with the <tech> indicated in leaders.xml.
Leader techs function the same as any other tech, the only differences being they are automatically activated at the start of a match, rather than researched in-game, and their status is 'Unobtainable'. Use the tutorial on the "Custom Techs" page to complete the leader's available units, powers, and techs.