PDA

View Full Version : Wargear for Mixed Squads Help



HertelMT
9th Feb 11, 3:43 PM
I'm new to the forum, new to Attribute editing for DoW2:CR, and I've come across a few rather disturbing issues that I can't resolve.
Real quick, I'm not a total n00b at attribute editing and I've been using Cope's DoW2 Toolbox, which might I add is amazing.

I put together a 10 man, mixed, squad of veteran guardsmen consisting of a veteran sergeant, 3 special weapons veterans, and 6 more veterans. All of them are just modified versions of the pre-existing "ig_trooper_X". I gave them 4 weapon upgrades; flamer, grenade launcher, plasma gun, and sniper rifle. All of which work, but there are a few issues.

1. I want each upgrade to give the squad 3 of that weapon; but they seem to show up in different numbers. When I select "Plasma guns" or "Grenade Launcher", The squad is equiped with 3 of each, good. When I select "Sniper Rifle" or "Flamer", the squad is equiped with only 1 of each, bad. I can't seem to find where to change how many weapons are applied in the upgrade. Could someone please tell me how to change the numbers applied?

Edit: I figured out how to adjust the numbers; it's changed in the wargear file, not the upgrade file.

2. When I apply upgrades to the squad, the first unit within the squad to get the new weapon is my veteran sergeant; also bad. I only want the 3 "ig_veteran_special" units within the squad to be upgradeable. How do I set it so that only certain units within a mixed squad recieve certain upgrades?

I tried adding an "upgrade_ext" to the (ebps)"ig_veteran_special" unit, but it didn't seem to work; none of the upgrades were visable in-game. I tried using a "filter_action" (within the "ig_veteran_spc_[weapon name].rbf)"and set the "entity_type" to "ig_veteran_special" in hopes that only they would be affected; Didn't solve the problem.
Is it possible to make it so that only a few units in the squad are upgradeable for certain things? For example: A squad of 9 guardsmen made up of 2 different units; ig_trooper_01 and ig_trooper_02. Is it possible to make it so that ig_trooper_1 can be upgraded with grenade launchers, while ig_trooper_02 can be upgraded with shotguns? I'm thinking "no", and thus far have been running into "no".

3. My Squad was going to have more upgrades than the 4 slots on the side could support, and I ended up with buttons on the side of the "command_panel". I wanted a larger panel, like the 'Heroes', so I addeded a "type_unit_class" with a value of "hero" to the "type_ext" of the veteran units within my squad, and it did what I wanted, but I haven't been able to put a single upgrade or piece of wargear on the new command panel. Any help with that?

Any help would be greatly appreciated.

Gorb
9th Feb 11, 6:08 PM
Edit the wargear or upgrade file itself so that it has the "no_leader" clause. I can't remember where that line goes; been far too long since I touched DoW II's code.

HertelMT
9th Feb 11, 6:48 PM
It's in the wargear file, but my veteran sergeant isn't considered a leader. I don't like the idea of having a guard squad without a sgt, and wasn't sure how to get him into the squad when you first build it from the hq; without the need for adding the upgrade. So i just included him with the rest of the veterans.

How would I get a squad to automatically apply an upgrade when the squad's built?

Gabriel Gorgutz
9th Feb 11, 9:53 PM
1. Find your sergeant upgrade file in the upgrades/troops folder.

2. Go to the IG squad's SBPS file and look for "default upgrades."

3. Add the Sgt. upgrade as a default upgrade, and they will start with the Sgt. If he dies, they can re-buy him, or you can set it so that he always dies last.

HertelMT
9th Feb 11, 11:50 PM
Thank you. That is very helpful and now I've been able to give my squad and sergeant seperate weapon upgrades.