<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to make a AA Tank?]]></title><description><![CDATA[<p dir="auto">Hi.This is my problem.How i can create a AATank?I want him to behave like a tank(Attack,Defense ,Movement and CanBlitz),but when engaging in combat with air units, run as an AA for them.How can I do this(in XML)?</p>
]]></description><link>https://forums.triplea-game.org/topic/878/how-to-make-a-aa-tank</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 16:46:35 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/878.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Jun 2018 18:02:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to make a AA Tank? on Tue, 05 Jun 2018 00:23:19 GMT]]></title><description><![CDATA[<p dir="auto">Very nice,thanks for help,Im playing Cold War 1965,And I have many ideas of new units.</p>
]]></description><link>https://forums.triplea-game.org/post/12999</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12999</guid><dc:creator><![CDATA[CorsairBR]]></dc:creator><pubDate>Tue, 05 Jun 2018 00:23:19 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Tue, 05 Jun 2018 00:03:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/corsairbr" aria-label="Profile: corsairbr">@<bdi>corsairbr</bdi></a> Yes.  If you do not attach a "Carrier cost" to an air unit then it will not be eligible to land on an ACC.  There is an example of that as well in the TWW XML as the Naval Fighters land on ACC but the normal Fighters cannot.</p>
]]></description><link>https://forums.triplea-game.org/post/12998</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12998</guid><dc:creator><![CDATA[Hepps]]></dc:creator><pubDate>Tue, 05 Jun 2018 00:03:41 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Mon, 04 Jun 2018 23:14:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/redrum" aria-label="Profile: redrum">@<bdi>redrum</bdi></a> said in <a href="/post/12970">How to make a AA Tank?</a>:</p>
<blockquote>
<p dir="auto">mentioned TWW has a good example. Here is the XML snippet:</p>
</blockquote>
<p dir="auto">Thank you, I'll try to create it now for my case. Any other question, is there any parameter to restrict units to be transported? For example, I made an aircraft carrier, and I want it to carry only one type of helicopter. Is that possible?</p>
]]></description><link>https://forums.triplea-game.org/post/12995</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12995</guid><dc:creator><![CDATA[CorsairBR]]></dc:creator><pubDate>Mon, 04 Jun 2018 23:14:49 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Sun, 03 Jun 2018 19:44:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/corsairbr" aria-label="Profile: corsairbr">@<bdi>corsairbr</bdi></a> As <a class="plugin-mentions-user plugin-mentions-a" href="/user/hepps" aria-label="Profile: Hepps">@<bdi>Hepps</bdi></a> mentioned TWW has a good example. Here is the XML snippet:</p>
<pre><code>    &lt;attachment name="unitAttachment" attachTo="germanAntiTankGun" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType"&gt;
      &lt;option name="attack" value="1"/&gt;
      &lt;option name="defense" value="1"/&gt;
      &lt;option name="isAAforCombatOnly" value="true"/&gt;
      &lt;option name="typeAA" value="AntiTankGun"/&gt;
      &lt;option name="targetsAA" value="russianMech.Infantry:russianTank:britishMech.Infantry:britishTank:americanMech.Infantry:americanTank:chineseMech.Infantry:chineseTank:spanishTank:swedishTank:turkishTank:brazilianTank"/&gt;
      &lt;option name="maxAAattacks" value="1"/&gt;
      &lt;option name="maxRoundsAA" value="-1"/&gt;	  
      &lt;option name="transportCost" value="2"/&gt;
      &lt;option name="mayOverStackAA" value="true"/&gt;
      &lt;option name="movement" value="1"/&gt;
      &lt;option name="attackAA" value="2"/&gt;
      &lt;option name="isLandTransportable" value="true"/&gt;
      &lt;option name="requiresUnits" value="germanFactory"/&gt;
      &lt;option name="canBeGivenByTerritoryTo" value="Germany"/&gt;
      &lt;option name="damageableAA" value="true"/&gt;
      &lt;option name="canInvadeOnlyFrom" value="none"/&gt;
    &lt;/attachment&gt;
</code></pre>
<p dir="auto">Also make sure you read through POS2 XML and use that as a reference since it describes all of these unit options: <a href="https://github.com/triplea-maps/the_pact_of_steel/blob/master/map/games/pact_of_steel_2.xml" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/triplea-maps/the_pact_of_steel/blob/master/map/games/pact_of_steel_2.xml</a></p>
]]></description><link>https://forums.triplea-game.org/post/12970</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12970</guid><dc:creator><![CDATA[redrum]]></dc:creator><pubDate>Sun, 03 Jun 2018 19:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Sun, 03 Jun 2018 19:41:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/corsairbr" aria-label="Profile: corsairbr">@<bdi>corsairbr</bdi></a>  GL Cor <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=6688274db12" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forums.triplea-game.org/post/12969</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12969</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Sun, 03 Jun 2018 19:41:28 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Sun, 03 Jun 2018 19:41:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hepps" aria-label="Profile: hepps">@<bdi>hepps</bdi></a> = DONKEY!</p>
]]></description><link>https://forums.triplea-game.org/post/12968</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12968</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Sun, 03 Jun 2018 19:41:15 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Sun, 03 Jun 2018 18:23:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hepps" aria-label="Profile: hepps">@<bdi>hepps</bdi></a> Thanks for the help, I really liked the game and wanted to create more units for some maps, some I managed without problems, but in that I failed. I'll take a look at this, thanks again</p>
]]></description><link>https://forums.triplea-game.org/post/12962</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12962</guid><dc:creator><![CDATA[CorsairBR]]></dc:creator><pubDate>Sun, 03 Jun 2018 18:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Sun, 03 Jun 2018 18:20:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/corsairbr" aria-label="Profile: corsairbr">@<bdi>corsairbr</bdi></a> You're english is is better than some englishmen I know.... (looks at <a class="plugin-mentions-user plugin-mentions-a" href="/user/prastle" aria-label="Profile: prastle">@<bdi>prastle</bdi></a> ).  <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f923.png?v=6688274db12" class="not-responsive emoji emoji-android emoji--rolling_on_the_floor_laughing" style="height:23px;width:auto;vertical-align:middle" title=":rolling_on_the_floor_laughing:" alt="🤣" /></p>
<p dir="auto">If you download Total World War: December 1941...  you will find what you need by looking at the AT Guns in the unit roster.</p>
]]></description><link>https://forums.triplea-game.org/post/12961</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12961</guid><dc:creator><![CDATA[Hepps]]></dc:creator><pubDate>Sun, 03 Jun 2018 18:20:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Sun, 03 Jun 2018 18:18:08 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, I'm new here, where can I find it? Sorry if I'm typing wrong, my English is not so good</p>
]]></description><link>https://forums.triplea-game.org/post/12960</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12960</guid><dc:creator><![CDATA[CorsairBR]]></dc:creator><pubDate>Sun, 03 Jun 2018 18:18:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to make a AA Tank? on Sun, 03 Jun 2018 18:10:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/corsairbr" aria-label="Profile: corsairbr">@<bdi>corsairbr</bdi></a> Look at the AT Guns in TWW.</p>
<p dir="auto">Everything you need is in there.</p>
]]></description><link>https://forums.triplea-game.org/post/12959</link><guid isPermaLink="true">https://forums.triplea-game.org/post/12959</guid><dc:creator><![CDATA[Hepps]]></dc:creator><pubDate>Sun, 03 Jun 2018 18:10:45 GMT</pubDate></item></channel></rss>