I have DoW2 and DoW2:CR from Steam; specifically the Steam DoW franchise pack. I experienced the same problems that deadlynothing and others have reported. I fixed the problem with edits to inventory.lua (detailed below).
These things happen in the first mission if WargearUnlocker (CR) FAILED to load correctly:
- FC will have chainsword and bolter equipped.
- FC will have To Victory and Battle Cry
- FC will NOT have health item or Assault Jump
- Cyrus will wield only bolters (NOT a siper rifle)
- Cyrus will NOT have Demolition Charge
For me, the fix was to edit
C:\Program Files (x86)\Steam\steamapps\common\dawn of war 2\WargearUnlocker\Data\campaign\xp1\default_profile\inventory.lua
and REMOVE (delete) the following lines:
Code:
{ --Barding of Kazmirus (reward for co-op)
blueprint = "wargear\\wargear\\campaign\\playable\\race_marine\\xp1\\armour\\sm_arm_terminator_armour_l20_epic_coop",
new = false,
},
It seems my version of DoW2:CR does NOT have the "sm_arm_terminator_armour_l20_epic_coop" item, and including it in a mod will cause the mod to fail to load (resulting in the things mentioned above).
After making the change you can verify that it has worked by:
- Starting a new CR campaign (or importing from vanilla, the mod works for both).
- FC will wield a power axe (axe glows gold/yellow) and bolter
- FC will have Assault Jump, health pack, To Victory, and Battle Cry
- Cyrus will wield a sniper rifle
- Cyrus will have Demolition Charge
- Wargear will unlock as expected after completing mission one.
Discovery:
First, I noticed that the mod works with just squads.lua and not inventory.lua (I removed it temporarily). Knowing that the error was in inventory.lua, I extracted all the wargear rbf's from gameattrib.sga (using SgaReader2). Then I wrote a little app to check the inventory.lua file against actually-installed wargear (from the gameattrib.sga extraction), and logged any unresolved references. Only one came out: the co-op item. Remove the lines and the mod starts working.
PS. If FC wields a power axe that glows green and you don't get any of the CR specific wargear after completing the first mission (eg: just DoW2 vanilla items), you probably have the DoW2 vanilla mod installed. Remove it and install the CR-specific one when playing the CR campaign.