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

-
-
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...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login