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

    ⭕ Lord of the Rings: War of the Ring - Official Thread

    Scheduled Pinned Locked Moved Maps & Mods
    mapsthedog
    54 Posts 6 Posters 17.4k 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.
    • F Offline
      ff03k64 @RogerCooper
      last edited by

      @rogercooper said in ⭕ Lord of the Rings: War of the Ring - Official Thread:

      I would suggest creating the map.yml manually so you have more control. It is pretty simple. For example,
      map_name: red_sun_over_china
      games:

      • game_name: Red Sun Over China
        file_name: Red_Sun_Over_China.xml
      • game_name: Warlords FFA
        file_name: Warlords.xml
        version: 0

      As of now, 2.6 is still not working correctly, although some progress has been made it getting downloads to work. I am now working entirely in 2.5.

      Is this the correct format? It looks a slightly different than other maps I have glanced at.

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

        @ff03k64 They all look like that to me. You don't need to specify the path to the file name, but you should only have 1 file of that name.

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          ff03k64 @RogerCooper
          last edited by

          @rogercooper They have brackets for me.

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

            @ff03k64 Interesting, none of mine have brackets.

            F TheDogT 2 Replies Last reply Reply Quote 0
            • F Offline
              ff03k64 @RogerCooper
              last edited by ff03k64

              @rogercooper
              This is what they look like to me.

              map_name: red_sun_over_china
              games:
              - {game_name: Warlords FFA, file_name: Warlords.xml}
              - {game_name: Red Sun Over China, file_name: Red_Sun_Over_China.xml}
              

              https://github.com/triplea-maps/red_sun_over_china/blob/master/map.yml

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

                @ff03k64 Both are valid yaml code Yaml format

                F 1 Reply Last reply Reply Quote 0
                • TheDogT Online
                  TheDog @RogerCooper
                  last edited by

                  @rogercooper said in ⭕ Lord of the Rings: War of the Ring - Official Thread:

                  @ff03k64 Interesting, none of mine have brackets.

                  I think that might be due to the version of 2.6, Im fairly certain that the format has changed/evolved over time.

                  As Roger knows when you download 2.6 for the first time and run it, it will unzip all of your maps and create a yml file if there is not one.

                  With 2.6 and a new map, the mapmaker will have to code their own yml file or zip it and then let 2.6 unzip it and it will create a yml file.

                  https://forums.triplea-game.org/tags/thedog
                  https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    ff03k64 @RogerCooper
                    last edited by ff03k64

                    @rogercooper Would this be a change big enough to update the triplea_maps.yaml file? I assume that is still the right way to do it, even though we have the yml file now?

                    edit: mainly the second question

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

                      @ff03k64 Both formats work. No need to change anything.

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        ff03k64 @RogerCooper
                        last edited by ff03k64

                        @rogercooper so we don't need to update the triplea_maps.yaml file anymore? I thought that was how the game knew to tell people that they have an old version of a map?

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

                          @ff03k64 Increment the version number map.yml

                          F 1 Reply Last reply Reply Quote 0
                          • F Offline
                            ff03k64 @RogerCooper
                            last edited by

                            @rogercooper i don't see a version number there.

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

                              @ff03k64 Try the format I am using

                              map_name: large_middle_earth
                              games:
                              - game_name: Lord of the Rings: Middle Earth-Rebalanced
                                file_name: Lord_of_the_Rings_War_of_the_Ring.xml
                              version: 1
                              
                              
                              F 1 Reply Last reply Reply Quote 0
                              • F Offline
                                ff03k64 @RogerCooper
                                last edited by

                                @rogercooper would that need to be removed from triplea_maps.yaml? Or will this one over rule that one?

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

                                  @ff03k64 Don't confuse map.yml with triplea_maps.yaml.

                                  map.yml designates how the individual scenarios will be displayed in the selection screen on your local computer.

                                  triplea_maps.yaml is file maintained in github which designates how the scenario will displayed on the download screen

                                  The version number should be changed in both.

                                  F 1 Reply Last reply Reply Quote 0
                                  • F Offline
                                    ff03k64 @RogerCooper
                                    last edited by

                                    @rogercooper i wasn't mixing them. That is why i was confused. I probably didn't ask the right questions to be clear. So this will need a triplea_maps.yaml update too then.

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

                                      @ff03k64 That should work. I have only done 1 scenario update so far.

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        ff03k64 @TheDog
                                        last edited by

                                        @thedog I messed up my files, can you test this and tell me if i got it all back correct?

                                        https://github.com/CharlieAtlas/middle_earth/archive/master.zip

                                        TheDogT 1 Reply Last reply Reply Quote 0
                                        • TheDogT Online
                                          TheDog @ff03k64
                                          last edited by

                                          @ff03k64
                                          Added the following;
                                          doc folder and various missing units.

                                          I have only tested my variant of the game.

                                          Updated zip
                                          https://drive.google.com/file/d/12uXDCxJY4Ez44js4i-5iT9INzy7NVTIk/view?usp=sharing

                                          https://forums.triplea-game.org/tags/thedog
                                          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

                                          F 2 Replies Last reply Reply Quote 0
                                          • F Offline
                                            ff03k64 @TheDog
                                            last edited by

                                            @thedog These are the two PRs (pull requests) that would need to be accepted for it. Someone else will have to accept them before they are actually incorporated. If you want to know how to make your own PRs in the future, I can probably show you how sometime.

                                            https://github.com/triplea-game/triplea/pull/10193

                                            https://github.com/triplea-maps/middle_earth/pull/5

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