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

    Land Transport Improvements

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    31 Posts 6 Posters 13.6k Views 6 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.
    • C Online
      Cernel Moderators @Cernel
      last edited by

      In particular, I would encourage mapmakers making advanced maps to use the ability of land transporting multiple units sequentially, especially for trains. It makes a lot of sense that if you have a train, or something, you are able to choose if to make a single full max movement transporting a single unit or using less of your movement to transport a unit, while retaining the remaining one to move more units or reposition yourself. A reason why I don't like "naval" trains Civil War style is that you can transport only a number of units and move only till the destination, no matter how long the actual distance to cover (of course, fuel costs can give you a bonus for covering a shorter distance than your max). I would suggest land transport for trains, instead of that, just because it makes sense that if I have a train that can move 6 and transported a land unit for 3, then it should still move of additional 3, and maybe transporting a second land unit.

      Related matters, for the same reasons, are that I surely also suggest to

      • Keep the current ability of moving further alone after having transported the unit where you wanted.
      • Keep the current ability to pick up the unit on the move (you don't have to start in the same territory of the unit you are transporting but, for example, if you have a movement 3 land transport, you can move of 1 into a territory and transport an infantry of 2 from that territory; this is not possible with air transports, but should remain possible with land ones).

      Generally speaking, I suggest none of the current features being dropped in favour of new ones, though I've no clue how much that is feasible.

      1 Reply Last reply Reply Quote 0
      • C Online
        Cernel Moderators @redrum
        last edited by

        @redrum After further consideration (also thinking about the differences with air transports), I suggest to integrate the full list of current possibilities this way:

        Change (I believe it is not that clear, as it is):
        "isLandTransport" can transport multiple units in the same turn (only limited by the amount of movement it has)

        to:

        • "isLandTransport" can still move on, and even transport additional units, after having already transported others, to destination, in the same turn (only limited by the amount of movement it has)

        and add:

        • "isLandTransport" can transport units starting from a territory it moved into, in the same turn (not only from the one it started from)

        For example, in a map in which I have land transports that move 3 and can transport some movement 1 units, the AI should see that I can bring stuff also from a nearby territory, not only what is in the starting territory of the land transport. No clue if this would be too much on the AI, but I think it is a good and realistic behaviour regardless AI support.

        1 Reply Last reply Reply Quote 0
        • C Online
          Cernel Moderators @Hepps
          last edited by

          @Hepps I personally find a bit annoying managing like bombers transporting infantry in WWIIv3, but it is survivable (and anyways that map is almost never played with tech, comprising me (BW v3 with tech would be a bigger current item, for sure)). I'm mostly just saying I like better the current land transport system, where you just pick what you want to move, and the engine validates it or not, based if you are trying to move enough transports for the transported at the same time, than, say, a system in which you would have to click on the "armour" unit and then select how many "armour" units are going to transport how many "infantry" units, then move them. But don't see it as unacceptable, in case, and I guess that more functionalities vs easier gameplay can be seen as a trade-off; would be nice not to make the system more complex to manage on the users from what it is, but I agree it is not a must.
          I'm actually more on keeping all that it is currently possible, in term of what you can do (I think it is really cool to have freedom to move before and after transporting, and transporting multiple in sequence), and I'm not really that strong as I may have appeared on how stuff gets played out, eventually.

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

            @Frostion Cernel is correct that "isInfantry" is only used for land transports and "artillerySupportable" is used to pair with "artillery".

            So I think initially I'm going to do the following as these are pretty easy changes that have no impact to existing maps but add some flexibility and clarity:

            • Add new parameter "isLandTransportable" that functions the same as "isInfantry" which will be considered deprecated (some time in the future it will be removed all together as it is a very confusing property with a bad history)
            • Have units with "isLandTransport" utilize the "transportCapacity" property to determine how many units they can transport and if not set then default to "1" (keeps current functionality unchanged). This at least gives the flexibility to have land transports each move more than 1 unit (though all land units will still just count as "1" cost for land transporting)

            Eventual things I'd like to do but require significant effort:

            • Have "isLandTransportable" units utilize "transportCost" so they then function like air transports. This would require a UI change to be able to select which units to then transport along with figuring out how to make it backwards compatible for existing maps.
            • Remove "MechanizedInfantry" tech requirement which would require updating existing maps that don't just give it to everyone to properly define the tech to set "isLandTransport" and "isLandTransportable" on the appropriate units

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

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

              @redrum That is a good intermediate step.

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

              1 Reply Last reply Reply Quote 0
              • CrazyGC Offline
                CrazyG Moderators @redrum
                last edited by

                @redrum
                One really nice about the current land transport is the ease of use

                So maybe we could leave the current way as is, and treat it as the basic transport system

                Then get a new one going with more capacity, which would be more complex, like the current air transport system

                1 Reply Last reply Reply Quote 0
                • C Online
                  Cernel Moderators @redrum
                  last edited by

                  @redrum So, will all the current functionalities of land transports be kept whatever the new system? In particular I'm referring to:

                  • The ability to pick up a (not yet moved) unit on the move, not only from the starting territory.
                  • The ability to keep moving on and even transporting more after having already transported some.

                  I'm a bit worried by the "so they then function like air transports" thing.

                  Losing the simplicity of the current system would be a drawback, but I'm mainly concerned if this matter is going to keep all that it is currently possible? If not, I guess I would second on keeping the current land transport system too, tho I'm not a fan of the idea itself. Personally, I'm not really bothered much by the current limits, and for me it could stay as it is (of course, all good if all is purely additive, like these short term planned changes).

                  So, basically, what I'm asking, is the intention, whatever the changes may be, of nothing being lost of the possibilities currently already available (that you have already listed at the first post)?

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

                    @redrum So if you are working on this... while also trying to keep the same functionality....

                    Are you at the same time trying to find a way to create a method of specifying which units can transport which units?

                    IE. Let's say you have a train (don't know why I might choose that as an example) 😉 and the train is capable of transporting; tanks, Infantry, trucks, artillery, .... But you also have a truck which can potentially only transport Infantry and artillery.

                    Will there be a way to specify which type of transport can carry which type of unit?

                    I am thinking something like this...

                    <attachment name="unitattachment" attatchTo="Truck" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                    <option name="movement" value="2"/>
                    <option name="attack" value="0"/>
                    <option name="defense" value="0"/>
                    <option name="canBeDamaged" value="true"/>
                    <option name="maxDamage" value="1"/>
                    <option name="canDieFromReachingMaxDamage" value="true"/>
                    <option name="isLandTransport" value="true"/>
                    <option name="isLandTransportfor" value="Infantry:Material:Artillery:AAgun"/>
                    <option name="TransportCapacity" value="2"/>

                    <option name="transportCost" value="2"/>
                    <option name="isInfrastructure" value="true"/>
                    <option name="requiresUnits" value="germanFactory"/>
                    <option name="requiresUnits" value="russianFactory"/>
                    <option name="requiresUnits" value="japaneseFactory"/>
                    <option name="requiresUnits" value="chineseFactory"/>
                    <option name="requiresUnits" value="britishFactory"/>
                    <option name="requiresUnits" value="italianFactory"/>
                    <option name="requiresUnits" value="americanFactory"/>
                    <option name="requiresUnits" value="spanishFactory"/>
                    <option name="requiresUnits" value="swedishFactory"/>
                    <option name="requiresUnits" value="turkishFactory"/>
                    <option name="requiresUnits" value="brazilianFactory"/>
                    <option name="isAAmovement" value="true"/>
                    </attachment>

                    I'm not great at what makes for good coding.... I am just going off of some of the stuff that is already in current XML's.

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

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

                      0_1518924393445_Implemented.png

                      @hepps Initial improvements: https://github.com/triplea-game/triplea/pull/2673

                      Changes

                      • Add new parameter "isLandTransportable" that functions the same as "isInfantry" which will be considered deprecated (some time in the future it will be removed all together as it is a very confusing property with a bad history).
                      • Fix bug that didn't allow air transports and land transports to be moved in the same move.
                      • Have units with "isLandTransport" utilize the "transportCapacity" property to determine how many units they can transport and if not set then default to being able to transport 1 unit (keeps current functionality unchanged).
                      • Have "isLandTransportable" units utilize "transportCost" so they then function similar to sea transports. The goal then is to have the engine make a best effort to load all selected land transports and transportable units but if it selects them incorrectly then the player may need to move 1 land transport at a time.

                      Example
                      <attachment name="unitAttachment" attachTo="LargeTruck" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
                      <option name="movement" value="2"/>
                      <option name="attack" value="0"/>
                      <option name="defense" value="0"/>
                      <option name="canBeDamaged" value="true"/>
                      <option name="maxDamage" value="1"/>
                      <option name="canDieFromReachingMaxDamage" value="true"/>
                      <option name="isLandTransport" value="true"/>
                      <option name="transportCost" value="2"/>
                      <option name="transportCapacity" value="5"/>
                      <option name="canBeGivenByTerritoryTo" value="Germany:Britain:Japan"/>
                      <option name="isInfrastructure" value="true"/>
                      <option name="isAAmovement" value="true"/>
                      </attachment>

                      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 3
                      • HeppsH Offline
                        Hepps Moderators @redrum
                        last edited by

                        @redrum Well done! Can't wait to try this little beauty out... Trains just got that much more valuable! This is going to get fun!

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

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

                          Rock n Roll Overdrive ! Nice : )

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

                            The PR has been merged so feel free to try it out: https://github.com/triplea-game/triplea/releases/tag/1.9.0.0.7792

                            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 2
                            • HeppsH Offline
                              Hepps Moderators @redrum
                              last edited by

                              @redrum Looking at this now. Wondering... do I have to go back and change all units that are defined as "isInfantry" immediately for thiese changes?

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

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

                                @hepps No, isInfantry will still work for now but sometime in the future support for it will be removed and all maps updated to use isLandTransportable instead.

                                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 1
                                • HeppsH Offline
                                  Hepps Moderators @redrum
                                  last edited by

                                  @redrum Follow up question....

                                  Let's just say you have 2 types of land transport. One being a truck and one being a train....

                                  Lets say we leave the truck as it was originally designed... by not defining the transport capacity for the unit it should only be capable of transporting a single unit.

                                  Now, if I add Tanks, Hvy Tanks, Mobile Art., Hvy. Art. Mech Inf. all to being land transportable for the train.... does this not mean that the truck will be capable of transporting all of these units? Seems to me it will.

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

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

                                    @hepps That's correct. Any unit with no transport capacity defined is able to transport any "1" unit that has isLandTransportable or isInfantry. The potential solution there is to change trucks to have say transportCapacity="2" so they can only transport units with lower transportCost.

                                    My general recommendation is to move all land transport units to have a set transportCapacity if any of them need that functionality so its easier to balance and more clear the functionality as it will then work the same as sea transports.

                                    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 0
                                    • HeppsH Offline
                                      Hepps Moderators @redrum
                                      last edited by Hepps

                                      @redrum Yup. Was just clarifying.... since now attributing the trucks with a capacity will change some of their functionality. Need to re-think some of it and plan out the changes.

                                      Also need to examine how this will alter the Mech. Inf.

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

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

                                        @hepps Yeah, probably want to pretty much do the same for mech as you do for trucks.

                                        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 1
                                        • HeppsH Offline
                                          Hepps Moderators @redrum
                                          last edited by

                                          @redrum Just tested this new feature with TWW 2.8 for the first time.

                                          Appears to work flawlessly! Initial tests are very positive. Movement enhancements really make for a new experience.

                                          Now the long and arduous journey begins to see how it will affect balance.

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

                                          1 Reply Last reply Reply Quote 1

                                          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
                                          • 2
                                          • 2 / 2
                                          • First post
                                            Last post
                                          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums