@wc_sumpton
Thanks a lot!
I hope im not asking too much,
We are implementing landmines and currently i have the following unit attachment set up:
<attachment name="unitAttachment" attachTo="landmine" javaClass="UnitAttachment" type="unitType">
<option name="defense" value="0"/>
<option name="attack" value="0"/>
<option name="isAA" value="true"/>
<option name="attackAA" value="1"/>
<option name="maxAAattacks" value="6"/>
<option name="targetsAA" value="infantry:tank:cavalry"/>
<option name="isInfrastructure" value="false"/>
<option name="isFirstStrike" value="true"/>
<option name="isConstruction" value="true"/>
<option name="constructionType" value="bunker"/>
<option name="constructionsPerTerrPerTypePerTurn" value="1"/>
<option name="maxConstructionsPerTypePerTerr" value="10"/>
</attachment>
Right now landmines behave like Anti-aircraft against troops (first strike and hitting a set number of units, which is intentional), but they also have 1 hp
In a perfect situation the landmine should act like a normal AA (like the one in domination), but once the territory is captured it should destroy itself.
I have looked at other maps, but i couldnt find any that implement landmines in this way. Do you know if this is possible?
I tried making it a suicide unit, this didnt work, they all suicide after 1 infantry attacks them.
If i make them non-suicide the enemy can capture them
I appreciate your help, cheers!