Transport Casualties Restricted only applies to sea units?

  • 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"/>

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

  • Moderators

    @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.

  • Moderators

    @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.

  • Admin

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

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

Log in to reply