[GS] Counterspy Boost

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
Hi All,
I have added this to a Security Building I have made, will it give Counterspy boost?

<BuildingModifiers>

</Row>
<Row>
<BuildingType>BUILDING_BRITANNIA_SECURITY_SERVICES_BUILDING</BuildingType>
<ModifierId>SECURITY_SERVICES_BUILDING_SURVEILLANCE</ModifierId>
</Row>
<Row>
<BuildingType>BUILDING_BRITANNIA_SECURITY_SERVICES_BUILDING</BuildingType>
<ModifierId>SECURITY_SERVICES_BUILDING_COUNTERSPY_BOOST</ModifierId>
</Row>

</BuildingModifiers>

<Modifiers>

<Row>
<ModifierId>SECURITY_SERVICES_BUILDING_SURVEILLANCE</ModifierId>
<ModifierType>MODIFIER_SINGLE_UNIT_ADJUST_SPY_COUNTERSPY_ENTIRE_CITY</ModifierType>
</Row>
<Row>
<ModifierId>SECURITY_SERVICES_BUILDING_COUNTERSPY_BOOST</ModifierId>
<ModifierType>MODIFIER_SINGLE_UNIT_ADJUST_SPY_COUNTERSPY_ADJACENT_LEVEL_BOOST</ModifierType>
</Row>

</Modifiers>

<ModifierArguments>

<Row>
<ModifierId>SECURITY_SERVICES_BUILDING_SURVEILLANCE</ModifierId>
<Name>EntireCity</Name>
<Value>true</Value>
</Row>
<Row>
<ModifierId>SECURITY_SERVICES_BUILDING_COUNTERSPY_BOOST</ModifierId>
<Name>Amount</Name>
<Value>1</Value>
</Row>

</ModifierArguments>

*Updated

Regards
Riker13:crazyeye:
 
Last edited:
modifiers of the type MODIFIER_SINGLE_UNIT_X has no effect when attached to a building, they must be attached to a unit.

But you can try to attach them to the spy unit and make a requirement like "security building must be within 3 tiles". I'm not sure exactly what modifier type you would use here, but I think there is one that should fit.
 
Thanks CriZp, MODIFIER_SINGLE_UNIT doh! yes that would not work on a building, thanks for the tip yes maybe the Spy unit.
I will let you know how it goes.
 
Back
Top Bottom