Territory Effects
-
Trying to add a Territory effect. Idk if I need to have a property turned on or not. I can't find anything that says I do and i didn't see one in GCD.
This is what I get
This is what I did
The error says there is no Territory Effect named forest.
Would someone clue me in where I'm screwing up
Thanks
-
@beelee
You might be missing this block of code or similar...<!-- Forest/Jungle -->
<attachment name="territoryEffectAttachment" attachTo="forest" javaClass="TerritoryEffectAttachment" type="territoryEffect">
<option name="combatOffenseEffect" value="-1:Artillery:$All-Armor$:HQ-Army:$All-Air$"/> <!-- NB Fighters cannot attack All-Infantry-Motorized -->
<option name="combatDefenseEffect" value="1:$All-Infantry$:Anti-Tank:Bunker:Base-Camp"/> <!-- includes Bunker:Base-Camp -->
<option name="noBlitz" value="$All-Move2Land$"/>
</attachment>or might be Forest v forest, so check the case.
-
hmm ... I wouldn't think I'd need that. I just want it to effect the Russian_Rail unit. I don't have those other units in the game.
I'll try it anyways
-
ahh ... just being stupid. Had to remove the thing that made it red lol
-
The "<!--" that was making the block red was the start of a comment section. You might want to remove the "-->" that marks the end of the comment section, "</territoryEffectList> -->", before it may cause further problems.
Cheers...