TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    How to load airtransports?

    Scheduled Pinned Locked Moved Player Help
    9 Posts 4 Posters 1.6k Views 4 Watching
    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 Offline
      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 HeppsH 2 Replies Last reply Reply Quote 1
      • B Offline
        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
        • HeppsH Offline
          Hepps Lobby 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>
          

          "A joyous heart sours with the burden of expectation"
          Hepster

          1 Reply Last reply Reply Quote 0
          • A Offline
            AprilForever
            last edited by

            Thanks so much! 🙂

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

              @beelee Thanks so much! 🙂

              1 Reply Last reply Reply Quote 1
              • F Offline
                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 Offline
                  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 Offline
                    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! :face_with_tongue:

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

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

                      1 Reply Last reply Reply Quote 0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • First post
                        Last post
                      Powered by NodeBB Forums