SocialMechanic
Chieftain
- Joined
- May 11, 2019
- Messages
- 97
I have a mod that changes many of the existing policies in the game. I added +1 movement to Recon units in the Survey policy but it isn't working and I'm not sure why.
Any idea why its not working?
Code:
<PolicyModifiers>
<Row PolicyType="POLICY_SURVEY" ModifierId="SM_SURVEY_ALTBONUS"/>
</PolicyModifiers>
<Modifiers>
<Row ModifierId="SM_SURVEY_ALTBONUS" ModifierType="MODIFIER_PLAYER_UNIT_ADJUST_MOVEMENT" SubjectRequirementSetId="SM_RECON_UNIT_REQUIREMENTS"/>
</Modifiers>
<ModifierArguments>
<Row ModifierId="SM_SURVEY_ALTBONUS" Name="Amount" Value="1" />
</ModifierArguments>
<RequirementSets>
<Row RequirementSetId="SM_RECON_UNIT_REQUIREMENTS" RequirementSetType="REQUIREMENTSET_TEST_ANY"/>
</RequirementSets>
<RequirementSetRequirements>
<Row RequirementSetId="SM_RECON_UNIT_REQUIREMENTS" RequirementId="SM_UNIT_IS_RECON1"/>
<Row RequirementSetId="SM_RECON_UNIT_REQUIREMENTS" RequirementId="SM_UNIT_IS_RECON2"/>
<Row RequirementSetId="SM_RECON_UNIT_REQUIREMENTS" RequirementId="SM_UNIT_IS_RECON3"/>
<Row RequirementSetId="SM_RECON_UNIT_REQUIREMENTS" RequirementId="SM_UNIT_IS_RECON4"/>
</RequirementSetRequirements>
<Requirements>
<Row RequirementId="SM_UNIT_IS_RECON1" RequirementType="REQUIREMENT_UNIT_TYPE_MATCHES"/>
<Row RequirementId="SM_UNIT_IS_RECON2" RequirementType="REQUIREMENT_UNIT_TYPE_MATCHES"/>
<Row RequirementId="SM_UNIT_IS_RECON3" RequirementType="REQUIREMENT_UNIT_TYPE_MATCHES"/>
<Row RequirementId="SM_UNIT_IS_RECON4" RequirementType="REQUIREMENT_UNIT_TYPE_MATCHES"/>
</Requirements>
<RequirementArguments>
<Row RequirementId="SM_UNIT_IS_RECON1" Name="UnitType" Value="UNIT_SCOUT" />
<Row RequirementId="SM_UNIT_IS_RECON2" Name="UnitType" Value="UNIT_SKIRMISHER" />
<Row RequirementId="SM_UNIT_IS_RECON3" Name="UnitType" Value="UNIT_RANGER" />
<Row RequirementId="SM_UNIT_IS_RECON4" Name="UnitType" Value="UNIT_SPEC_OPS" />
</RequirementArguments>