Navigation

    TripleA Logo

    TripleA Forum

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

    How to load airtransports?

    Player Help
    4
    9
    740
    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.
    • A
      AprilForever last edited by

      Hi all!

      I am trying to figure out how to load air transports. I am making a mod, based off of WaW 1940, and, I cannot seem to figure out how to load them. I also tried in another map, WW2 1941 v3, but I still couldn't figure it out. Here is my code:

      </attachment>
          <attachment name="unitAttachment" attachTo="Paratrooper" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
              <option name="movement" value="1"/>
              <option name="attack" value="2"/>
              <option name="defense" value="2"/>
              <option name="transportCost" value="2"/>
              <option name="isAirTransportable" value="true"/>
          </attachment>
          <attachment name="unitAttachment" attachTo="AirTransport" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
              <option name="movement" value="4"/>
              <option name="attack" value="1"/>
              <option name="defense" value="0"/>
              <option name="transportCapacity" value="2"/>
              <option name="isAir" value="true"/>
              <option name="isAirTransport" value="true"/>
      

      Anyways, did I mess the code up? I am new to TripleA modding, but I used to mod Rome Total War all the time back in the 2000's...

      Any help would be greatly appreciated, tried the search bar, tried google, nothing useful... Thanks! 🙂

      B Hepps 2 Replies Last reply Reply Quote 1
      • B
        beelee @AprilForever last edited by

        Hi @AprilForever

        Make sure you have the "paratroopers" tech turned on for each player in "techAttachment".

        <attachment name="techAttachment" attachTo="Russians" javaClass="games.strategy.triplea.attachments.TechAttachment" type="player">
        <option name="techCost" value="5"/>
        <option name="superSub" value="false"/>
        <option name="jetPower" value="false"/>
        <option name="shipyards" value="false"/>
        <option name="aARadar" value="false"/>
        <option name="longRangeAir" value="false"/>
        <option name="heavyBomber" value="false"/>
        <option name="improvedArtillerySupport" value="false"/>
        <option name="rocket" value="false"/>
        <option name="paratroopers" value="false"/>
        <option name="increasedFactoryProduction" value="false"/>
        <option name="warBonds" value="false"/>
        <option name="mechanizedInfantry" value="false"/>
        </attachment>

        A 1 Reply Last reply Reply Quote 2
        • Hepps
          Hepps Moderators @AprilForever last edited by

          @AprilForever The other thing you want to look at depending how you want to deal with things is looking in your properties... and playing around with these two settings...

          <property name="Paratroopers Can Move During Non Combat" value="true" editable="true">
            <boolean/>
          </property>
          <property name="Paratroopers Can Attack Deep Into Enemy Territory" value="false" editable="true">
            <boolean/>
          </property>
          1 Reply Last reply Reply Quote 0
          • A
            AprilForever last edited by

            Thanks so much! 🙂

            1 Reply Last reply Reply Quote 1
            • A
              AprilForever @beelee last edited by

              @beelee Thanks so much! 🙂

              1 Reply Last reply Reply Quote 1
              • F
                ff03k64 last edited by

                @AprilForever I have bad news for you, it isn't April right now!

                B 1 Reply Last reply Reply Quote 0
                • B
                  beelee @ff03k64 last edited by

                  @ff03k64 said in How to load airtransports?:

                  @AprilForever I have bad news for you, it isn't April right now!

                  Think it just depends on ones frame of mind. I know some people still living in th 60s 🙂

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    ff03k64 @beelee last edited by

                    @beelee said in How to load airtransports?:

                    @ff03k64 said in How to load airtransports?:

                    @AprilForever I have bad news for you, it isn't April right now!

                    Think it just depends on ones frame of mind. I know some people still living in th 60s 🙂

                    Unfortunately when i look out my window right now, it most definitely isn't April! 😛

                    B 1 Reply Last reply Reply Quote 1
                    • B
                      beelee @ff03k64 last edited by

                      @ff03k64 yea closer to February where I'm at lol

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