<?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[Negative Support Attachment Does Not Work]]></title><description><![CDATA[<p dir="auto">I am trying to prevent enemy units from firing if aircraft our present. I am using the following supportattachment</p>
<pre><code>&lt;attachment name="supportAttachmentFighterEnemy" attachTo="fighter" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour_ge"/&gt;
  &lt;option name="faction" value="enemy"/&gt;
  &lt;option name="side" value="offence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
&lt;/attachment&gt;
</code></pre>
<p dir="auto">Am I doing something wrong here? Or are negative bonuses not allowed?</p>
]]></description><link>https://forums.triplea-game.org/topic/1202/negative-support-attachment-does-not-work</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Nov 2026 16:21:16 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/1202.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Jan 2019 23:58:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Negative Support Attachment Does Not Work on Mon, 21 Jan 2019 01:42:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: Cernel">@<bdi>Cernel</bdi></a> Thanks for the help. This is working</p>
<pre><code>&lt;attachment name="supportAttachmentFighterAllied" attachTo="fighter" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour"/&gt;
  &lt;option name="faction" value="allied"/&gt;
  &lt;option name="side" value="offence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
  &lt;option name="players" value="British:Americans"/&gt;
&lt;/attachment&gt;
&lt;attachment name="supportAttachmentFighterEnemy" attachTo="fighter" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour_ge"/&gt;
  &lt;option name="faction" value="enemy"/&gt;
  &lt;option name="side" value="offence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
  &lt;option name="players" value="British:Americans"/&gt;
&lt;/attachment&gt;
&lt;attachment name="supportAttachmentBomberAllied" attachTo="bomber" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour"/&gt;
  &lt;option name="faction" value="allied"/&gt;
  &lt;option name="side" value="offence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
  &lt;option name="players" value="British:Americans"/&gt;
&lt;/attachment&gt;
&lt;attachment name="supportAttachmentBomberEnemy" attachTo="bomber" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour_ge"/&gt;
  &lt;option name="faction" value="enemy"/&gt;
  &lt;option name="side" value="offence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
  &lt;option name="players" value="British:Americans"/&gt;
&lt;/attachment&gt;
</code></pre>
]]></description><link>https://forums.triplea-game.org/post/20203</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20203</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Mon, 21 Jan 2019 01:42:10 GMT</pubDate></item><item><title><![CDATA[Reply to Negative Support Attachment Does Not Work on Mon, 21 Jan 2019 01:13:41 GMT]]></title><description><![CDATA[<p dir="auto">Also, moving to Mapmaking.</p>
<p dir="auto">We should really define better what is the difference between Maps &amp; Mods and Mapmaking, because, as it is, we might as well merge the two. I would reserve Maps &amp; Mods for the official threads only.</p>
]]></description><link>https://forums.triplea-game.org/post/20198</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20198</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Mon, 21 Jan 2019 01:13:41 GMT</pubDate></item><item><title><![CDATA[Reply to Negative Support Attachment Does Not Work on Mon, 21 Jan 2019 01:10:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: RogerCooper">@<bdi>RogerCooper</bdi></a> You need to specify the players. Don't forget Neutral, in case.</p>
<p dir="auto">Personally, I much dislike that if not specified it applies to none. I would change the behaviour as if not specified it applies to all, but this would bug off a few games (shouldn't be too hard to track them, but some may be overlooked, as that's usually used in complex maps when you give support with triggers during them). Of course, also with the ability to have it and leaving it empty (to define it applies to none).</p>
]]></description><link>https://forums.triplea-game.org/post/20197</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20197</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Mon, 21 Jan 2019 01:10:28 GMT</pubDate></item><item><title><![CDATA[Reply to Negative Support Attachment Does Not Work on Mon, 21 Jan 2019 00:24:21 GMT]]></title><description><![CDATA[<p dir="auto">I realized that side should be "defence" but fixing the code doesn't solve it.</p>
<p dir="auto">Here are my attachments, which are intended to prevent non-air units from firing if air units are on the attack (combat is only 1 round)</p>
<pre><code>&lt;attachment name="supportAttachmentFighterAllied" attachTo="fighter" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour"/&gt;
  &lt;option name="faction" value="allied"/&gt;
  &lt;option name="side" value="offence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
&lt;/attachment&gt;
&lt;attachment name="supportAttachmentFighterEnemy" attachTo="fighter" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour_ge"/&gt;
  &lt;option name="faction" value="enemy"/&gt;
  &lt;option name="side" value="defence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
&lt;/attachment&gt;
&lt;attachment name="supportAttachmentBomberAllied" attachTo="bomber" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour"/&gt;
  &lt;option name="faction" value="allied"/&gt;
  &lt;option name="side" value="offence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
&lt;/attachment&gt;
&lt;attachment name="supportAttachmentBomberEnemy" attachTo="bomber" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType"&gt;
  &lt;option name="unitType" value="infantry:artillery:armour_ge"/&gt;
  &lt;option name="faction" value="enemy"/&gt;
  &lt;option name="side" value="defence"/&gt;
  &lt;option name="dice" value="strength"/&gt;
  &lt;option name="bonus" value="-3"/&gt;
  &lt;option name="number" value="99"/&gt;
  &lt;option name="bonusType" value="air"/&gt;
  &lt;option name="impArtTech" value="false"/&gt;
&lt;/attachment&gt;
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1548030199874-combat.png" alt="combat.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">This is a version of the D-day scenario, so the German units defend at 2.</p>
]]></description><link>https://forums.triplea-game.org/post/20192</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20192</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Mon, 21 Jan 2019 00:24:21 GMT</pubDate></item><item><title><![CDATA[Reply to Negative Support Attachment Does Not Work on Mon, 21 Jan 2019 00:03:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: RogerCooper">@<bdi>RogerCooper</bdi></a> Should work. Can you post a battle screenshot showing it not working? That support attachment should make any enemy inf/art/armour have -3 attack if a fighter is present on defense.</p>
]]></description><link>https://forums.triplea-game.org/post/20191</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20191</guid><dc:creator><![CDATA[redrum]]></dc:creator><pubDate>Mon, 21 Jan 2019 00:03:51 GMT</pubDate></item></channel></rss>