Expand givesMovement Option To Require Specific Units At Destination
-
@general_zod Yeah, it'll work like givesMovement already works today in terms of it the unit that is giving movement is a land unit and you specify to give it to sea units then it checks adjacent sea territories (port, etc). My intention would be for the end point to work the same way.
-
@redrum cool
-
I added this to the feature list. It will require a non-compatible release but should start working on one once we stabilize the bots.
-
@redrum said in "isNavalBase" For "unitAttachments":
Material Example (can only move materials from harbor on to transport)
<attachment name="unitAttachment" attachTo="harbor" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType"> <option name="givesMovement" value="1:material:transport"/>
Yep, this is really a problem when you have, like, a game in which, instead of having the PUs collection, you have to go take the resources with your transports and such, that is, after all what the Battle of the Atlantic was for. A limit of the basic games is that, like, in the moment you have your British that collect all their PUs wherever, no questions asked, that takes away the very basics of why the Germans even produced 1 submarine. But currently there is the issue that if you have stuff you can move with transports or trains you need it to have at least 1 movement to get into the transports, but actually you don't want your raw materials to be able to walk on their own (so you would have them 0 movement and move them around with trains and lorries). Now that canals don't block transported, you could make canals in all land to land connections, to enforce that, but this sounds definitely easier. Tho I still believe doing it this way feels off the mark, and I think really (a bit of off topic here) movement 0 units should be generally allowed to move to transports if they have a transport cost assigned (and, of course, always selectable if they have a transport cost assigned); basically make moving from land to sea generally cost 0 movement points, instead of 1, yet charging unitary fuel cost when from land to sea (you would still lose all remaining movement, like now it happens for 2+ movement units; so no difference for any basic games). This would seem the most straight way, since anyways units not having a transport cost defined in the attachment are unable to load on transports; so no reasons to require them having 1+ movement to do it, as you already decide it in the moment you define a transport cost for them (and default is that they cannot load, so you'll still be unable to load NWO bunkers on transports).
Also, another item for ships is that (at least when not damaged) they never need to go back to ports, while actually ships worked sort of like aeroplanes, in that you would have to "fly" off from your port and "land" back to it after a period; tho of course this is a matter of weeks rather than hours. I can see this new options can go a fair way to partially enforce that behaviour, tho still it doesn't oblige you to have to go back to port to be able to fight again, even in the same sea zone. So it doesn't fully solve the matter here.
-
I think this topic should be renamed "Expand givesMovement Option" so people immediately know what this is doing. The topic has evolved into something much more useful than originally proposed.
-
@general_zod Yeah, renamed it. Good call.
-
@redrum Cool, I changed it in the main list as well.
-
Thanks for all your hard work and efforts elsewhere, all are also greatly appreciated. But I kind of need to know where I stand here.
I know you have created a vote system for feature requests. That's ok, however it is imperfect. Since non mapmakers can vote and skew the results to features that might not even be on any ones drawing board for immediate future.
That being said, do you think it would be too much trouble to squeeze this feature request in eventually. No hurry really, but... My whole map design hinges on it being implemented eventually.
I think it's quite a revolutionary design and should play well once it's thoroughly tested and fine tuned. Thus a worthy feature request. This design should facilitate the necessity and importance of solid sea strategies and not to simply allow them to be ignored as so many maps currently do allow. Especially in the strategies in the Atlantic theatre.
Basically this design will use a combination underwater sea zones, naval bases and hybrid shipping lanes. In conjunction with convoy attachments, routes, seazone blockades , seazone production, custom bonuses. And possibly if not to much work for players, a system that requires sea nations to transport certain resources to their capitals where they are then exchanged for income. I have a few options on implementation of latter portion. But I need this feature request in the end.
-
@General_Zod Well, I'd say its probably in the top 5 features I'd like to add. Now that AA support is implemented, I'm going to work on improving the PBF/PBEM poster. After that, its probably between this feature, sub/destroyer enhancements, battle calc improvements, expanding RandomStartDelegate, and AI improvements. When and if those get implemented is hard to say since it could be tomorrow or it could be never since I only do it as a hobby.
The voting was really aimed at giving the larger community a chance to prioritize a few features and see what people beyond just the active map makers want. Generally, most of the features I choose to implement are either broad improvements to TripleA or specific features that a map maker is looking to utilize.
Generally, the more active the map maker and the more flushed out their map/design is, the more likely I'm going to implement a feature they request since its more likely to then get real usage in a high quality map. I think if you look through the implemented feature list then you'll see that many of those can be tied back to maps made/updated by @Hepps @Frostion @alkexr and myself: https://forums.triplea-game.org/topic/182/guidelines-and-feature-request-list. The best way to influence getting a feature implemented besides creating the feature request thread, is to have a high quality map thread showing design and progress
-
Ok, so it's on the short list I guess. That's cool. I was wondering if it got knocked off the list between the time this topic was being initially discussed and the feature list votes. You seemed to green light the feature back then.
Anyways, greatly appreciated. I will also post a thread to show my progress on the map thus far and direction I want to take it. By the way this feature has immediate use a bug fix for TWW as you may recall (materials from harbors to transports). And I think some of the other map makers could make good use of it once they take a good look at it. @Cernel already pointed out it was useful as logistical solution rather than using land canals (above). So it's got a lot of potential.
If there was an additional attribute that caused the waypoints to be checked for the specific units. Then it could be used as terrain or weather movement penalties or as bonuses for stuff like autobahn/highways. But if that's too complex to code, don't bother. I'm mainly pulling for what we discussed already.
-
@redrum By the way what does the randomStart delegate feature request entail. I have used the existing feature extensively on one of my maps, although I have more coding before completed. It involves selecting territories like risk. But it follows rules custom to the game and makes use of different value territories rather than all the same values. So a lot of conditions to code. But it's like 75% done.
-
@General_Zod Primarily what Frostion laid out here: https://forums.triplea-game.org/topic/1064/expand-randomstartdelegate-to-also-include-sea-units-and-sea-territories