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

    Terms: unit name vs attribute - Resolved -

    Scheduled Pinned Locked Moved XML Options Browser
    7 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

      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_ZodG 1 Reply Last reply Reply Quote 0
      • FrostionF Offline
        Frostion Admin
        last edited by

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

        Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

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

          @frostion You are correct!

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

            Fighters is another.

            isAir & carrierCapacity I assume?

            redrumR 1 Reply Last reply Reply Quote 0
            • FrostionF Offline
              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 🙄

              Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

              1 Reply Last reply Reply Quote 0
              • General_ZodG Offline
                General_Zod Lobby 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
                • redrumR Offline
                  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

                  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