Subcategories

  • (how to get a) Notification for Trigger with "chance" element

    4
    0 Votes
    4 Posts
    712 Views
    wc_sumptonW
    @ebbe The Switch can be very powerful, Grasshopper! OR May The Switch be with you! Cheers...
  • Constructable Canals

    2
    1 Votes
    2 Posts
    483 Views
    RogerCooperR
    @beornthebold-0 You could create an actual sea zone for the canal, with prohibited entry until a specific unit is built.
  • Start of turn PUs

    Moved
    10
    2 Votes
    10 Posts
    2k Views
    BeorntheBold 0B
    It's actually easy to make this happen. Here is an example in the map file: <step name="AquellaEndTurn" delegate="endTurn" player="Aquella"/> <step name="AquellaUserActions" delegate="userActions" player="Aquella" display="Diplomacy"/> <step name="AquellaPolitics" delegate="politics" player="Aquella"/> <step name="AquellaTech" delegate="tech" player="Aquella"/> <step name="AquellaPurchase" delegate="purchase" player="Aquella"/> <step name="AquellaCombatMove" delegate="move" player="Aquella"/> <step name="AquellaAirborneCombatMove" player="Aquella" display="Airborne Attack Move" delegate="specialCombatMove"/> <step name="AquellaBattle" delegate="battle" player="Aquella"/> <step name="AquellaNonCombatMove" delegate="move" player="Aquella" display="Non Combat Move"/> <step name="AquellaPlace" delegate="place" player="Aquella"/> <step name="AquellaTechActivation" delegate="tech_activation" player="Aquella"/> All I did was change the order of the steps, moving the "endTurn step to the top of the list. It works perfectly. You will have to do it for each player.
  • How to disable automatic elimination of unescorted transports?

    6
    1 Votes
    6 Posts
    983 Views
    wc_sumptonW
    @Jason-Green-Lowe From my understanding "Unescorted Transport Dies" no longer does anything and has been deprecated. Try: <property name="Transport Casualties Restricted" value="false" editable="true"> <boolean/> </property> Leave 'editable' equal to true so that you can change it using "Map Properties" on the main screen. Cheers...
  • Lets make a new Map Making Guide

    14
    1 Votes
    14 Posts
    5k Views
    O
    @thedog thanks for suggesting me
  • Make submarines pass through destroyers?

    8
    1 Votes
    8 Posts
    1k Views
    wc_sumptonW
    @jason-green-lowe If it ends in "xxx...Territories" that is where to look, and count equal to or greater than the number of territories listed to be true. 'direct...Territories', 'allies...Territories' and 'enemy...Territories' take their cues from the 'players' option or 'attachTo' if 'players' is missing (If you use 'players' it is best to add the 'attachTo' player to the list. Some conditions will add 'attachTo', some do not, and those that do clear it out so that there will not be any duplication.). "unitPresence" is what "xxx...Territories" is looking for in each territory listed in "xxx...Territories" value list. The key word here is each, not the group as a whole. PoS2 states that units listed together separated by a colon means "OR", this is incorrect. Colon separated list means cumulative. So in your example you have: <option name="enemyPresenceTerritories" value="@SeaZones@" count="1"/> But there is no "unitPresence" telling "enemyPresenceTerritories" what to look for. PoS2 states: "If missing, then presence needs only 1 of any unit, and excluded needs to be completely devoid of units" Well... I treat "xxx...Territories" like I treat triggers, always have "conditions" and "when". It's not always necessary, but the TripleA engine is very old, and there have been may contributors to the code, that assumptions may not work as desired. So add: <option name="unitPresence" value="ANY" count="1"/> <!-- If you want zero units add invert --> <!-- <option name="invert" value="true"/> --> Hope this helps. Cheers...
  • List of unit options?

    2
    1
    3 Votes
    2 Posts
    828 Views
    TheDogT
    If you have not already. Download the map from High Quality> The Pact of Steel Visit this site when it works http://www.starlords3k.com/XOB.html
  • add image to Politics Pop-up

    1
    4
    1 Votes
    1 Posts
    516 Views
    No one has replied
  • option name="unitPresence" value="Unit" count="0"

    5
    1 Votes
    5 Posts
    861 Views
    ebbeE
    @rogercooper thanks for all feedback: this is the current trick I use.... but I like to free some space in the purchasing panel...
  • Custom Label for Part of a Turn?

    5
    1
    0 Votes
    5 Posts
    841 Views
    Jason Green-LoweJ
    @thedog That's interesting with the serial numbers. I tried changing my code to use serial numbers, but I'm still having the same problem. Any other ideas? @wc_sumpton <delegate name="initDelegate" javaClass="games.strategy.triplea.delegate.InitializationDelegate" display="Initializing Delegates"/> <delegate name="tech" javaClass="games.strategy.triplea.delegate.TechnologyDelegate" display="Research Technology"/> <delegate name="tech_activation" javaClass="games.strategy.triplea.delegate.TechActivationDelegate" display="Activate Technology"/> <delegate name="battle" javaClass="games.strategy.triplea.delegate.BattleDelegate" display="Combat"/> <delegate name="move" javaClass="games.strategy.triplea.delegate.MoveDelegate" display="Combat Move"/> <delegate name="place" javaClass="games.strategy.triplea.delegate.PlaceDelegate" display="Place Units"/> <delegate name="purchase" javaClass="games.strategy.triplea.delegate.PurchaseDelegate" display="Purchase Units"/> <delegate name="endTurn" javaClass="games.strategy.triplea.delegate.EndTurnDelegate" display="Turn Complete"/> <delegate name="endRound" javaClass="games.strategy.triplea.delegate.EndRoundDelegate" display="Round Complete"/> <delegate name="placeBid" javaClass="games.strategy.triplea.delegate.BidPlaceDelegate" display="Bid Placement"/> <delegate name="bid" javaClass="games.strategy.triplea.delegate.BidPurchaseDelegate" display="Bid Purchase"/> <delegate name="politics" javaClass="games.strategy.triplea.delegate.PoliticsDelegate" display="Politics"/> <step name="germansPolitics" delegate="politics" player="Germans"/> <step name="germansTech" delegate="tech" player="Germans"/> <step name="germansPurchase" delegate="purchase" player="Germans"/> <step name="germans0CombatMove" delegate="move" player="Germans"> <stepProperty name="resetUnitStateAtStart" value="true"/> </step> <step name="germans1CombatMove" delegate="move" player="Germans" display="Naval Penetration Move"/> <step name="germansBattle" delegate="battle" player="Germans"/> <step name="germansNonCombatMove" delegate="move" player="Germans" display="Non Combat Move"/> <step name="germansPlace" delegate="place" player="Germans"/> <step name="germansTechActivation" delegate="tech_activation" player="Germans"/> <step name="germansEndTurn" delegate="endTurn" player="Germans"/>
  • 0 Votes
    5 Posts
    907 Views
    Jason Green-LoweJ
    @wc_sumpton Well, yes, I agree that the way I'm creating the feature is far from ideal. I've got a cleanup trigger that resets the canBeMovedThroughByEnemies back to false at the end of each combat move. I would indeed prefer to have a supportAttachment, but my understanding is that those wouldn't work right now with the existing code, and I think tripleA is short enough on developers right now that it's not practical to request special features just for my map. I tried switching from directExclusion to (directPresence + invert), and that did the trick. Thanks again for the help!
  • 1 Votes
    6 Posts
    849 Views
    TheDogT
    Just in case you have you not tried; Game> User Notification> Show Trigger/condition Chance Roll Failure (UnTick) and for Success, but you have to do this manually and for each map. As Ebbe has asked above it would be great if the map maker could set this.
  • Roll a die and activate different triggers based on the result?

    6
    0 Votes
    6 Posts
    1k Views
    Jason Green-LoweJ
    @wc_sumpton Lol, yes, you've found the problem. There's nothing wrong with the code, but I put the enemy ships in Sea Zone 127 while I was testing, instead of Sea Zone 126. If I put the ships in the correct zone, everything works exactly as intended. Anyway, thanks again for all the support.
  • Suicide Units don't fire if not accompanied by non suicide units

    Moved
    7
    0 Votes
    7 Posts
    2k Views
    Jason Green-LoweJ
    @thedog That worked, thanks!
  • Can a condition check a player's total income?

    5
    0 Votes
    5 Posts
    806 Views
    Jason Green-LoweJ
    @wc_sumpton This is great, thanks! I think it will work well.
  • Multiple Objectives Tabs?

    5
    1 Votes
    5 Posts
    1k Views
    Jason Green-LoweJ
    @wc_sumpton Thank you for the suggestion, but unfortunately the only effect seems to be that the single objective tab takes on the last name assigned. So I can rename the tab 'VPs', but I can't get a second tab this way.
  • Can a condition check how many units were built?

    18
    1 Votes
    18 Posts
    2k Views
    wc_sumptonW
    @rogercooper Bloodbath Rules Cheers...
  • Reference the PU Value of a Territory in Triggers?

    19
    0 Votes
    19 Posts
    3k Views
    B
    @jason-green-lowe sweet never seen it on triplea before. Nice job. Look forward to checkin it out
  • How to pass on hits with "whenHitPointsDamagedChangesInto"

    21
    3
    1 Votes
    21 Posts
    5k Views
    ebbeE
    @beelee yes, that is the way it became... if a multi-hit unit is going solo... it is asking for trouble so in this case it is a defensive structure, which makes a bit sense... when all supporting units are down, it will be more vulnerable ....
  • First time making a map

    47
    1
    3 Votes
    47 Posts
    12k Views
    TheDogT
    I assume they are impassable, so I would put them on their own layer. Even if not I think I would put them on their own layer.

Recent Posts

  • @Ramon said:

    -can i make tech dice basically hit every time (so they hit at 1 or higher, basically you pay 20 ipcs for guarenteed tech unlock)

    Hi

    The answer is yes but I can't find an example at the moment. Roger, The Dog or the Master wc will clue you in most likely 🙂

    but it has something to do with "rolls" and "chance' if i remember right.

    From POS2

    Screenshot from 2026-09-18 08-49-37.png

    so something like that

    read more

  • found the marine!

    <option name="isMarine" value="true"/>

    sometimes it can be so easy

    read more

  • @wc_sumpton

    Hi WC!

    Thanks a lot for your time and effort!

    If i understand correctly you can basically give conscripts 1 attack, and make every unit (except trenches) debuff them with 1?

    I have 2 more questions:

    -can i make tech dice basically hit every time (so they hit at 1 or higher, basically you pay 20 ipcs for guarenteed tech unlock)
    -for a unit such as a marine can i give it +1 amphibious attack?

    ~Ramon

    read more

  • @Ramon said:

    Is there a mechanic or attachment that allows a 0 attack unit to destroy a 0 defense construction?

    The "trench", a 0 defense construction unit, could give the "conscript", a 0 attack unit, a plus 1 attack using support attachments. The problem with this is that the support should be applied only when the "trench" is defending and only the "conscript" is attacking.

    <attachment name="supportAttachment_Trench" attachTo="trench" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="enemy"/> <option name="unitType" value="conscript"/> <option name="side" value="defence"/> <option name="dice" value="strength"/> <option name="bonus" value="1"/> <option name="number" value="1"/> <option name="bonusType" value="Trench"/> <option name="players" value="$All-Players$"/> </attachment>

    To do this a plus and minus support attachment would have to be created for every attacking/defending land unit to create a counter to the "trench".

    <attachment name="supportAttachment_InfantryAttack" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="allied"/> <option name="unitType" value="conscript"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="1"/> <option name="number" value="-1"/> <!-- All positive supports are "Trench" --> <option name="bonusType" value="Trench"/> <option name="players" value="$All-Players$"/> </attachment> <attachment name="supportAttachment_InfantryAttackDebuf" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="allied"/> <option name="unitType" value="conscript"/> <option name="side" value="offence"/> <option name="dice" value="strength"/> <option name="bonus" value="-1"/> <option name="number" value="-1"/> <!-- All negative supports are "Debuf" --> <option name="bonusType" value="Debuf"/> <option name="players" value="$All-Players$"/> </attachment> <attachment name="supportAttachment_InfantryDefend" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="enemy"/> <option name="unitType" value="conscript"/> <option name="side" value="defence"/> <option name="dice" value="strength"/> <option name="bonus" value="1"/> <option name="number" value="-1"/> <!-- All positive supports are "Trench" --> <option name="bonusType" value="Trench"/> <option name="players" value="$All-Players$"/> </attachment> <attachment name="supportAttachment_InfantryDefendDebuf" attachTo="infantry" javaClass="UnitSupportAttachment" type="unitType"> <option name="faction" value="enemy"/> <option name="unitType" value="conscript"/> <option name="side" value="defence"/> <option name="dice" value="strength"/> <option name="bonus" value="-1"/> <option name="number" value="-1"/> <!-- All negative supports are "Debuf" --> <option name="bonusType" value="Debuf"/> <option name="players" value="$All-Players$"/> </attachment>

    It can get slightly complicated.

    Cheers...

    read more