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

    isCombatTransport - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    8 Posts 4 Posters 2.2k 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
      last edited by Mahks

      isCombatTransport

      • Please confirm this applies only to sea transport.

      • I assume defaults to true?

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Cernel Moderators @Mahks
        last edited by

        @mahks It can be used only for sea units that are transports (they need to have a set transport capacity, that can be 0, just not absent (being able to transport 0 is not the same thing as not being a transport)).
        Everything defaults to false.
        You use this option to exclude specific transports from being affected by properties affecting transports. Practically, this is an option to exempt a property true from applying to the units having the option true.

        Examples are avoiding the specific transport unit to be defenceless or unable to take convoy zones, when those related properties are true. Not sure if there is a full list of all properties for which this option applies (maybe a developer can delve in the code and make the list, to assure not missing any).

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

          OK, thanks.

          But are you 100% on the default being false?

          The standard transport seems to not have this option attached and it can be used as fodder, is that correct?
          If so that would mean it defaults to true.

          There are some options that do default to true, so far I have found: canDieFromReachingMaxDamage, rocketsCanFlyOver, canMoveThroughCanals & canMoveIntoDuringCombatMove. not many but seems I need to check...

          C General_ZodG 2 Replies Last reply Reply Quote 0
          • C Offline
            Cernel Moderators @Mahks
            last edited by

            @mahks All things are default false.
            The default of TripleA is supposed to be v1 (Classic), but this is not 100% consistent.
            As I said, being a transport doesn't limit you by default, but there are a series of properties that do, not only limited to being defenceless.
            I would need a developer to confirm, but I believe this option is useless at default rules (all properties false). It is not that at default you can combat as a transport because that option is default true; you can because transports can, so there is no use in specifying that you can.
            Basically, having "is combat transport" false doesn't mean you are not a transport able to combat; having it true assures that you are.

            Those options that you believe are default true I believe are set true by other options, but I need a developer to confirm this.

            1 Reply Last reply Reply Quote 0
            • General_ZodG Offline
              General_Zod Moderators @Mahks
              last edited by General_Zod

              @mahks

              An example of isCombatTransport is say for a combat cruiser that also can carry units. This option excludes the unit from being treated as a standard transport and to be treated as a combat unit as it applies to following.

              "Ignore Transport In Movement" - applies to standard transports
              "Transport Casualties Restricted" - applies to standard transports
              "Transport Restricted Unload" - applies to isCombatTransport and standard transport (99% sure)

              There might be couple more of transport related items in the propertyList.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Cernel Moderators @General_Zod
                last edited by

                @general_zod I think it is really needed a developer making a full list of all properties influenced by "isCombatTransport".

                General_ZodG 1 Reply Last reply Reply Quote 0
                • General_ZodG Offline
                  General_Zod Moderators @Cernel
                  last edited by

                  @cernel

                  Sure if one decides to look, it would be ideal. But there's no guarantee one will.

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

                    Generally, isCombatTransport makes it so the transport is treated like a normal ship is most/all circumstances that involve battles/movement instead of like transports. Even looking through the code would be difficult to determine exactly which properties it affects and would take some time.

                    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