Navigation

    TripleA Logo

    TripleA Forum

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

    canalAttachment - Resolved -

    XML Options Browser
    4
    10
    1546
    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

      POS2 says "...attached to the connected sea (or land) zones."

      Does this mean you can have a "canal" that connects 2 territories? (non standard map?)

      It also says "...need identical attachments attached to the 2 sea zones involved"
      seeming to indicate they must be sea zones.

      Also :
      excludedUnits: An optional list of all the units that will NOT be validated by the canal.

      Does validated mean cannot use the canal?

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

        @mahks A canal could link two sz through a land mass and can have 1 territory to own it or 2 or three or more depending upon how many you wish.

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

          It seems to say that the attachTo territory may be a territory (not a sz)

          I do understand there must be a territory defined in each attachment (landTerritories value).

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

            @mahks the ter defined defines what ter or territories are required to own the canal and use it.

            Example Suez cannot be used if either Egy or Trans Jordan are not both owned by the same country trying to use the canal. On the other hand Panama connects two sz and only needs Panama ownership.

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

              That is not what I am asking. I mean the attachTo unit.

              Can that be a territory?

              ie;

              <attachment name='canalAttachmentSuez' attachTo='Land Terr Name' javaClass='CanalAttachment' type='territory'>
              ...
              </attachment>

              as ".Each canal must consist of 2 attachments attached to the connected sea (or land) zones." seems to say

              prastle General_Zod 2 Replies Last reply Reply Quote 0
              • prastle
                prastle Moderators Admin @Mahks last edited by prastle

                @mahks ah yes I believe so since it's been a long time since xml work. So you could create a land canal or "tunnel" from a to b territory as well. Or as @Frostion called them in Dragon War ---> "Magic Gates" 🙂

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

                  OK, Thanks!

                  What about:

                  excludedUnits: An optional list of all the units that will NOT be validated by the canal.

                  Does validated mean cannot use the canal?

                  prastle redrum 2 Replies Last reply Reply Quote 0
                  • prastle
                    prastle Moderators Admin @Mahks last edited by

                    @mahks ya as an example you could exclude all units from the "gates" except "heroes" or what ever ya wish is my guess.

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

                      @mahks For excludedUnits, here is what POS2 XML has:

                      excludedUnits		values: an optional list of all the units that will NOT be validated by the canal. If left blank, then all Air units will not be validated. Can also be set to "NONE" or "ALL".
                      example: <option name="excludedUnits" value="submarine:fighter:bomber:air_transport"/>
                      

                      So excluded units essentially ignore the canal "validation" and can always move between the indicated territories. The simplest example is your standard canals like Panama or Suez, don't "validate" air units so fighters/bombers can always move between the sea zones even if the canal isn't controlled by your alliance. Any units that aren't excluded can only pass between the 2 territories if their alliance has controlled the necessary territories since the begin of the player's turn.

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

                        @mahks

                        attachTo typically requires the seazone name. But it will accept a land territory as well for nonstandard use.

                        The land portals @prastle refers to are not done via canals but via hard connections.

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