Navigation

    TripleA Logo

    TripleA Forum

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

    capital - Resolved -

    XML Options Browser
    3
    6
    1360
    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

      Rules says: "All players except for optional players require a capital"

      But in player element the switch "option" (capitol not required) is available.

      So does there still need to be a territoryAttachment for capitol if the player option = false?

      C General_Zod 3 Replies Last reply Reply Quote 0
      • C
        Cernel Moderators @Mahks last edited by

        @mahks Yes, unless anything changed recently, you need to have that true to not have a capital.
        Unless anything changed recently, Easy AI doesn't work (crashes) without capital.
        I've absolutely no idea why that is named so badly / confusing (why optional?) or why that option exists at all, instead of having the engine just handling players with no capital on its own. I've no idea why you would want to be able to set that true or false for a player having 1 or more capitals.
        Also, there are a few instances of "capitol" that should be changed to "capital", as "capitol" I believe is only the skin txt for where the capital flag is exactly located.

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

          @mahks To answer directly, if the player option is false, you need 1 or more capitals. If the player option is true, you can have any number of capitals, thus only adding the possibility of having 0 capitals too (if I remember correctly and nothing has changed recently).

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

            @mahks

            While on topic of capitals/capitols. The playerAttachment has two options for capitals as well.

            retainCapitalNumber   values: means that we do not lose our money if we still control at least this many of our capitals (defaults to 1). If a player has no playerAttachment, then it defaults to X, where X = total number of capitals (ie: you lose your money if a single capital is captured)
            				
            retainCapitalProduceNumber   values: is similar to above, but only affect gaining income and producing units (probably should be less than or equal to retainCapitalNumber)	If a player has no playerAttachment, then it defaults to 1 (ie: you keep collecting and producing units so long as you control at least 1 capital)
            

            Also the territoryAttachment has a isCapital option.

            I only bring it up because it might be cool to make a quick reference or link to other areas that are related from within the right panes. Maybe a section at bottom named "other related links".

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

              @general_zod The link / related thing is already in place. I have not got to playerAttachments yet, that is why those are missing.

              Added isCapital to links, thanks!

              isAir is an example of an object with some related links.

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

                @mahks

                Yep my bad, I saw some without links, then I looked deeper into and see your on top of it. Nice!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums