<?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[Question about removing unit placement limit]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I've made a simple map (1.9x, ww2v3 ruleset) and I wish to remove the default unit placement limitation for factories, so for example a 3pu territory with a factory can place more than 3 units</p>
<p dir="auto">I tried a lot of property names and combinations, and looked around Pact of Steel 2 xml for clues but I didn't find it anything that worked</p>
<p dir="auto">What variable controls this? Thanks.</p>
]]></description><link>https://forums.triplea-game.org/topic/71/question-about-removing-unit-placement-limit</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 16:41:35 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/71.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Mar 2017 23:04:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Question about removing unit placement limit on Tue, 28 Mar 2017 02:12:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kao" aria-label="Profile: Kao">@<bdi>Kao</bdi></a><br />
Right on Kao ! Love it when a plan comes together <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="🙂" /> Cernel is pretty sharp with the xml program</p>
]]></description><link>https://forums.triplea-game.org/post/417</link><guid isPermaLink="true">https://forums.triplea-game.org/post/417</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Tue, 28 Mar 2017 02:12:07 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Tue, 28 Mar 2017 00:41:54 GMT]]></title><description><![CDATA[<p dir="auto">Aaaaaand it worked!</p>
<p dir="auto">As per Cernel second link, I had to set the property <strong>Damage From Bombing Done To Units Instead Of Territories</strong> to true and them <strong>canProduceXUnits</strong> suddenly started working</p>
<p dir="auto">Thank you Prastle, Beelee and Cernel! :).</p>
]]></description><link>https://forums.triplea-game.org/post/416</link><guid isPermaLink="true">https://forums.triplea-game.org/post/416</guid><dc:creator><![CDATA[Kao]]></dc:creator><pubDate>Tue, 28 Mar 2017 00:41:54 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 22:46:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kao" aria-label="Profile: Kao">@<bdi>Kao</bdi></a></p>
<p dir="auto">Since the developer forum has a history much bigger than its present, instead of waiting for days for answers of dubious value that may or may not arrive, you can just imput what you want, like "unitProduction" or "canProduceXUnits", then click the search button, and you will easily find a lot of answers in a few minutes, as pretty much everything has been discussed, over and over again. For example:</p>
<p dir="auto"><a href="http://tripleadev.1671093.n2.nabble.com/Allow-unlimited-number-of-placements-at-factory-tp7590224p7590253.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://tripleadev.1671093.n2.nabble.com/Allow-unlimited-number-of-placements-at-factory-tp7590224p7590253.html</a><br />
<a href="http://tripleadev.1671093.n2.nabble.com/270BC-updates-can-someone-make-a-relief-image-td7582022i80.html#a7585132" target="_blank" rel="noopener noreferrer nofollow ugc">http://tripleadev.1671093.n2.nabble.com/270BC-updates-can-someone-make-a-relief-image-td7582022i80.html#a7585132</a></p>
<p dir="auto">If that is not your answer, of course, keep searchin / asking.</p>
]]></description><link>https://forums.triplea-game.org/post/411</link><guid isPermaLink="true">https://forums.triplea-game.org/post/411</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Sun, 26 Mar 2017 22:46:02 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 20:38:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kao" aria-label="Profile: Kao">@<bdi>Kao</bdi></a> Hmm...pretty sure there's a way to do it. Did you put "unitProduction" below "production" ? Here's some info from POS2:</p>
<p dir="auto"><em>&lt;!-- Territory Attachments --&gt;<br />
&lt;!-- &lt;option name="unitProduction" value="x"/&gt; must be placed under &lt;option name="production" value="x"/&gt; if it is being used.<br />
This is because a recent update to TripleA had the setting of 'production' automatically set 'unitProduction' to be equal to it.<br />
If you want to set "production" without also setting "unitProduction", then please use "productionOnly"<br />
--&gt;</em></p>
<p dir="auto">Something else you could try is getting rid of "isFactory" and go with "isConstruction".  You have to add the factory stuff separate. So something like this:<br />
*&lt;!-- MilitaryBase --&gt;<br />
&lt;attachment name="unitAttachment" attachTo="MilitaryBase" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType"&gt;<br />
&lt;option name="isInfrastructure" value="true"/&gt;<br />
&lt;option name="canBeDamaged" value="true"/&gt;<br />
&lt;option name="maxDamage" value="6"/&gt;<br />
&lt;option name="maxOperationalDamage" value="2"/&gt;<br />
&lt;option name="isConstruction" value="true"/&gt;<br />
&lt;option name="constructionType" value="MilitaryBase_structure"/&gt;<br />
&lt;option name="constructionsPerTerrPerTypePerTurn" value="1"/&gt;<br />
&lt;option name="maxConstructionsPerTypePerTerr" value="1"/&gt;<br />
&lt;option name="movement" value="0"/&gt;<br />
&lt;option name="isAAforBombingThisUnitOnly" value="true"/&gt;<br />
&lt;option name="unitPlacementRestrictions" value="...</p>
<p dir="auto">then add to unitAttachment to the units that can be built :<br />
<em>&lt;option name="isConstruction" value="true"/&gt;<br />
&lt;option name="constructionType" value="infantry_structure"/&gt;<br />
&lt;option name="constructionsPerTerrPerTypePerTurn" value="10"/&gt;<br />
&lt;option name="maxConstructionsPerTypePerTerr" value="999"/&gt;<br />
&lt;option name="requiresUnits" value="MilitaryBase"/&gt;</em></p>
<p dir="auto">kinda sloppy but should work. I think you need "Unlimited Constructions" on as well.</p>
]]></description><link>https://forums.triplea-game.org/post/410</link><guid isPermaLink="true">https://forums.triplea-game.org/post/410</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Sun, 26 Mar 2017 20:38:55 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 19:15:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kao" aria-label="Profile: Kao">@<bdi>Kao</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/beelee" aria-label="Profile: beelee">@<bdi>beelee</bdi></a>  oh well e for effort been years since i looked.  I  guess ask frost or cernel etc</p>
]]></description><link>https://forums.triplea-game.org/post/409</link><guid isPermaLink="true">https://forums.triplea-game.org/post/409</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Sun, 26 Mar 2017 19:15:20 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 19:12:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/prastle" aria-label="Profile: prastle">@<bdi>prastle</bdi></a> I tried that but didn't work, it appears to work at first but when i click ok It gives me that error "cannot place x more units in &lt;territory&gt; "</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/beelee" aria-label="Profile: beelee">@<bdi>beelee</bdi></a> Tried that as well, didn't work, I always receive the message that I'm buying more than i can place, and never allows me to place more than the territory value, I'm looking at the wiki now to check if I missed something</p>
<p dir="auto">Offtopic, this new forum is amazing, such a pleasant interface.</p>
]]></description><link>https://forums.triplea-game.org/post/408</link><guid isPermaLink="true">https://forums.triplea-game.org/post/408</guid><dc:creator><![CDATA[Kao]]></dc:creator><pubDate>Sun, 26 Mar 2017 19:12:04 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 17:36:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kao" aria-label="Profile: Kao">@<bdi>Kao</bdi></a> Try putting placement restricted by factory to true.<br />
Add &lt;option name="canProduceXunits" value="100"/&gt; to your factory.<br />
Then add &lt;option name="unitProduction" value="100" to a territory in territoryAttachments.<br />
There's probably a way to do it w/out having to do that to all TTys. Idk. But having the "placement restricted by factory"  is set to true it will override "original factory".</p>
<p dir="auto">This is a good place showing all the properties <a href="http://axisandallies.wikia.com/wiki/Category:Properties" target="_blank" rel="noopener noreferrer nofollow ugc">link text</a></p>
]]></description><link>https://forums.triplea-game.org/post/407</link><guid isPermaLink="true">https://forums.triplea-game.org/post/407</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Sun, 26 Mar 2017 17:36:40 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 17:23:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kao" aria-label="Profile: Kao">@<bdi>Kao</bdi></a> change the production value to what u want that territories factory to produce</p>
<p dir="auto">&lt;option name="production" value="0"/&gt;</p>
<p dir="auto">in each ter<br />
of original factories</p>
<p dir="auto">new factories still follow original production rules</p>
]]></description><link>https://forums.triplea-game.org/post/406</link><guid isPermaLink="true">https://forums.triplea-game.org/post/406</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Sun, 26 Mar 2017 17:23:51 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 14:56:05 GMT]]></title><description><![CDATA[<p dir="auto">Thanks guys, but no luck</p>
<p dir="auto">This is what I tried so far that did not work:</p>
<p dir="auto">Rules Attachment:<br />
&lt;option name="placementPerTerritory" value="100"/&gt;<br />
&lt;option name="maxPlacePerTerritory" value="100"/&gt;<br />
&lt;option name="unlimitedProduction" value="true"/&gt;</p>
<p dir="auto">Territory Attachment:<br />
&lt;option name="unitProduction" value="100"/&gt;</p>
<p dir="auto">Property List:<br />
Placement Restricted By Factory = false<br />
Placement Per Territory Restricted = false<br />
Territory Turn Limit = false<br />
Unit Placement Restrictions = false<br />
Production Per Valued Territory Restricted = false</p>
<p dir="auto">But there is a Territory Attachment that almost worked:<br />
&lt;option name="originalFactory" value="true"/&gt;</p>
<p dir="auto">It allowed me to place any number of units there, but the documentation says that only removes the limit for the original owner, if captured the controller can only place the normal amount of units there</p>
<p dir="auto">My intention is to remove the limit for all the players</p>
<p dir="auto">Any more ideas?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forums.triplea-game.org/post/405</link><guid isPermaLink="true">https://forums.triplea-game.org/post/405</guid><dc:creator><![CDATA[Kao]]></dc:creator><pubDate>Sun, 26 Mar 2017 14:56:05 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 00:51:55 GMT]]></title><description><![CDATA[<p dir="auto">yes  its been awhile but if you look at each territory</p>
<p dir="auto">example</p>
<p dir="auto">&lt;!-- Territory Attachments --&gt;</p>
<p dir="auto">-&lt;attachment name="territoryAttachment" javaClass="games.strategy.triplea.attachments.TerritoryAttachment" type="territory" attachTo="Afghanistan"&gt;</p>
<p dir="auto">&lt;option name="production" value="0"/&gt;</p>
<p dir="auto">&lt;option name="isImpassable" value="true"/&gt;</p>
<p dir="auto">&lt;/attachment&gt;</p>
<p dir="auto">the production value = what a factory can produce if there is one there</p>
<p dir="auto">new factories will still follow the ter prod value where they are placed</p>
]]></description><link>https://forums.triplea-game.org/post/399</link><guid isPermaLink="true">https://forums.triplea-game.org/post/399</guid><dc:creator><![CDATA[prastle]]></dc:creator><pubDate>Sun, 26 Mar 2017 00:51:55 GMT</pubDate></item><item><title><![CDATA[Reply to Question about removing unit placement limit on Sun, 26 Mar 2017 00:00:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kao" aria-label="Profile: Kao">@<bdi>Kao</bdi></a> Hi Kao<br />
Go to Territory Attachments and add "unitProduction" value="x" to the territory you want to produce and see if that works. There's also a "canProduceXUnits" value ="X" that you might try as a unitAttachment to your factory.</p>
<p dir="auto">Post back if you still have trouble</p>
]]></description><link>https://forums.triplea-game.org/post/398</link><guid isPermaLink="true">https://forums.triplea-game.org/post/398</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Sun, 26 Mar 2017 00:00:20 GMT</pubDate></item></channel></rss>