Subcategories

  • Unit Options

    5
    0 Votes
    5 Posts
    892 Views
    RogerCooperR
    @gabegolfer Air units not being able to capture territory or land at sea is foundational in TripleA. You could try making all areas 'land' areas and use terrain effects to prevent land units to moving to 'sea' areas.
  • Map Territories not the color of their Owner

    2
    1
    0 Votes
    2 Posts
    454 Views
    wc_sumptonW
    @gabegolfer One thing that can cause this is the reliefTiles images are opaque. If you are using reliefTiles they should be set to about 50% transparent to allow color to show through. This is just a guess. Cheers...
  • Using triggers to add units with options

    1
    2 Votes
    1 Posts
    758 Views
    No one has replied
  • Neutral joins opposing alliance

    2
    0 Votes
    2 Posts
    500 Views
    B
    Hi @andrewthree This is from World War II Global 1940 2nd Edition <attachment name="conditionAttachment_False" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="switch" value="false"/> </attachment> This still a little confusing to me how it all works but basically the "conditionAttachmentFalse" acts as an on/off switch. It's attached to the "Germans" who go first, so I guess try attaching it to the first player in WAW for starters. <attachment name="conditionAttachment_Mongolia_May_Change_To_Russians_Control_Switch" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="conditions" value="conditionAttachment_Mongolia_Not_At_War_With_Allies"/> <option name="switch" value="true"/> </attachment> I didn't list the condition for this one but "conditionAttachment_Mongolia_May_Change_To_Russians_Control_Switch" means if the Allies aren't at war with Mongolia it can be activated when it's conditions are met. <attachment name="conditionAttachment_Russians_Conquer_Japanese_Territory_By_Mongolia" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="battle" value="Russians:Japanese:any:currentRound:Manchuria:Jehol:Chahar:Suiyuyan:Kansu:Korea"/> </attachment> This does it a little different than what you have. "battle" means those territories just need to be attacked. Doesn't need to be conquered. <attachment name="triggerAttachment_Russians_Conquer_Japanese_Territory_By_Mongolia" attachTo="Russians" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment_Russians_Conquer_Japanese_Territory_By_Mongolia"/> <option name="when" value="after:russiansBattle"/> <option name="uses" value="1"/> <option name="players" value="Russians"/> <option name="playerAttachmentName" value="RulesAttachment" count="conditionAttachment_Mongolia_May_Change_To_Russians_Control_Switch"/> <option name="playerProperty" value="switch" count="false"/> </attachment> This part is still a bit confusing as well for me but I think <option name="playerAttachmentName" value="RulesAttachment" activates the first switch "conditionAttachment_False" if conditionAttachment_Russians_Conquer_Japanese_Territory_By_Mongolia" is true. <attachment name="triggerAttachment_Japanese_Conquer_Russians_Territory_By_Mongolia_2" attachTo="Japanese" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment_False"/> <option name="when" value="before:japaneseNonCombatMove"/> <option name="uses" value="1"/> <option name="changeOwnership" value="Olgiy:Mongolians:Russians:true"/> <option name="changeOwnership" value="Dzavhan:Mongolians:Russians:true"/> <option name="changeOwnership" value="Tsagaan Olom:Mongolians:Russians:true"/> <option name="changeOwnership" value="Central Mongolia:Mongolians:Russians:true"/> <option name="changeOwnership" value="Buyant-Uhaa:Mongolians:Russians:true"/> <option name="changeOwnership" value="Ulaanbaatar:Mongolians:Russians:true"/> </attachment> So now that "conditionAttachment_False" is activated, the trigger changes Ownership. <attachment name="triggerAttachment_Japanese_Conquer_Russians_Territory_By_Mongolia_3" attachTo="Russians" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment_Japanese_Conquer_Russians_Territory_By_Mongolia"/> <option name="when" value="after:japaneseNonCombatMove"/> <option name="uses" value="1"/> <option name="removeUnits" value="Ulaanbaatar:infantry" count="1"/> <option name="removeUnits" value="Buyant-Uhaa:infantry" count="2"/> <option name="removeUnits" value="Olgiy:infantry" count="2"/> <option name="removeUnits" value="Dzavhan:infantry" count="1"/> <option name="placement" value="Ulaanbaatar:Russian_infantry" count="1"/> <option name="placement" value="Buyant-Uhaa:Russian_infantry" count="2"/> <option name="placement" value="Olgiy:Russian_infantry" count="2"/> <option name="placement" value="Dzavhan:Russian_infantry" count="1"/> </attachment> And now they change units. Also you want to use "conditions" not "trigger" for <option name="trigger" At any rate, what this all means is, if Mongolia is not at war with the Allies and Japan attacks one of the listed Territories, Mongolia will turn into Russian Territories and units. Hope it's not oo confusing. I think I confused myself already
  • What all does the end turn delagate do?

    1
    1 Votes
    1 Posts
    387 Views
    No one has replied
  • Multiple tabs for user actions

    3
    0 Votes
    3 Posts
    639 Views
    F
    @beelee I saw it in a map from 1.8. edit now that I am on my PC, it was war of the relic.
  • new production unit - barracks

    Moved
    84
    1 Votes
    84 Posts
    36k Views
    B
    @Numetalfan Sweet !
  • ad a new sea zone to an existing map

    46
    0 Votes
    46 Posts
    8k Views
    N
    polygon grabber solved the porblems - this problem is solved ! thx @all
  • how does chooseBestRoll work?

    4
    0 Votes
    4 Posts
    774 Views
    RogerCooperR
    @beelee That property name should probably be changed to something like "Use Multiple Combat Rolls for Best".
  • How can I change unit properties with game options?

    13
    0 Votes
    13 Posts
    3k Views
    LaFayetteL
    FWIW, being able to specify unit stats at the start of a game is something I've wanted to build in for some time. Having to do triggers to get the same effect is clearly a workaround, so I'm sorry you're having to go through that pain. Hopefully some time in 2021 this will be a built in feature.
  • Trouble getting reliefTiles images to appear in the game

    9
    4
    0 Votes
    9 Posts
    2k Views
    B
    @Jason-Green-Lowe said The NullPointerException went away on its own. Don't know why, but I'll take it! I like it when things fix themselves
  • Createsunitslist at another stage of turn?

    1
    1 Votes
    1 Posts
    366 Views
    No one has replied
  • changing support attachments with triggers

    8
    0 Votes
    8 Posts
    1k Views
    B
    @ff03k64 heh heh was just gonna say that I didn't think you could do both unit attachment and support in one trigger. But you figured out Right on I like a success story
  • China Rules for Other Countries

    5
    0 Votes
    5 Posts
    754 Views
    RogerCooperR
    @beelee I didn't need a capital at all.
  • Move Game notes to its own file?

    Moved
    12
    5 Votes
    12 Posts
    5k Views
    LaFayetteL
    One challenge is having a mechanism to associate a game notes file with the game file. Having the two files with matching names and the notes file being suffixed with '-notes.html' might be easy enough. For example: world_at_war.xml world_at_war-notes.html
  • xml editing (POS2) documentation

    10
    0 Votes
    10 Posts
    1k Views
    LaFayetteL
    @Panther the two HTML files are now updated to be MD, they'll render now.
  • User action bug? or is this working as intended?

    3
    0 Votes
    3 Posts
    597 Views
    F
    @wc_sumpton I don't think that is the problem. I am basing this off of other maps that have fully functional user actions, and they don't have conditions in the activated triggers. This text change is also the only thing that isn't working correctly in those triggers. It seems like it is firing the trigger and making the change, and then calling the text to display, after it has changed it. As i read what I am typing, it doesn't seem like it is as clear as it could be, so please ask questions if it isn't clear.
  • Non AA target groups names

    1
    1
    1 Votes
    1 Posts
    443 Views
    No one has replied
  • User actions question

    1
    0 Votes
    1 Posts
    449 Views
    No one has replied
  • Allow Blockades in All Sea Zones?

    7
    0 Votes
    7 Posts
    1k Views
    LaFayetteL
    Ah, just saw the responses : ) The variable route would work, you are still duplicating the territory names, but at least it's more concise.

Recent Posts

  • @Ramon said:

    As i understand it, this should make each sea zone worth 1 PU? That doesn't seem to happen in my map, so im wondering if this might be related to the issue?

    This is a condition statement and is checking if player owns a sea zone.

    Cheers...

    read more

  • @Ramon

    For a new TTy you will need the correct xml info and then do the centers poly thing as well as drawing the new TTy.

    I forget the specifics but I'd pick a TTy and follow it through the xml adding the new name next to it. You can add the connections later but it shouldn't hurt to do it now either.

    Once the xml is up to date, follow Elk's guide step by step. @thedog probably more up to date on it than I 🙂

    If need be, we'll bring in reinforcements if you get stuck 🙂

    read more

  • Hi, @TheDog

    I noticed the top line:

    <attachment foreach="$All-Players$^$All-SZ$" name="conditionAttachment_SZ_@All-Players@_@All-SZ@" attachTo="@All-Players@" javaClass="RulesAttachment" type="player">
    <option name="DirectOwnershipTerritories" value="@All-SZ@" count="1"/>
    </attachment>

    As i understand it, this should make each sea zone worth 1 PU? That doesn't seem to happen in my map, so im wondering if this might be related to the issue?

    I dont know honestly, but thanks for all the help! Let me know if you somehow find a fix!

    Another question regarding map creater tool.

    I'm editing a map right now (domination 1914 NML).

    and following this guide: https://forums.triplea-game.org/topic/3432/a-brief-guide-to-the-map-creator-tools-utilities

    Splitting territories in two has worked for me, but creating new territories (islands as example) works differently? I cant get it to work, i assume its different from dividing excisting territories but how does this work?

    Same goes for sea zones, does that also work different?

    Thank you!

    read more

  • @ramon

    I think the condition that activates the trigger/condition has to come before the trigger/condition.

    Also, other things will still work but depending on where they're listed, will affect how they show up in the purchase window for example.

    Support attachments as well but I don't remember the specifics. WC clued me in on it. I need to look it up again.

    read more