Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    UHD World War II Global

    Maps & Mods
    7
    51
    6616
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wc_sumpton @beelee last edited by

      @beelee

      Cannot do 'unitPresence' count ="0", as this will always be 'true'. count is equal to or greater than. Have to use invert on count="1" to fund an empty territory.

      Cheers...

      B 1 Reply Last reply Reply Quote 1
      • B
        beelee @wc_sumpton last edited by

        @wc_sumpton

        what is this in reference to ?

        W 1 Reply Last reply Reply Quote 0
        • W
          wc_sumpton @beelee last edited by wc_sumpton

          @beelee

              <attachment name="conditionAttachment_Russians_1_Convoy_Clear" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
                <option name="enemyExclusionTerritories" value="125 Sea Zone" count="1"/>
                <option name="unitPresence" value="battleship:carrier:submarine:destroyer:cruiser" count="0"/>
              </attachment>
          

          Russians will never collect because there will always be 0 or more enemies in 125 Sea Zone, so this will always be false.

          Cheers...

          Just tested, "0" seem to work in this case. Sorry my bad, just disregard what I said.

          Cheers...

          B 1 Reply Last reply Reply Quote 1
          • B
            beelee @wc_sumpton last edited by beelee

            @wc_sumpton

            well something is off. Because i just tested in UHD and didn't show up in the objectives tab but in WWII 2nd edition it does.

            This veqryns code in 2nd edition. Trigger is to the right

            Screenshot from 2025-08-08 16-10-26.png

            I'll have to check UHD but it should be the same unless i don't have BM mod inverted for that trigger

            Edit
            Yea it's not working in UHD but it does in veq's

            Edit 2
            Here's UHD. BM is inverted. I'll check the conditions

            Screenshot from 2025-08-08 16-25-44.png

            Edit 3
            I screwed the condition up

            Screenshot from 2025-08-08 16-28-31.png

            Edit 4
            Probably not noticed as G rarely attacks Turn 1 or 2. I still need to fix it

            Edit 5
            Yea it was a BM thing. Their LL Objectives don't kick in until RD 3.

            I'll have to make another condition for it. Might as well whack those Flags while I'm at it lol. Think that's it for now. Need to check my notes. Might be a placement or two I wanted to change.

            Thank you for bringing that to my attention.

            🙂

            W 1 Reply Last reply Reply Quote 1
            • W
              wc_sumpton @beelee last edited by

              @beelee said in UHD World War II Global:

              I'll have to make another condition for it. Might as well whack those Flags while I'm at it lol. Think that's it for now. Need to check my notes. Might be a placement or two I wanted to change.

              Don't whack those flags, just combine them into a single trigger. The .png are already there. Just delete the renoveUnits/placement stuff to sedate that "Need to" feeling.

              Cheers...

              B 1 Reply Last reply Reply Quote 1
              • B
                beelee @wc_sumpton last edited by

                @wc_sumpton

                Hey Good Idea !

                I really like the "sedate" part 🙂

                W 1 Reply Last reply Reply Quote 1
                • W
                  wc_sumpton last edited by

                  @beelee

                  So, this works:

                  	 <!-- If not Oztea 1941 replace damaged units-->
                      <attachment name="triggerAttachment_41ozInvert_Germans" attachTo="Germans" javaClass="TriggerAttachment" type="player">
                        <option name="conditions" value="41ozInvert"/>
                  		<!-- Damaged battleship not replaced -->
                        <option name="removeUnits" value="118 Sea Zone:battleship"/>
                        <option name="when" value="before:frenchTech"/>
                        <option name="when" value="before:frenchPurchase"/>
                        <option name="uses" value="1"/>
                      </attachment>
                      <attachment name="triggerAttachment_41ozInvert_Italians" attachTo="Italians" javaClass="TriggerAttachment" type="player">
                        <option name="conditions" value="41ozInvert"/>
                        <option name="removeUnits" value="97 Sea Zone:battleship"/>
                        <option name="removeUnits" value="Southern Italy:harbour"/>
                        <option name="placement" value="97 Sea Zone:battleship"/>
                        <option name="placement" value="Southern Italy:harbour"/>
                        <option name="when" value="before:germansTech"/>
                        <option name="when" value="before:germansPurchase"/>
                        <option name="uses" value="1"/>
                      </attachment>
                  
                        <unitPlacement unitType="battleship" territory="118 Sea Zone" quantity="1" owner="Germans" unitDamage="1"/>
                        <unitPlacement unitType="battleship" territory="97 Sea Zone" quantity="1" owner="Italians" unitDamage="1"/>
                        <unitPlacement unitType="airfield" territory="Malta" quantity="1" owner="British" unitDamage="5"/>
                        <unitPlacement unitType="airfield" territory="United Kingdom" quantity="1" owner="British" unitDamage="3"/>
                        <unitPlacement unitType="harbour" territory="United Kingdom" quantity="1" owner="British" unitDamage="3"/>
                        <unitPlacement unitType="factory_major" territory="United Kingdom" quantity="1" owner="British" unitDamage="10"/>
                        <unitPlacement unitType="harbour" territory="Southern Italy" quantity="1" owner="Italians" unitDamage="5"/>
                  

                  Cheers...

                  1 Reply Last reply Reply Quote 1
                  • W
                    wc_sumpton @beelee last edited by

                    @beelee said in UHD World War II Global:

                    I really like the "sedate" part

                    Dr. has pills and I just took mine! 😁

                    Cheers...

                    B 2 Replies Last reply Reply Quote 1
                    • B
                      beelee @wc_sumpton last edited by beelee

                      @wc_sumpton

                      Oh you lucky Dog 🙂

                      My Doctors all anti pain medicine. I have to self medicate 🙂

                      Edit
                      I'll have to look at the above closer. Looks as if we can get Oz to start without edit. Or at least for the Ships. Infrastructure damage probably not.

                      I guess I really should decouple but then you have to maintain multiple repos and anytime anything changes you have to change them all.

                      I thought just having a one click option, only need to DL one map would be easier for the user too.

                      Maybe not 🙂

                      1 Reply Last reply Reply Quote 1
                      • B
                        beelee @wc_sumpton last edited by

                        @wc_sumpton

                        yea so the BB/Bismark in Oz needs to start damaged or with 1 hit. Can't do it with a trigger I don't think. unitPlacement that is.

                        Screenshot from 2025-08-08 22-13-32.png

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          wc_sumpton @beelee last edited by

                          @beelee

                          I used unitPlacement to place the BB/Bismark, the damaged Italian BB at 97 and the damaged structures in London, Malta and Southern Italy. If "Oztea 1941" is not checked, then all damaged units are removed and replaced as needed. Yes, I know that placement cannot place a damaged unit, that is why all damaged units are placed during <unitInitialize>. It just the reverse of having to change the map when "Oztea 1941" is checked.

                          Cheers...

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 3 / 3
                          • First post
                            Last post
                          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums