Navigation

    TripleA Logo

    TripleA Forum

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

    Transport Casualties Restricted only applies to sea units?

    Map Making
    3
    5
    1068
    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

      Does "Transport Casualties Restricted" apply to air transport too?
      If so, I must be missing something, as it still permits hits on my air_transport :

      <attachment name="unitAttachment" attachTo="air_transport" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
      <option name="movement" value="4"/>
      <option name="isAir" value="true"/>
      <option name="attack" value="0"/>
      <option name="defense" value="0"/>
      <option name="transportCapacity" value="2"/>
      <option name="isAirTransport" value="true"/>
      <option name="canAirBattle" value="false"/>
      </attachment>

      <property name="Transport Casualties Restricted" value="true" editable="false">
      <boolean/>
      </property>

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

        @mahks I believe all the game properties listed in the POS2.xml which refer to transports are for sea transports only.

        btw, when I say game property, I mean specifically the ones at the end of the xml's. They start with "property name". So as not to confuse you.

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

          @mahks You can however set your aaguns to not be able to hit the air-transport.

          targetsAA	values: <!-- a list of unit types which this aa gun can hit. (defaults to all air units) (any aa guns in the same group should have the same targetsAA) --> 
          

          You would need to place the above attribute in the aagun unit attachments section. I recommend looking at TWW xml for an example as well, in addition to pos2.xml.

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

            Yeah, just about all the various transport properties only influence sea transports.

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

              Ok, Thanks, will add a feature request...

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