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

    IsLandTransport Question

    Scheduled Pinned Locked Moved Map Making
    15 Posts 3 Posters 3.7k Views 3 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.
    • redrumR Offline
      redrum Admin @beelee
      last edited by

      @beelee You mean like trains in TWW being able to carry multiple units? Or something different? Can you give an example?

      TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

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

        @redrum yea so I have armour giving elite transport:

        <!-- Armour -->
        <attachment name="unitAttachment" attachTo="armour" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
        <option name="movement" value="2"/>
        <option name="transportCost" value="6"/>
        <option name="canBlitz" value="true"/>
        <option name="attack" value="3"/>
        <option name="defense" value="3"/>
        <option name="isLandTransport" value="true"/>
        <option name="canBeGivenByTerritoryTo" value="British"/>
        </attachment>

        And
        Elite getting a ride by being isInfantry

        I want Mech Infantry to be able to give AAGunC4 the same ability but not have armour or mech inf be able to transport the other units.

        Sorry the same copy keeps showing up.

        redrumR 1 Reply Last reply Reply Quote 0
        • redrumR Offline
          redrum Admin @beelee
          last edited by

          @beelee You can make each land transport have different capacities with "transportCapacity" option and then have the different land transportable units have different "transportCost".

          Here is a summary of what is available: https://forums.triplea-game.org/topic/180/land-transport-improvements

          TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

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

            @redrum cool am wondering if that'll affect their transport cost in general though, transports and I have air transport as well. I'll check out the link.
            Thanks

            HeppsH 1 Reply Last reply Reply Quote 0
            • HeppsH Offline
              Hepps Lobby Moderators @beelee
              last edited by Hepps

              @beelee You don't have to change the transport costs for the original units. Since that will change their transport cost in any transport situation.

              Instead you just have to ensure the Armour and Mech. have the correct capacity to carry the desired units.

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

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

                @hepps hmm...Ihave transport cost=4 for elite and =5 for aaGun. Now if the transport capacity is 4 for the tank and 5 for the mech, won't that mean the mech can transport the elite as well ?

                Sorry struggling a little : )

                HeppsH 1 Reply Last reply Reply Quote 0
                • HeppsH Offline
                  Hepps Lobby Moderators @beelee
                  last edited by

                  @beelee Yes. It is the one limitation for this.

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

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

                    @hepps Yea guess I need to make a new unit. Was hoping to avoid that. Everyone else can move 2 though so ... well the horses are just gonna have to drag their asses up there for now : )

                    HeppsH 1 Reply Last reply Reply Quote 0
                    • HeppsH Offline
                      Hepps Lobby Moderators @beelee
                      last edited by

                      @beelee So both units are supposed to act as land transports but only during non-combat?

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

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

                        @hepps the tank gives the elite +1 move and it can blitz with tank. So both ncm and cm. I wanted mech inf to do the same for AAgun but not for elite. Or have the tank be able to do it for AAGun

                        elite has to move with tank for bonus

                        HeppsH 1 Reply Last reply Reply Quote 0
                        • HeppsH Offline
                          Hepps Lobby Moderators @beelee
                          last edited by

                          @beelee Yah unfortunately there is no current way to limit the Mech. from also being able to bring the Elite.

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

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

                            @hepps thanks for the reply hepps. Kept me from banging my head against the wall. : )
                            @redrum so... would this be hard to add : ) heh heh I know you got a lot going on : )

                            redrumR 1 Reply Last reply Reply Quote 0
                            • redrumR Offline
                              redrum Admin @beelee
                              last edited by redrum

                              @beelee Its possible. @Hepps and I discussed adding a parameter to be able to specify that a unit can only transport certain units. I decided at this point to first get land transports to be equivalent in functionality to naval transports.

                              The following is on the list of potential future improvements:

                              • Consider adding "isLandTransportfor" to be able to specific what types of units each can transport

                              At this point, I don't consider it high priority though and will probably work on some other things for the near future.

                              TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                              HeppsH 1 Reply Last reply Reply Quote 4
                              • HeppsH Offline
                                Hepps Lobby Moderators @redrum
                                last edited by Hepps

                                @redrum Yup, that is why I said "currently". My faith in you has never once wavered. 😃

                                I wasn't trying to add any pressure. I knew we had discussed it.... but you have your dirty little fingers in so many dirty little pies.... I figured this was on a "to be considered later" list somewhere.

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

                                1 Reply Last reply Reply Quote 3

                                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