Territory Naval Base and Air Base Info


  • Admin

    navalBase and airBase information doesn't appear in territory tab so there's no way to tell which territories have them.


  • Admin

    @general_zod Are you referring to an existing map or new map or all maps? Given that Global40 uses them both I would check that first since if its broken then I'm sure I'd hear about it.


  • Admin

    @redrum These are territory attributes. Not the same as the unit attributes global uses. They are listed in POS2.xml.

    I am trying to run some experiments with these attributes, and they no longer work. They used to a few months ago.


  • Admin

    @redrum

    Basically as I recall they used to be listed in the territory tab as being present in the territory (airBase or navalBase). No images were ever used for them. They did do what was described in the POS2.xml.

    But today I'm not getting any of the above. And no errors either.


  • Admin

    Btw, I'm not sure if any maps actually use these features.

    I have been considering them for some time, for a future feature on one of my maps. If you have to do major work required to get them back. I think they would be fine as unit attributes too, that might even better than the existing configuration. Just as long as they have the same end result.


  • Moderators

    There is a global property you have to set to true (I forget its name) or the naval bases do nothing


  • Admin

    @crazyg

    I tried the pacific theatre property, but still nothing. But I think last time I had it working, there was no other property involved.


  • Moderators

    @general_zod
    I would double check because I remember making a post pretty much identical to yours on the old forum. Turns out I was just missing a global property (I think Cernel is the one who corrected me)

    I really hate how many things do nothign without those properties set because if I spent an hour adding naval bases to the XML, I pretty clearly want them on.


  • Admin

    @redrum

    The main cool component is +1 movement from base to base on NCM only.



  • @general_zod You can use an infrastructure unit that gives a movement bonus for the same effect, like Naval bases in the Global 1940 game.


  • Admin

    @rogercooper

    Those will give +1 movement during all phases.

    I want +1 movement only during NCM and only if moving from naval base to another naval base.

    There is no other way to achieve this effect.


  • Admin

    @general_zod It's funny... the POS2 XML references the Pacific game... but I could not find any game in our repository named Pacific that uses this rule set.


  • Admin

    The only map I found that looks like it should have these rules... appears not to have them.

    The original Pacific edition.

    the map name in the list is...

    Pacific

    It has images embedded into the map itself for naval and Air Bases... but it then also has actual naval and airbase units in those corresponding territories. Also the behavior is not supported in the game play. So I am curious whether this was a feature that Veq had been working on but never completed. I also have not as of yet looked in the XML to see if the territory attachments are even in there at all.


  • Admin

    @general_zod Honestly, I'm not aware that it ever worked and if no maps use it then probably no way to know. You could try grabbing an older version of 1.9 or even 1.8.0.9 if you believe it did work before. I can try to take a look at it this evening.


  • Admin

    @redrum

    Ok. So either I recall it incorrectly or something has changed. The naval base and air bases features do function as described in PSO2.xml. However they do not list the naval base/air base in the territory (I thought it did before).


  • Admin

    @general_zod The feature appears to actually work. The only map I found that uses it is Pacific 1942 which isn't even available from in-game downloads: https://github.com/triplea-maps/pacific_1942

    I had to fix a missing flag image but other than that the map seems to work and allow just what the POS2 XML says:

    navalBase - values: works according to original pacific rules: it increases the non-combat movement of naval units by +1 IF they go from friendly naval base TO friendly naval base
    airBase - values: works according to original pacific rules: it allows free movement between the land territory and any connecting water territories, which potentially gives an air units +2 movement if they move from airbase to airbase and both airbases have water connecting to them on the route (or are islands)
    

  • Admin

    @redrum Correct, they function as described. However they currently do not list the presence of the naval base /air base in the territory tab.

    Which might not be a bad thing. If you want the abilities to be attributed to something else.

    Anyways, I wonder if these abilities would not be better, if they were unit attributes in addition to territory attributes or instead of territory attributes.

    Units are more flexible in most situations. However, being a territory attribute has one big benefit of not creating clutter on the maps.


  • Admin

    @general_zod Oh. I mean if you are close to releasing a legit map using these and want the territory tab to list like "Is Air Base" or "Is Naval Base" then that can easily be added.


  • Admin

    @redrum ok cool, I am seriously looking at naval bases, so that be good. I will let you know once I firm on it. Thanks


  • Moderators

    @redrum Yes, this used to work fine, except that if you would have naval bases near each other, you would be able to keep moving on (so, for example, if all territories are naval bases, then you would be able to keep moving on till you have naval bases at reach in all the following sea zones), so I guess this was coded for games having naval bases scarcely spread enough on the map, so that would not happen (I guess it was not intended), but that would be better be adressed (if not intended), as it is a big limit on this option.
    I guess I'll try testing this feature with the latest prerelease on some the few games that use it, to see if it still works, as it used to.