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

    My map editor for TripleA

    Scheduled Pinned Locked Moved Map Making
    49 Posts 7 Posters 139 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

      I need to think about how to handle bigger maps. A Image file that has 600mb is actually quite large.
      In my first round i will make the UI resemble the rules the editor applies so only 60% will aviable. The rest are good points and will be implemented! πŸ™‚

      1 Reply Last reply
      Reply Quote 0
      • 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 πŸ™‚

                        1 Reply Last reply
                        Reply Quote 1

                        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
                        Powered by NodeBB Forums