PDA

View Full Version : Larger Squad Sizes?



Teledahn
25th Feb 09, 2:50 PM
Straightforward, I don't know jack about modding, but I presume this isn't too difficult to do. Is it possible to add squad members to squads. Ie raise Tarkus's squad limit from 4 to 6 or something.

supr3mekill3r
25th Feb 09, 4:14 PM
Not too difficult once you know how to do it.

You'll need to read the "How to make an SGA" thread and download those tools, and the "how to hex edit" thread and get yourself a hex editor (google).

Then you'll extract the files from gameattrib.sga, find the ebps or sbps (whichever does squad sizes) under the campaign(same name) or multiplayer (pvp) folders, and using the hex editor change the squad size from 4 to 6 for the squad.

Then pack the files into a new SGA, use the SGA4to5.exe to change the SGA to new format, and put it in the gameassets\archives folder. Then edit the dow2.module to include the sga.

That outlines what you need to do, to go more in depth, theres plenty of threads already done. It may not be as streamlined as Company of Heroes or DOW1, but its all we got for now.

uniforce
25th Feb 09, 5:31 PM
oh yeah, if you didn't already know, Ebps is short for Entity blue prints (models/single units) and SBPS is short for Squad Blue Prints (squads, multiple models etc)

Xaero
25th Feb 09, 9:06 PM
This is an example from a multiplayer mod I'm working on but the same thing applies...

For this I modded the standard space marine squad to be 15 men instead of 3 (this is just an example as a test to make sure it works and see how badly or how well pathing 15 men in a squad actually turns out.

First extract:
Attrib\simulation\attrib\sbps\pvp\race_marine\troops\sm_tactical_marine.rbf

I found the Integer values of the squad size and max squad size at hex offsets:
0x00002470 (size when built) and 0x0000247c (max size)

Then just replace those with the values you'd like, for instance they were both 3 and I changed them to 15.

Hope that helps you out :)

Edit: LoL squad AI works well enough to support 30 man squads without too much clipping :D this should be good for some real tyranid squads :)

DCB
26th Feb 09, 8:10 AM
I managed to successfully find and change squad cap values for some of the SP squad LUAs, but the effect isn't showing up in an ongoing game. Haven't tried it in a new game as yet. If I manage to get it working, I'll post some offsets.

There is one odd thing though. For a couple of the squads there are multiple files. For example, tactical marines:

sm_tactical_marine.rbf
sm_tactical_marine_blood_raven.rbf
sm_tactical_marines.rbf

sm_tactical_marine.rbf has a min/max squad size of 1, while the other two have a min/max size of 5. None of those seem right. Isn't the in-game size 4? I changed sm_tactical_marines.rbf from 5 to 10, but like I said there was no effect in-game. The devastator squad has the marine and marines variants as well, with the squad caps being 3 and 5 respectively. I changed both to 10 with no effect.

supr3mekill3r
26th Feb 09, 9:11 AM
I managed to successfully find and change squad cap values for some of the SP squad LUAs, but the effect isn't showing up in an ongoing game. Haven't tried it in a new game as yet. If I manage to get it working, I'll post some offsets.

There is one odd thing though. For a couple of the squads there are multiple files. For example, tactical marines:

sm_tactical_marine.rbf
sm_tactical_marine_blood_raven.rbf
sm_tactical_marines.rbf

sm_tactical_marine.rbf has a min/max squad size of 1, while the other two have a min/max size of 5. None of those seem right. Isn't the in-game size 4? I changed sm_tactical_marines.rbf from 5 to 10, but like I said there was no effect in-game. The devastator squad has the marine and marines variants as well, with the squad caps being 3 and 5 respectively. I changed both to 10 with no effect.

I think the tactical space marine squad is named "sm_tactical_marine_tarkus.rbf" under sbps/campaign/playable. I took a look and it seems to have the right stuff.

DCB
26th Feb 09, 9:22 AM
D'oh! I didn't even bother looking in those as I figured they were just for the sergeants, not the squads themselves. Looks like there are two squad_loadout entries - one for the sergeant and one for the remaining squad members. So sm_assault_marine_thaddeus.rbf has a min/max cap of 1 for type ebps\campaign\playable\race_marine\troops\sm_assault_marine_thaddeus and a min/max cap of 2 for type ebps\campaign\playable\race_marine\troops\sm_assault_marine.

Thanks for the pointer supr3mekill3r. I'll see if I can hack those values and post the offsets.

jaylo138
26th Feb 09, 9:23 AM
I'm in the process of writing down all the offsets for changing squad sizes, should'nt take too long as the offsets are all at the begining of their rbfs.

Will post them in a new thread when done.

Thoragoros
26th Feb 09, 11:15 AM
Hmm, is there going to be a corsix style mod studio to help with this? I did whole bunch of modding for DoW 1, but this sounds a bit cumbersome just to do something as simple as changing squad sizes.

Xaero
26th Feb 09, 11:24 AM
It will probably come eventually if Corsix wants to / has the time. DoW 1 modding probably started out like this as well before people decided to create tools don't forget, so for now we have to make do with what we have ;)

Thoragoros
26th Feb 09, 11:26 AM
Also, even if we do change the squade sizes, we'll have to find a way to change the max squad cap so that we don't end up using all 100 points for a single unit of marines! LOL!

Mirage Knight
26th Feb 09, 12:57 PM
That's easy - just edit the Tactical's EBPS file. Look for the population cost value...should say 5. Edit that to something lower and done :)

Xaero
26th Feb 09, 1:05 PM
Yea, that happened to me when I first tried a 30 man squad of terminators ^^ cost like 250 pop cap or something lol :D I fixed it ofc though

Thoragoros
26th Feb 09, 6:38 PM
Okay, hex editing isn't my thing.

Can anyone upload an increased squad cap/size mod?

Thanks

Deathtrooper
26th Feb 09, 6:48 PM
http://forums.relicnews.com/showthread.php?t=216757

10th Post

Thoragoros
26th Feb 09, 7:09 PM
Thanx!