It is a territory attachment. For the AITarget, it increases the likelihood that the AI (if specified as the value) will attack a certain territory. For the AmphibAITarget, it dramatically increases the likelihood that the AI will land units on that territory.
It works just by adding two methods in the TerritoryAttachment and then adding the option to the xml file. If the options are not there, the AI goes ahead and plays as normal.
I can't get around this SeaBattle error that I posted and I have tried 3 times to add a comment to it and it has failed everytime. This causes a crash in both maps in WW2V3. Here is the error:
Exception in thread "Triplea start local thread" java.lang.NullPointerException
 at games.strategy.triplea.delegate.BattleDelegate.setupSeaUnitsInSameSeaZoneBattles(
 at games.strategy.triplea.delegate.BattleDelegate.start(
 at games.strategy.engine.framework.ServerGame.startStep(
 at games.strategy.engine.framework.ServerGame.runStep(
 at games.strategy.engine.framework.ServerGame.startGame(
 at games.strategy.engine.framework.startup.launcher.LocalLauncher$
 at Source)
Kevin Moore

From: Kevin Comcowich <>
To:; Kevin <>
Sent: Thu, August 12, 2010 2:44:38 PM
Subject: Re: [Triplea-develop] Territory Attachment...

What's the intent of the change?  Will the AI attack that player to the exclusion of all other options?  If so, I can see potential problems with the AI.  We'd have to wait and see what it did.
On another note, I don't remember for sure, but that change may require you to update the xml dtd.  Otherwise, I don't see a problem with it.

--- On Thu, 8/12/10, Kevin <> wrote:

From: Kevin <>
Subject: [Triplea-develop] Territory Attachment...
Date: Thursday, August 12, 2010, 9:38 AM

Hey all-
I wanted to make sure it is ok to modify the territory attachments to allow the map file to specify AI targets. I've already made the mods and verified them.
    <option name="AITarget" value="Americans"/>
    <option name="AmphibAITarget" value="Japanese"/>
If this is ok, I'll post my modifications. Thanks!
Kevin Moore

-----Inline Attachment Follows-----

This email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge

-----Inline Attachment Follows-----

Triplea-developers mailing list