Navigation

    TripleA Logo

    TripleA Forum

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

    Terms: unit name vs attribute - Resolved -

    XML Options Browser
    4
    7
    1386
    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.
    • Mahks
      Mahks last edited by Mahks

      There are many references to submarine, transport, carriers etc.

      I think these should be changed to the underlying attribute they really refer to ie:

      • sub > isSub
      • transport > isTransport
      • carrier > having isSea & isTransport (I think)

      There are others...

      General_Zod 1 Reply Last reply Reply Quote 0
      • Frostion
        Frostion Admin last edited by

        Would the definition of a carrier not be "having isSea & carrierCapacity" ? At least as a minimum?

        Mahks 1 Reply Last reply Reply Quote 0
        • Mahks
          Mahks @Frostion last edited by

          @frostion You are correct!

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

            Fighters is another.

            isAir & carrierCapacity I assume?

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

              All air units that can land on carrier would be "isAir & carrierCost" as I recall. I am not looking at unit stats in an XML, but I remember it as carrierCost. I am writing on my phone 🙄

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

                @mahks

                There is no isTransport option. A regular sea transport defining options are transportCapacity and isSea.

                @Frostion is correct on

                @frostion said in Terms: unit name vs attribute:

                All air units that can land on carrier would be "isAir & carrierCost" as I recall. I am not looking at unit stats in an XML, but I remember it as carrierCost. I am writing on my phone 🙄

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

                  @mahks Yeah, generally actual attributes should be referenced not "unit names/types" especially since in many cases units can have multiple (act as both a transport and carrier). Some of the challenge is that some "types" like carrier don't have a single unit option so its annoying to have to refer to something like "isSea & carrierCapacity > 0" rather than saying carrier.

                  Here are some common mappings:

                  • Transport: isSea & transportCapacity > 0
                  • Carrier: isSea & carrierCapacity > 0
                  • Sub: isSub
                  • Land Transport: isLandTransport (can use or not use transportCapacity)
                  • Air Transport: isAirTransport & transportCapacity > 0
                  • Destroyer: isDestroyer
                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums