• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login
FAForever Forums
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Login

Questions about the new map generator

Scheduled Pinned Locked Moved Mapping
13 Posts 6 Posters 1.4k Views
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.
  • Z Offline
    zhanghm18
    last edited by 5 Sept 2023, 02:22

    I prefer maps like "heaven reaf" which are dark in color and have more reflective water. But there is no color option in the generator. How should I set up to generate a dark map?

    Also, have the Advanced map shaders been integrated into the map generator? Can I use the map generator to experience the latest new shader effects?

    B 1 Reply Last reply 6 Sept 2023, 20:09 Reply Quote 0
    • Z Offline
      zhanghm18
      last edited by 5 Sept 2023, 02:35

      In addition, would you like to ask which folder the map generated by the generator is saved in? I want to save the generated map permanently as a file

      1 Reply Last reply Reply Quote 0
      • Z Offline
        zhanghm18
        last edited by 5 Sept 2023, 02:50

        I copied the newly generated file and pasted it into the MAP folder while playing, but when I closed FAFclient, the map was automatically deleted. Is there any way to avoid client always deleting the generator's map?

        1 Reply Last reply Reply Quote 0
        • Z Offline
          zhanghm18
          last edited by 5 Sept 2023, 05:50

          @BlackYps

          1 Reply Last reply Reply Quote 0
          • B Online
            BlackYps @zhanghm18
            last edited by 6 Sept 2023, 20:09

            I don't understand why you repost questions that have already been answered in the original thread where you first asked them.

            To answer the question that is left over:

            @zhanghm18 said in Questions about the new map generator:

            I prefer maps like "heaven reaf" which are dark in color and have more reflective water. But there is no color option in the generator. How should I set up to generate a dark map?

            At the moment you can't select the biome that you want to generate. I would like to create this option, but there is a disagreement between developers if this should be added, as it would iirc remove the option that some biomes can spawn a variant that has much more reclaim than normal.

            1 Reply Last reply Reply Quote 0
            • R Offline
              RedX
              last edited by 8 Sept 2023, 03:54

              How does it determine to delete a map from mapgen and would it be possible to make it not do that for a certain map?

              M 1 Reply Last reply 8 Sept 2023, 03:58 Reply Quote 0
              • M Offline
                MostLostNoob @RedX
                last edited by 8 Sept 2023, 03:58

                @redx said in Questions about the new map generator:

                How does it determine to delete a map from mapgen and would it be possible to make it not do that for a certain map?

                Generated maps are auto-deleted when you close the FAF client & there's no way to change that.

                To save a generated map, you'll need to either move the folder of the generated map to a safe place & copy it back each time you start the client or copy the name of the generated map & paste it somewhere safe, then when you want to play it again, copy that name & paste it into the Map Name field of the map generator.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  RedX
                  last edited by 8 Sept 2023, 03:58

                  Deleted how? By name? How does it know to delete them is what I am asking?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MostLostNoob
                    last edited by 8 Sept 2023, 04:02

                    IIRC, any map that start with "neroxis_map_generator" is considered a mapgen map & thus auto-deleted; however, I won't say that's 100% correct.

                    1 Reply Last reply Reply Quote 1
                    • M Offline
                      magge Global Moderator
                      last edited by magge 9 Aug 2023, 04:22 8 Sept 2023, 04:12

                      @RedX The following code runs a function called deleteGeneratedMaps(). This function looks at the names of maps in a map directory. If a name matches a certain pattern that indicates it's a generated map, the code deletes it.

                      The method is here:

                      https://github.com/FAForever/downlords-faf-client/blob/8da6989fe928f55b1a382541718611e53c84925e/src/main/java/com/faforever/client/map/generator/MapGeneratorService.java#L70

                      You could fire up your IDE and comment out the specific code to keep the maps all the time if you prefer, but they accumulate over time, causing unnecessary clutter and probably performance issues later when you have thousands of maps.

                      Join a FAFtastic Team

                      1 Reply Last reply Reply Quote 1
                      • R Offline
                        RedX
                        last edited by 8 Sept 2023, 05:31

                        I'm not the one who was originally asking, just trying to help. It seems to me like you could then simply rename the map file and have it stick around, right? Would that cause issues with others being able to download the map?

                        M 1 Reply Last reply 8 Sept 2023, 06:07 Reply Quote 0
                        • M Offline
                          MostLostNoob @RedX
                          last edited by 8 Sept 2023, 06:07

                          @redx Yes, it would cause issues as players get maps & mods they don't have from the FAF servers, not from other players. The only way to get around that with manually renaming the folder is to use file sharing to send or allow access to the renamed folder to other players. This is not ideal & some may not want to deal with that.

                          The proper way to handle mapgen maps is as stated earlier; copy/paste the map name someplace safe & then copy/paste that into the Map Name field of generator when you want to play that map again. The other method would be the folder copy/paste procedure stated earlier.

                          There is of course the method that magge pointed out regarding amending the generator code, but I don't know if that's a long term solution as that could be overridden by client updates.

                          1 Reply Last reply Reply Quote 0
                          • I Offline
                            IndexLibrorum Global Moderator
                            last edited by 9 Sept 2023, 00:04

                            What is needed is a way to add specific seeds to a favorite or 'saved' list. Should allow you to regenerate the map on demand from your personal archive. Add a button for "add latest generated map to your saved maps" and a manual input field for the seed with the same function and you've got a pretty nice feature.

                            "Design is an iterative process. The required number of iterations is one more than the number you have currently done. This is true at any point in time."

                            See all my projects:

                            1 Reply Last reply Reply Quote 0
                            3 out of 13
                            • First post
                              3/13
                              Last post