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

    AA Question

    Scheduled Pinned Locked Moved Map Making
    30 Posts 6 Posters 11.7k Views 6 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 Online
      beelee @Hepps
      last edited by beelee

      @hepps wow sweet hepps ! I messed around with it a little last night and then went back to the test game as Germany and Russia are in a total Bloodbath at the moment. : )

      The subs seem a little too powerful being unblocked, although I haven't tried a massive sub spam yet. Thinking that at least have some risk involved when they cruise by DDs.

      Far Out ! Thanks for testing it out

      One thing though was I couldn't make a sub "isSub" and "isAir". Would you mind showing how you did that ?

      HeppsH 1 Reply Last reply Reply Quote 0
      • HeppsH Offline
        Hepps Moderators @beelee
        last edited by Hepps

        @beelee You don't have to change the subs. It works beautifully with them as they are.

        All you have to do is set the DD to have an AA strike on the subs....and then set the "isAAforflyover" to true.

        "A joyous heart sours with the burden of expectation"
        Hepster

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

          @hepps so just need to give the DD the option "isAAforflyover" like subs have then ? This is what I currently have:

          <attachment name="unitAttachment" attachTo="destroyerC5" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
          <option name="movement" value="2"/>
          <option name="isSea" value="true"/>
          <option name="attack" value="1"/>
          <option name="defense" value="1"/>
          <option name="isAAforCombatOnly" value="true"/>
          <option name="mayOverStackAA" value="true"/>
          <option name="offensiveAttackAA" value="1"/>
          <option name="attackAA" value="1"/>
          <option name="maxAAattacks" value="1"/>
          <option name="targetsAA" value="submarine"/>
          <option name="typeAA" value="Destroyer Depth Charge"/>
          <option name="isDestroyer" value="false"/>
          <option name="blockade" value="1"/>
          <option name="canBeGivenByTerritoryTo" value="Americans:French:British:ANZAC:Chinese:Russians:Germans:Italians:Japanese"/>
          </attachment>

          Shit that would be too easy ! Gonna give it a go : )

          1 Reply Last reply Reply Quote 0
          • HeppsH Offline
            Hepps Moderators
            last edited by

            Looks good. Worked for me.

            "A joyous heart sours with the burden of expectation"
            Hepster

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

              @hepps F yea ! Thanks man !

              HeppsH 1 Reply Last reply Reply Quote 0
              • HeppsH Offline
                Hepps Moderators @beelee
                last edited by

                @beelee Just out of curiosity... what Mod is this going into?

                "A joyous heart sours with the burden of expectation"
                Hepster

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

                  @hepps it's a house rules mod for the global game. Have a pile of house rules that are activated by tech. Give people some more options.

                  Hey man this works Great ! One thing I noticed is if subs don't all attack together in the same move, the DD gets more than one shot. I think that's ok though as attacking together could simulate wolfpack mode.

                  Also I need to get rid of some of the other AA stuff for the DD so it doesn't get to shoot again before the battle, but that should be no big deal. At least i hope so : )

                  Still not sure if massive sub spam will break it but for a casual player it should be fine. Gives another option compared to the one DD shutting everything down

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

                    @beelee I changed the "isAAforCombatOnly" for DDs to false and now DDs only fire their AA once. Not sure why it works that way but just in case anyone wanted to know.

                    Gotta check and see if this affects any of the other AA units, Tacs depth charge subs too and BB and CAs shoot at planes, but I think it's gonna work ok

                    HeppsH 1 Reply Last reply Reply Quote 0
                    • HeppsH Offline
                      Hepps Moderators @beelee
                      last edited by Hepps

                      @beelee said in AA Question:

                      @beelee I changed the "isAAforCombatOnly" for DDs to false and now DDs only fire their AA once. Not sure why it works that way but just in case anyone wanted to know.

                      Gotta check and see if this affects any of the other AA units, Tacs depth charge subs too and BB and CAs shoot at planes, but I think it's gonna work ok

                      It won't. It will only control the AA ability of the DD in relation to the specifications you set for the DD. It will not have any affect on any other AA abilities unless you have used the same name for the AA ability in other units.

                      As long as you use a unique name for every units AA ability they will operate independently of one another.

                      "A joyous heart sours with the burden of expectation"
                      Hepster

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

                        @hepps right on that's what I thought. Now i have to start the test game over again : )

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

                          @beelee well fooey. Did some more pre game testing and while the DD behaves correctly on defense, the sub can submerge before it's AA shot on attack. Which we can't have. Don't see any way around that though.

                          So the DD is going to get two AA shots at the sub on defense. One in movement, the other in combat, to go along with it's regular combat shot. Which makes it too powerful. i think the only solution will be to up the price.

                          Anyway, I'm stoked that it can do what it does. Think it'll still be better than it was. Hmm...something I haven't tried yet was attackAAmaxDieSides. Don't know if you can set the offense and defense different, but it looks as if maybe you can. Could make the AA shot weaker on defense that way while leaving it the same on offense.

                          Ooops ! I'm rambling. Sorry : )

                          HeppsH 1 Reply Last reply Reply Quote 0
                          • HeppsH Offline
                            Hepps Moderators @beelee
                            last edited by

                            @beelee You can

                            "A joyous heart sours with the burden of expectation"
                            Hepster

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

                              @hepps heh heh : )
                              well having different dice sides for defense and offense seems to work. It was hitting at 1 out of 6 so i made it 1 out of 12 since it's getting 2 shots.

                              My limited understanding says this should be the same probability of a hit, but I'm not completely sure about that.

                              Anyway...Rock on : )

                              Edit yea I thought my math was flawed. Here's a couple cool sites that explain and compute it in case anyone is interested:

                              http://www.edcollins.com/backgammon/diceprob.htm

                              http://www.geteasysolution.com/44-is-what-percent-of-144

                              Still wasn't able to do exactly what I wanted but it came out pretty close. Ended up with two shots at a 1 in 10 on which gives the DD a 19% chance of a hit as opposed to 16.7% with a 1 in 6 and also gives it a 10% chance of a hit when the sub tries to sneak by

                              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
                              • 2 / 2
                              • First post
                                Last post
                              Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums