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

    transportCost - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    14 Posts 4 Posters 3.9k Views 4 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.
    • MahksM Offline
      Mahks @prastle
      last edited by

      @prastle But it does not apply to sea transport, as we have carrierCost for that, correct?

      prastleP 1 Reply Last reply Reply Quote 0
      • prastleP Offline
        prastle Moderators Admin @Mahks
        last edited by

        @mahks anything that transports should have transport costs. Thus why in old with super carriers you could land a bomber on a carrier if ya wished
        3 fighters or 1 bomber 1 fighter
        it all depends how you write it. Lebowskies Hearts of Iron 2 did that if I recall correctly.

        If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

        prastleP 1 Reply Last reply Reply Quote 0
        • prastleP Offline
          prastle Moderators Admin @prastle
          last edited by

          @prastle to extrapolate further you could theoretically make a tank is air transportable with a super strato fortress 🙂
          or Russian equivalent for a new era map 🙂

          If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

          1 Reply Last reply Reply Quote 0
          • MahksM Offline
            Mahks
            last edited by

            OK, so all I need now is the answer to the default question:

            What happens if isLandTransportable is true but transportCost is not set (no attachment) ? does it error or does transportCost have a default value?

            prastleP 1 Reply Last reply Reply Quote 0
            • prastleP Offline
              prastle Moderators Admin @Mahks
              last edited by

              @mahks nidea test it out

              If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

              1 Reply Last reply Reply Quote 0
              • MahksM Offline
                Mahks
                last edited by

                So I should do all the documenting and do the testing too? 😛

                prastleP 1 Reply Last reply Reply Quote 1
                • prastleP Offline
                  prastle Moderators Admin @Mahks
                  last edited by

                  @mahks hehe gd point 🙂

                  If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                  1 Reply Last reply Reply Quote 0
                  • MahksM Offline
                    Mahks
                    last edited by

                    Not to mention all this documenting is cutting into my playing time! Grrr Oh where have my priories gone?

                    B redrumR 2 Replies Last reply Reply Quote 0
                    • B Offline
                      beelee @Mahks
                      last edited by

                      @mahks I can't test anything till next week. I'll give it a go then if still needed

                      1 Reply Last reply Reply Quote 1
                      • redrumR Offline
                        redrum Admin @Mahks
                        last edited by

                        @mahks So "isLandTransport" is a bit unique and here is the excerpt from POS2 XML:

                        isLandTransport		values: allows the unit to transport "isLandTransportable" on a one-to-one basis, if you have the mechanizedInfantry technology. If "transportCapacity" is set then use "transportCost" and be able to transport multiple units just like sea transports														
                        

                        So essentially land transports can work in 2 different ways:

                        1. Just like sea/air transports using transportCapacity and transpostCost. Example is Total World War.
                        2. If "transportCapacity" is not specified on the "isLandTransport" unit then the land transport can transport any "1" unit that has "isLandTransportable" option (ignores any transportCost and can't transport more than 1 unit per land transport). Example is Global 1940 Second Edition.

                        TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

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