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

    Territory Naval Base and Air Base Info

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    29 Posts 6 Posters 12.3k 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.
    • General_ZodG Offline
      General_Zod Moderators
      last edited by redrum

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

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

        @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.

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

        General_ZodG 2 Replies Last reply Reply Quote 0
        • General_ZodG Offline
          General_Zod Moderators @redrum
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • General_ZodG Offline
            General_Zod Moderators @redrum
            last edited by General_Zod

            @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.

            1 Reply Last reply Reply Quote 0
            • General_ZodG Offline
              General_Zod Moderators
              last edited by

              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.

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

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

                General_ZodG 1 Reply Last reply Reply Quote 0
                • General_ZodG Offline
                  General_Zod Moderators @CrazyG
                  last edited by

                  @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.

                  CrazyGC General_ZodG 2 Replies Last reply Reply Quote 0
                  • CrazyGC Offline
                    CrazyG Moderators @General_Zod
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • General_ZodG Offline
                      General_Zod Moderators @General_Zod
                      last edited by

                      @redrum

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

                      RogerCooperR 1 Reply Last reply Reply Quote 0
                      • RogerCooperR Offline
                        RogerCooper @General_Zod
                        last edited by

                        @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.

                        General_ZodG 1 Reply Last reply Reply Quote 0
                        • General_ZodG Offline
                          General_Zod Moderators @RogerCooper
                          last edited by General_Zod

                          @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.

                          HeppsH redrumR 2 Replies Last reply Reply Quote 0
                          • HeppsH Offline
                            Hepps Moderators @General_Zod
                            last edited by

                            @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.

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

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

                              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.

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

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

                                @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.

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

                                General_ZodG 1 Reply Last reply Reply Quote 0
                                • General_ZodG Offline
                                  General_Zod Moderators @redrum
                                  last edited by

                                  @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).

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

                                    @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)
                                    

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

                                    General_ZodG C 3 Replies Last reply Reply Quote 0
                                    • General_ZodG Offline
                                      General_Zod Moderators @redrum
                                      last edited by General_Zod

                                      @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.

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

                                        @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.

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

                                        General_ZodG C 2 Replies Last reply Reply Quote 0
                                        • General_ZodG Offline
                                          General_Zod Moderators @redrum
                                          last edited by

                                          @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

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

                                            @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.

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