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

    Help: National Objectives are removed when editing name of map file

    Scheduled Pinned Locked Moved Map Making
    51 Posts 7 Posters 14.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.
    • Jason Green-LoweJ Offline
      Jason Green-Lowe
      last edited by

      @Panther said in Help: National Objectives are removed when editing name of map file:

      1941balancedmod

      OK, that's not entirely the correct answer, because I changed the mapName to "1941balancedmod" and now the game won't load -- I get an error saying "Map missing: 1941balancedmod, could not join game. Would you like to download the map now?" And then if I try to download the map, it can't find it.

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

        Don't you also need the map name on line 4 to be the same as well?

        PantherP 1 Reply Last reply Reply Quote 0
        • PantherP Offline
          Panther Admin Moderators @ff03k64
          last edited by Panther

          @ff03k64 No. Line 4 sets the name that appears in the "Select Map" list within TripleA, here it is

          <info name="World War II v3 1941 Balanced Mod" version="1.0"/>
          

          Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

          1 Reply Last reply Reply Quote 0
          • PantherP Offline
            Panther Admin Moderators @Jason Green-Lowe
            last edited by

            @Jason-Green-Lowe
            Interesting. I was able to load your map after I had applied the change.
            I did that locally, of course.

            Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

            1 Reply Last reply Reply Quote 0
            • PantherP Offline
              Panther Admin Moderators
              last edited by

              balmod.png

              Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

              1 Reply Last reply Reply Quote 2
              • Jason Green-LoweJ Offline
                Jason Green-Lowe
                last edited by Jason Green-Lowe

                Excellent! I'm glad it's working for you, at least.

                I took your advice and edited github so that the string is "1941balancedmod" everywhere. So now that's the string I'm using for the info name, the mapName, and the repo folder name.

                Unfortunately, it's still not working on my downloaded version. What was the exact change you made locally?

                PantherP C 2 Replies Last reply Reply Quote 0
                • PantherP Offline
                  Panther Admin Moderators @Jason Green-Lowe
                  last edited by

                  @Jason-Green-Lowe said in Help: National Objectives are removed when editing name of map file:

                  Excellent! That is exactly the intended effect. I took your advice and edited the name everywhere to be "1941balancedmod." So now that's the string I'm using for the info name, the mapName, and the repo folder name. It's a little ugly in that now it shows up as "1941balancedmod" on the select map screen, but at least it works.

                  Here it appears like this:

                  appear.PNG

                  Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                  1 Reply Last reply Reply Quote 0
                  • Jason Green-LoweJ Offline
                    Jason Green-Lowe
                    last edited by

                    Well, it appears as World War II v3 1941 Balanced Mod in the "Download Maps" dialog, but not in the "Select Maps" dialog.

                    PantherP 1 Reply Last reply Reply Quote 0
                    • PantherP Offline
                      Panther Admin Moderators
                      last edited by

                      Line 4 should be

                      <info name="World War II v3 1941 Balanced Mod" version="1.0"/>
                      

                      (as it was)

                      and line 2195 should be

                      <property name="mapName" value="1941balancedmod" editable="false"/>
                      

                      Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                      1 Reply Last reply Reply Quote 0
                      • PantherP Offline
                        Panther Admin Moderators @Jason Green-Lowe
                        last edited by

                        @Jason-Green-Lowe said in Help: National Objectives are removed when editing name of map file:

                        Well, it appears as World War II v3 1941 Balanced Mod in the "Download Maps" dialog, but not in the "Select Maps" dialog.

                        @Panther said in Help: National Objectives are removed when editing name of map file:

                        @Jason-Green-Lowe said in Help: National Objectives are removed when editing name of map file:

                        Excellent! That is exactly the intended effect. I took your advice and edited the name everywhere to be "1941balancedmod." So now that's the string I'm using for the info name, the mapName, and the repo folder name. It's a little ugly in that now it shows up as "1941balancedmod" on the select map screen, but at least it works.

                        Here it appears like this:

                        appear.PNG

                        This is from my Select Map dialog.

                        Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                        1 Reply Last reply Reply Quote 1
                        • Jason Green-LoweJ Offline
                          Jason Green-Lowe
                          last edited by

                          What string are you using in the objectives.properties file? My understanding is that objectives.properties has to match the info name from line 4.

                          PantherP 1 Reply Last reply Reply Quote 0
                          • PantherP Offline
                            Panther Admin Moderators @Jason Green-Lowe
                            last edited by

                            @Jason-Green-Lowe I did not touch it at all.

                            What I did was:

                            • I moved to your Github repo and downloaded the map-zip manually from there.
                            • I edited line 2195 of the xml as noted above
                            • I moved the complete zip-file into my downloadedMaps folder

                            That's all. Works perfectly fine.

                            Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                            1 Reply Last reply Reply Quote 0
                            • Jason Green-LoweJ Offline
                              Jason Green-Lowe
                              last edited by

                              OK, that's great! I'm glad it's working. What I need to find out is whether your objectives.properties file is using "1941balancedmod" or "World_War_II_v3_1941_Balanced_Mod" as the prefix. I made that change in github just a few minutes ago, and I don't know which version you downloaded.

                              PantherP 1 Reply Last reply Reply Quote 0
                              • PantherP Offline
                                Panther Admin Moderators @Jason Green-Lowe
                                last edited by

                                @Jason-Green-Lowe I downloaded the version before the changes you applied.
                                I assume you shouldn't have touched the objectives.properties file.

                                Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                                1 Reply Last reply Reply Quote 0
                                • Jason Green-LoweJ Offline
                                  Jason Green-Lowe
                                  last edited by

                                  OK, thanks. I'll revert the objectives.properties changes, and try it with:

                                  Line 4 - World War II v3 1941 Balanced Mod
                                  Line 2195 - 1941balancedmod
                                  objectives.properties - World_War_II_v3_1941_Balanced_Mod

                                  PantherP 1 Reply Last reply Reply Quote 0
                                  • PantherP Offline
                                    Panther Admin Moderators @Jason Green-Lowe
                                    last edited by Panther

                                    @Jason-Green-Lowe Yes. I think Line 2195 was the only change needed, nothing else.

                                    Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                                    1 Reply Last reply Reply Quote 0
                                    • Jason Green-LoweJ Offline
                                      Jason Green-Lowe
                                      last edited by

                                      @Jason-Green-Lowe said in Help: National Objectives are removed when editing name of map file:

                                      World_War_II_v3_1941_Balanced_Mod

                                      Well, I have made exactly the changes you suggested on github, but I am still getting the "MapNotFoundException" error. For some reason, your local copy of TripleA is able to search for and find a map called "1941balancedmod" and mine is not. I do not understand what is going wrong, and I am feeling frustrated.

                                      PantherP 1 Reply Last reply Reply Quote 0
                                      • PantherP Offline
                                        Panther Admin Moderators @Jason Green-Lowe
                                        last edited by Panther

                                        @Jason-Green-Lowe
                                        I have already downloaded the new map-zip from your Github repo - and it works fine.

                                        Please try that.

                                        Before delete the map zip and the map-properties file from your downloadedMaps folder.

                                        Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

                                        1 Reply Last reply Reply Quote 0
                                        • Jason Green-LoweJ Offline
                                          Jason Green-Lowe
                                          last edited by

                                          I did just that -- I deleted the map zip and the map-properties folder, uninstalled and reinstalled tripleA, downloaded the new map-zip, and got this error:

                                          c0a69410-3f2c-4384-aab7-37d0ebaf9cb1-image.png

                                          PantherP 2 Replies Last reply Reply Quote 0
                                          • PantherP Offline
                                            Panther Admin Moderators @Jason Green-Lowe
                                            last edited by Panther

                                            @Jason-Green-Lowe

                                            What I asked you was to manually download the zip file from your repo and place it manually into your downloadedMaps folder - to see that it works.

                                            Did you use the ingame-downloader?

                                            Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

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