TripleA Logo TripleA Forum
    • TripleA Website
    • Recent
    • Popular
    • Register
    • Login

    My map editor for TripleA

    Scheduled Pinned Locked Moved Map Making
    51 Posts 7 Posters 153 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.
    • xxXEddieXxxX
      xxXEddieXxx @TheDog
      last edited by

      @TheDog

      Map Look > Resize

      • 1941 GCD: the message was wrong, not the resize. The editor holds a resized picture only
        up to 50 million pixels, and 1941 GCD is already 136 million, so it can only be made
        smaller. It now says "can be made smaller, to 60 % at most", and the 150 % and 200 %
        buttons are greyed out with the reason as tool tip.
      • Limits are now stated in the dialog: 25 % to 400 %, at most 50 million pixels, each side
        at least 200 px. Making 1941 GCD bigger would need a tile-by-tile resize; that is an open
        issue, not in this release.
      • The Saved message now names all tiles and relief tiles written, no more "1179 more".
        The relief tiles were always resized, only the message was wrong.
      • units.scale: the dialog now offers the size you suggested. With units.scale 0.875 it
        shows "115 %: units at their pictures' size"; tick it and the resize sets units.scale
        to 1.
      • Line smoothing: enlarged flat-color maps are now smoothed and then snapped back to the
        map's own colors, so curves no longer get steps and border lines stay one color.
        Have a look at Settlers at 120 % and tell me if it is good enough.

      Places

      • Reload places from the files now ticks Units in the menu, so the reloaded places show.
      • The clicked territory's unit places and units are shown in orange, so you see which belong
        to it.
      • Arrow keys move the place under the mouse by one pixel, Shift+arrow by ten.

      Infrastructure labels

      • Those name badges appear only when the editor finds no picture for the unit, so something
        in the picture lookup is off for that map. Logged as an issue; I'd like to check it with
        1941 GCD before adding display options.
      TheDogT 2 Replies Last reply
      Reply Quote 0
      • TheDogT
        TheDog @xxXEddieXxx
        last edited by

        @xxXEddieXxx said:

        Those name badges appear only when the editor finds no picture for the unit, so something
        in the picture lookup is off for that map. Logged as an issue; I'd like to check it with
        1941 GCD before adding display options.

        This might be because the folder that holds those images is the root of UNITS
        \triplea\downloadedMaps\1941_global_command_decision\map\units

        This means that ALL factions share these images, so reduces file size and duplications.

        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 1
        • TheDogT
          TheDog @xxXEddieXxx
          last edited by TheDog

          @xxXEddieXxx
          For version 0.1.91
          After a map resize save, got this popup message, it would be better to use the text just before pressing the save button as it has what is needed.
          image.jpeg

          For version 0.1.91
          Settlers: Fallen Empire, 120% resize at 200% zoom
          image.jpeg

          I will also post the resize with the other resize in above post for comparison.

          It appear just as poor as the 1st post here
          https://forums.triplea-game.org/topic/4472/my-map-editor-for-triplea/40?page=2

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

          TheDogT 1 Reply Last reply
          Reply Quote 0
          • V
            Vendetta
            last edited by

            Is there a way to rename the map from within the editor?

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

              @xxxeddiexxx
              For version 0.1.91

              Units
              Unit icon – sometimes the unit icon disappears, I cannot workout why
              image.jpeg

              .
              Sometimes – Gives support does not display as below
              Show all options is TICKED
              image.jpeg

              .
              Click on Add support button

              and the support data appears 😕

              image.jpeg

              Unit> Resources its missing, no I have found them
              Its most common use is for Upkeep
              <option name="createsResourcesList" value="-1:PUs"/>

              Unit> tuv (total unit value) its missing
              This should go near PU cost, as it over-rides the AIs value of the unit, especially useful when the item is given free,0pu or very cheap ie 1pu, or in the Miscellaneous

              .
              Miscellaneous
              Stacking limits should be renamed to Miscellaneous with a sub heading of Stacking limits
              image.jpeg

              .
              Maybe put tuv here as its not used frequently.

              .
              Stacking Limits are not working, data is blank, tried two maps
              image.jpeg

              .
              Units could display the actual unit png in the table below
              Be aware some unit icons have weird shapes, 115x115, so need to be shrunk, yes?
              You could test will 1941GCD its ships are upto 96x54, HQs 66x66px
              The norm is 48x48px
              image.jpeg

              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 1
              • xxXEddieXxxX
                xxXEddieXxx
                last edited by

                i've started to put your feedback into some issues,
                i will work on all of them if you want to see the current state you can check here:
                https://github.com/xXEddieXxx/eddies-map-editor/issues

                1 Reply Last reply
                Reply Quote 1
                • V
                  Vendetta
                  last edited by Vendetta

                  Tested the nation renaming feature. I noticed the nation will lose its original unit image set; the editor will create a new folder for those under the new name, but it won't copy over the original images from the folder with the old name, so you have to go back and do it manually.

                  EDIT: It also didn't copy their old flags over either

                  xxXEddieXxxX 1 Reply Last reply
                  Reply Quote 1
                  • xxXEddieXxxX
                    xxXEddieXxx @Vendetta
                    last edited by

                    @Vendetta said:

                    Tested the nation renaming feature. I noticed the nation will lose its original unit image set; the editor will create a new folder for those under the new name, but it won't copy over the original images from the folder with the old name, so you have to go back and do it manually.

                    i will start to put the feedback into issues now and test them more. Those are all things that arose because i tried to implement to much feedback to fast 😄 next releases will be a little smaller. But i try to test and iron out the bugs. Thank you again for testing! If you find more please tell me.

                    1 Reply Last reply
                    Reply Quote 2
                    • xxXEddieXxxX
                      xxXEddieXxx
                      last edited by xxXEddieXxx

                      Thanks to @thedog and @vendetta for the feedback on 0.1.91.

                      Update 0.2.0
                      Resize map and undo

                      • Any size. A saved map is resized tile by tile from its tiles on disk, so the editor
                        never holds the whole picture. 1941 Global Command Decision can be made bigger now.
                      • A progress bar above the map and a spinner in Map look show the resize working. Undo works after a resize, also after the save: the old tiles are kept aside.
                      • The message after the save ends with the map's new size.
                      • Not fixed: enlarging by an odd factor like 120 % still looks soft. A painted relief, as in Settlers: Fallen Empire. I tried a lot of different approaches but nothing seems to return a 100% perfect quality. We will keep it as is(my other approaches made it look worse LOL)

                      Units

                      • Pictures shared by every nation in the units folder itself are found;
                        badges for GCD's factories and bunkers.
                      • Value (tuv) sits in the top row beside the cost. Resources it makes each turn
                        (createsResourcesList, eg upkeep) is a field under Production.
                      • Stacking limits are the heading of a Miscellaneous section.
                      • Each unit's picture shows in the list of unit types.
                      • Supports and stacking limits written once for every unit or nation of a variable
                        (foreach), as GCD does, are read: Gives support no longer says None, the limits are no longer blank. They show read-only with a link to Attachments.

                      Nations

                      • A renamed nation keeps every flag, also variants of the map's own such as _star_fill
                        or _medium. Before, only the game's four variants moved and the rest was deleted with the old name.

                      Map

                      • Rename map in the File menu and on Home. It renames the game and map.yml; the older keeps its name.
                      • Save the map's picture as a file works at any size, from the tiles; the relief can
                        be saved the same way.
                      • A loading bar above the map while its picture is read from the tiles, and in the
                        New map wizard while a picture is read. The mouse waits while a map opens.

                      Known

                      • A unit's icon sometimes disappears. No repro yet; tell me the unit, the map and the step before. (so i can reproduce it)
                      • @rogercooper i made an issue about your feedback. But i need to think about it. Maybe i will provide a special mode (draw mode) where one can get more tools for drawing. I would like to keep this somewhat seperated from the main editor because this should be the first step and is pretty destructive on the rest of the map if done carless.

                      Thank you for reading 🙂

                      V 1 Reply Last reply
                      Reply Quote 3
                      • V
                        Vendetta @xxXEddieXxx
                        last edited by

                        One issue I noticed when dropping edited map folders back into the downloadedMaps folder for test play is that sometimes it would not load all the changes, instead booting up the earlier version of the map.

                        I figured out this was caused by the .bak backup files being left in the folders. Once I deleted those the game would load properly. It seems TripleA can get confused and pull data from those instead of the ones it’s supposed to.

                        We definitely want it to keep backup files, but maybe they could be stored somewhere else. Perhaps the Eddie’s Map Editor folder could have a Backups folder within it where it saves those, creating a subfolder for each map that get uploaded into the editor.

                        Another minor annoyance is that the positions for things like territory names, PUs, capitols, and so on are a little misaligned between the map in the editor and the map that loads up in game. They tend to show up quite a bit off from where you thought you’d put them, and correcting generally means having to open the map in both the game and the editor and do trial and error to figure out how much you need to adjust them in order to compensate - and you don’t see the results until you’ve saved the file again, closed TripleA, replace the map in the downloaded folder, and loaded the latest version.

                        Ideally, you would be able to toggle a preview version from within the editor where it actually loads in the names, numbers, flags, etc. to see where those are really going to end up in the exported version.

                        Finally, one more feature for the wishlist would be having a tab where you can build an overlay from within the editor, where it would generate a transparent background sized to match the map file. Have a toggle switch to show or hide the map layer underneath, and then you have buttons to upload image graphics and can drag them around to the desired positions. Even better if it can also create textboxes for you to drag around as well, and if those have Global 40 map styled fonts available as presets.

                        Potentially, you could even load in an overlay for another map like Global 1940, and then just use an eraser tool to selectively get rid of a few elements, allowing you to replace a few province names or values, if you wanted to make corrections or changes to an existing map.

                        xxXEddieXxxX 1 Reply Last reply
                        Reply Quote 1
                        • xxXEddieXxxX
                          xxXEddieXxx @Vendetta
                          last edited by xxXEddieXxx

                          @Vendetta
                          Thank you!
                          A lot of great suggestions.
                          You can follow the process here:
                          https://github.com/xXEddieXxx/eddies-map-editor/issues

                          One info for all of you, i have started to create a manual.
                          https://xxeddiexxx.github.io/eddies-map-editor/
                          There will be much change to it but if you want to find
                          more infos on the Map Editor, this may be the place 🙂

                          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
                          • 3 / 3
                          • First post
                            Last post
                          Powered by NodeBB Forums