TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    possible to adjust piece values before game?

    Scheduled Pinned Locked Moved Player Help
    33 Posts 4 Posters 10.6k Views 3 Watching
    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.
    • B Offline
      beelee @The_Good_Captain
      last edited by

      @the_good_captain This is one of those yes and no answers. 🙂 The actual change is easy but you need to edit the xml in the games folder, which is inside the specific map, which is inside downloadedMaps, which is inside your triplea folder.

      Then, if you want it made available to everyone, you need to join git, clone the map in "triplea-maps", make a pull request for it.

      So for the easy part, you'd just change it here:

      <attachment name="unitAttachment" attachTo="transport" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
      <option name="movement" value="2"/>
      <option name="isSea" value="true"/>
      <option name="transportCapacity" value="8"/>
      <option name="attack" value="0"/>
      <option name="defense" value="0"/>
      <option name="canBeGivenByTerritoryTo" value="British"/>
      </attachment>

      The hard part will take a while to figure out. Also, you may want to double check with @Panther on the rules. Not doubting you, just wondering if there's a reason for keeping it as is.

      1 Reply Last reply Reply Quote 1
      • T Offline
        The_Good_Captain
        last edited by

        @beelee uh, much appreciated but its not clear to me what to do with that even still. Is there a place where a lay-person can make this request that has a chance of being picked up by a dev?

        (i got as far as the proper folder, not sure of anything past the "<")

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

          @the_good_captain yea so when you open the folder in "downloadedMaps" it'll look like this:

          Screenshot from 2021-05-24 01-47-46.png

          then open "map" then "games". Now use the editor of your choice, think most people use notepad++, and search for

          "unitAttachment" attachTo="transport"

          This is where you change <option name="defense" value="0"/> to <option name="defense" value="1"/>

          Now transport defends at 1. If you want to learn how to do the process at git, I can help you through it. If you're not into it, I can do it. I just want to double check with Panther before changing anything.

          Edit
          Actually, it's probably best to just make a "Map Option" as some people are probably used to playing the way it currently is. You can then just make one click before starting the game.

          T 1 Reply Last reply Reply Quote 0
          • PantherP Offline
            Panther Admin Moderators @The_Good_Captain
            last edited by

            @the_good_captain said in possible to adjust piece values before game?:

            In the map "Europe - Alpha v3" (the original Europe from 2000) destroyers offshore bombard erroneously on a "3". This should be a "2". Is there a quick fix for his for gamers?

            This variant follows v3 rules so Destroyers should not be allowed to offshore bombard at all. Cruisers do that instead.

            Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

            T 1 Reply Last reply Reply Quote 1
            • T Offline
              The_Good_Captain @Panther
              last edited by

              @panther I meant "Europe - Alpha", my bad. The other issue with "Europe - Alpha" (and in this case the "v3" version as well) is that the UK collects the Middle East income when it should not.

              1 Reply Last reply Reply Quote 0
              • T Offline
                The_Good_Captain @beelee
                last edited by

                @beelee I really really appreciate the help but I'm just not an editor and can't do much with the file beyond right clicking at it and trying to select "open with" which I could not do in this case.

                citation for the transport defense at "1" in Pacific: Page 29, https://axisallies.com/wp-content/uploads/2014/05/axis-allies-rules-pacific.pdf

                citation for the destroyer offshore in Europe being a 2 and not a 3: https://axisallies.com/wp-content/uploads/2014/08/axis-allies-rules-europe-updates.pdf

                citation for the Middle East income not being assigned to the UK in Europe: page 19, https://axisallies.com/wp-content/uploads/2014/08/axis-allies-rules-europe.pdf

                1 Reply Last reply Reply Quote 2
                • PantherP Offline
                  Panther Admin Moderators @The_Good_Captain
                  last edited by Panther

                  @the_good_captain said in possible to adjust piece values before game?:

                  In the map "Europe - Alpha v3" (the original Europe from 2000) destroyers offshore bombard erroneously on a "3". This should be a "2". Is there a quick fix for his for gamers?

                  @the_good_captain said in possible to adjust piece values before game?:

                  I meant "Europe - Alpha", my bad. The other issue with "Europe - Alpha" (and in this case the "v3" version as well) is that the UK collects the Middle East income when it should not.

                  Likely the designer of the TripleA variant did not incorporate the FAQ-change that reduced the '3' from the original rulebook to a '2'. I suppose that this map has been more or less abandoned for a long time. The wording "Alpha" indicates that, too.

                  Concerning "Middle East" you can read from the game notes:
                  "Middle East capturing of PUs directly from Allies (instead of from bank) is Not Yet Supported! Please use edit mode to delete UK and/or USA pus."
                  So - not being a developer myself - I guess that implementing this more complex rule might not be possible by a simple manual edit of the xml - but maybe needs some engine code work.

                  Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

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

                    @panther said in possible to adjust piece values before game?:

                    ... I suppose that this map has been more or less abandoned for a long time. ...

                    Yea I doubt it sees a lot of use. I'll go ahead and hard wire the changes and not worry about a map option.

                    @The_Good_Captain so trprt D1 for the Pacific and DD bombard @ 2 for europe v3 no CA bombard ? Is that where were at ?

                    PantherP 1 Reply Last reply Reply Quote 0
                    • PantherP Offline
                      Panther Admin Moderators @beelee
                      last edited by

                      @beelee said in possible to adjust piece values before game?:

                      DD bombard @ 2 for europe v3 no CA bombard

                      No... not for the v3 variant, but for the standard variant instead, see
                      https://forums.triplea-game.org/post/50192 above.

                      Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

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

                        @panther ok got it. @The_Good_Captain Does SBR work correctly ? It says not supported in game notes.

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          The_Good_Captain @beelee
                          last edited by The_Good_Captain

                          @beelee SBR does not work correctly.

                          SBR in Europe and Pacific ...and (for that matter) as an optional rule in both anniversary versions in TripleA are not in accordance with the oob rules (or in the case of anniversary, the official errata).

                          In all four the process is as follows:

                          1. defender declares if he will launch interceptors
                          2. Defending AA guns fire at ALL attacking escorts/bombers. (hits are assigned by owning players choice)
                          3. surviving ESCORTS fire at any interceptors in one round of combat - only 1's are counted as hits
                          4. interceptors (even those that were hit) now return fire - 2 or less counted as hits.
                          5. surviving bombers conduct SBR...

                          I can cite all the sources and post on request and if you need Panthers blessing, I totally understand but this might save us all some time: https://www.axisandallies.org/forums/topic/36776/anniversary-errata-optional-rule-escorts-and-interceptors

                          Beelee if you fix SBR and the IJN transports in Pacific, I will make a legit donation in appreciation. I run a youtube channel on AnA strategies for serious players that is heavily dependent on experience acquired using the TripleA platform against live opponents. I am very strict on using oob rules though in order to evaluate the game as it was designed.

                          In a few months I intend to take this channel into strategies for the original Europe and Pacific games and TripleA is vital to that endeavor. In other words, I understand not many are playing this now but I will likely be running several games at once on the forums with different opponents and so I came here to see if I could get them tuned up.

                          I will give a shout-out prior to the release of that series of videos and ask my audience to donate to TripleA at that time if these fixes can be made.

                          As a side note - I don't feel I'm just someone shouting from the sidelines. I have created digital map downloads on the .org website for Classic, Revised, Europe and Pacific when none existed before. I just have to draw the line somewhere with regards to spending my time in this hobby and its gotta be at dabbling in TripleA dev-manship. I think dialing these versions in would/will be well worth the effort. Thanks ahead of time for any work done on this project's behalf. I really appreciate you and Panther and everyone else doing the upkeep on this platform.

                          Respectfully,
                          TGC

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

                            @the_good_captain yea no worries captain. I think were all on the same page.

                            What I meant by the SBR's was, ( which I wasn't very clear 🙂 ) should I make it how Global 40 does it ?

                            Cool you got stuff going on using triplea. Lots of Cool People here. Probably be a day or two before I get to it.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              The_Good_Captain
                              last edited by The_Good_Captain

                              @beelee unfortunately, SBR here is not the SBR of the global 40 version. In fact, I don't know of a TripleA module where this could be "dragged and dropped" into play.

                              In the fewest amount of words (from the errata for Anniversary - which applies exactly to Europe and Pacific):

                              "Fighter Escorts and Interceptors
                              Fighters can participate in strategic bombing raids. Attacking fighters may escort and protect the bombers, and they can originate from any territory, range permitting. Any or all defending fighters based in a territory that is strategically bombed can participate in the defense of the industrial complex. The number of fighters that will defend is decided after the attacker's Combat Movement phase is completed and before the Combat phase begins. After antiaircraft fire is resolved against the attacking air units, if there are any defending fighters an air battle occurs between the attacking and defending air units. This combat is resolved in the same way as a normal combat, with a few exceptions. The fighters have an attack value of 1 (2 if the attacker has the Jet Power research breakthrough) and a defense value of 2, and the bombers have no attack value. In addition, the combat lasts for only one round. After the battle, any surviving bombers proceed to carry out the raid as normal. Fighters participating as either an escort or a defender cannot participate in other battles during that turn. Defending interceptors must return to their original territory. If that territory is captured, the fighters may move one space to land in a friendly territory or on a friendly aircraft carrier. This movement occurs after all of the attacker's combats have been resolved and before the attacker's Noncombat Move phase begins. If no such landing space is available, the fighters are lost."

                              Otherwise, I have been getting around this issue by using independent dice rolling servers to resolve declared SBRs and just not moving the pieces in TripleA. We edit in the results since SBR is usually resolved first anyway.

                              P.S. I really appreciate everything my dude. If I can help you out in any way esp. with any AnA projects, please don't hesitate to ask.

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

                                @the_good_captain right on. So the factories firing their AA guns before air battle seems the only difference. Or at least the biggest one. Do the factories have built in AA guns ? Or do you fire an actual AA gun ?

                                Probably doesn't matter for what I'm thinking, but, if I make the factories non "isFactory", which means I can then make the AA fire before the air battle, I think we'd be there.

                                Not a 100% certain and I need to take a closer look, but if that's the case, might be able to make it happen.

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

                                  @beelee actually, on second thought, I don't think that'll work. I think the SBR will take place before any other combat the way triplea does it. I can't remember. I'll have to check.

                                  But, you could roll for AA fire in the dice roller, adjust accordingly, then start your combat move and the factories will just have no AA shots. Can still do the Air battle that way.

                                  At any rate, I'll look at it closer when I dive into it.

                                  T 1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    The_Good_Captain @beelee
                                    last edited by The_Good_Captain

                                    @beelee sounds legit. Factories have no AA in these versions. The AAs in all these are the "neutral", capturable piece. If there is no AA present, it goes straight to any interceptor battle instead. If there is no interceptor battle, the bombers rolls a d6 and the bombed country immediately pays that to the bank. There are no damage tokens, the money comes straight out of that powers current IPC (exception: in annivesary, there are damage tokens)

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

                                      @the_good_captain
                                      So when I updated Pacific to trprt D1 it deleted all the Australian units. Which is not desirable I would think. I'll have to add them in manually since triplea deleted them.

                                      Take a little longer

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        The_Good_Captain
                                        last edited by

                                        @beelee thanks again for doing this my friend. I am really excited. Just made a donation. 😃

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

                                          @the_good_captain made a pull request for the "Pacific". Will take a look at Europe a bit later.

                                          1 Reply Last reply Reply Quote 1
                                          • B Offline
                                            beelee
                                            last edited by

                                            Trying to get Fighters to escort. Changed <property name="WW2V2" value="true" to "WW2V3". Didn't work. Probably cause other problems as well but just trying to see how escorts work for now.

                                            Tried adding this one

                                            <property name="Airborne Attacks Only In Existing Battles" value="true" editable="false">
                                            <boolean/>

                                            no go.

                                            Fighter has:
                                            <option name="canAirBattle" value="true"/>
                                            <option name="canIntercept" value="true"/>
                                            <option name="canEscort" value="true"/>
                                            <option name="airDefense" value="2"/>
                                            <option name="airAttack" value="1"/>

                                            Gave Bomber canAirBattle too with A0 D0. No joy though.

                                            @wc_sumpton or anyone, how do I make the ftrs escort ?

                                            Thanks

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums