Croaxleigh
7th Mar 09, 9:21 AM
I had originally started writing this as a comment in Newcomer's "How To Increase Squad Size (http://forums.relicnews.com/showthread.php?t=217558)" tutorial, but decided that it'd be a bit better served as a tutorial all its own. It's a fairly easy bit of modding to do that allows for things like mixed squads or even command squads in both SP and MP.
= = = = = = = = = = = = = = =
Skill Level: Novice
Prerequisites: None
= = = = = = = = = = = = = = =
It should be noted that unlike DoW, in DoW2 it's possible to have more than one type of unit in a squad as well. Use the same piece of code to add more units to your squad to make a mixed squad type.
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
This entry is what sets the number of the specific unit that appears in the squad, but you can have more than one of these entries within the unit list. Just copy/paste this same bit of code within the unit list and change the "type" entry to whatever you want the new unit to be.
An example, still using the Guardian squad. Let's say that GW releases a new Eldar codex that gives Guardians the ability to take attack kittens as squad mates, and Relic releases kittens as DLC units. It would be an easy matter to add the kittens to the Guardian squads themselves. All that you need to do is open the Guardian squad's .rbf file and locate the following:
| squad_loadout_ext: {
| | $REF: "squad_extensions\squad_loadout_ext";
| | max_leaders: 0;
| | squad_type: "scout_marine";
| | terminator_mode_sbp: "";
| | unit_list: {
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | };
| };
Now copy and paste the squad_loadout_unit_entry section, creating 2 instances of it.
| squad_loadout_ext: {
| | $REF: "squad_extensions\squad_loadout_ext";
| | max_leaders: 0;
| | squad_type: "scout_marine";
| | terminator_mode_sbp: "";
| | unit_list: {
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | };
| };
Finally, make necessary changes to the newly pasted entry. As everyone knows, Guardian squads can only take 2 kittens so we'll adjust the loadout as well.
| squad_loadout_ext: {
| | $REF: "squad_extensions\squad_loadout_ext";
| | max_leaders: 0;
| | squad_type: "scout_marine";
| | terminator_mode_sbp: "";
| | unit_list: {
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 2;
| | | | num: 2;
| | | | type: "ebps\pvp\race_eldar\troops\eld_kitten";
| | | };
| | };
| };
Now save your file and launch the game. When you build your Guardian squads you'll not only have Eldar Guardians but you'll also have 2 cute little fluffy balls of clawed death ready and waiting to tear your enemies to shreds.
Have fun!
= = = = = = = = = = = = = = =
Skill Level: Novice
Prerequisites: None
= = = = = = = = = = = = = = =
It should be noted that unlike DoW, in DoW2 it's possible to have more than one type of unit in a squad as well. Use the same piece of code to add more units to your squad to make a mixed squad type.
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
This entry is what sets the number of the specific unit that appears in the squad, but you can have more than one of these entries within the unit list. Just copy/paste this same bit of code within the unit list and change the "type" entry to whatever you want the new unit to be.
An example, still using the Guardian squad. Let's say that GW releases a new Eldar codex that gives Guardians the ability to take attack kittens as squad mates, and Relic releases kittens as DLC units. It would be an easy matter to add the kittens to the Guardian squads themselves. All that you need to do is open the Guardian squad's .rbf file and locate the following:
| squad_loadout_ext: {
| | $REF: "squad_extensions\squad_loadout_ext";
| | max_leaders: 0;
| | squad_type: "scout_marine";
| | terminator_mode_sbp: "";
| | unit_list: {
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | };
| };
Now copy and paste the squad_loadout_unit_entry section, creating 2 instances of it.
| squad_loadout_ext: {
| | $REF: "squad_extensions\squad_loadout_ext";
| | max_leaders: 0;
| | squad_type: "scout_marine";
| | terminator_mode_sbp: "";
| | unit_list: {
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | };
| };
Finally, make necessary changes to the newly pasted entry. As everyone knows, Guardian squads can only take 2 kittens so we'll adjust the loadout as well.
| squad_loadout_ext: {
| | $REF: "squad_extensions\squad_loadout_ext";
| | max_leaders: 0;
| | squad_type: "scout_marine";
| | terminator_mode_sbp: "";
| | unit_list: {
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 5;
| | | | num: 5;
| | | | type: "ebps\pvp\race_eldar\troops\eld_guardian";
| | | };
| | | squad_loadout_unit_entry: {
| | | | $REF: "squad_loadout_unit_entry";
| | | | max: 2;
| | | | num: 2;
| | | | type: "ebps\pvp\race_eldar\troops\eld_kitten";
| | | };
| | };
| };
Now save your file and launch the game. When you build your Guardian squads you'll not only have Eldar Guardians but you'll also have 2 cute little fluffy balls of clawed death ready and waiting to tear your enemies to shreds.
Have fun!