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

    My map editor for TripleA

    Scheduled Pinned Locked Moved Map Making
    45 Posts 7 Posters 120 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 @RogerCooper
      last edited by

      @RogerCooper
      About a week but it is not finished.
      I thought a more collaborative work would be better here so if you have suggestions I try to implement them. 🙂

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

        Update

        • Draw borders hides the relief while you draw, so you see exactly what you are editing.
        • No more shadows: after Make territories, the relief is rebuilt where you drew. One Undo takes back both. On older maps, run Create relief… once first.
        • Other reliefs stay untouched; a message offers Create relief… instead.
        • Unit places: the unit size shows before you lay them out, and centers can move up to 27 px to fit more places.
        • Overflow arrow on the last unit place; switch the side in the right-click menu.
        • Right-click menu to add or remove unit places and to put markers where you click.
        • Save lists the files it will write and keeps the XML's order and formatting.
        • Places menu sorted and grouped, with "(none)" for empty kinds; capitals are a yellow star, PUs show "6P".
        • The map no longer jumps when a banner or goal appears.
        RogerCooperR TheDogT 2 Replies Last reply
        Reply Quote 3
        • RogerCooperR
          RogerCooper @xxXEddieXxx
          last edited by

          @xxXEddieXxx I would find useful it you could automate drawing a grid pattern over a relief map without existing territories. You would need the following options

          • Square grid without diagonal connections
          • Square grid with diagonal connections
          • Hex grid with straight rows
          • Hex grid with straight columns
          • Offset squares with straight rows
          • Offset squares with straight columns

          You could set the width of the territories or alternatively set the number of rows and columns.

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

            @xxXEddieXxx
            I have not ran the latest version, so bear that in mind .

            Publish
            Does not scale to the width of my screen 1920x1080

            image.jpeg

            .
            Version
            There is a version in the xml, <info name="1941 Global Command Decision" version="1.285"/>

            TripleA does not read the version but the app can.
            TripleA does read the minimum versison and enforces it with a stop loading and usually offers an upgrade <triplea minimumVersion="2.7.14848"/>

            .
            Help
            image.jpeg

            .
            All help buttons should say on the top line what the file being read/written is.

            .
            Repository
            Most(51%+ probably much higher) maps repository name is the same as the xml name, The A&A style usually don’t.
            If GitHub repository=xml name could say Published

            .
            GitHub Desktop vs Git-Scm
            image.jpeg

            For us mere mortals GitHub Desktop is a better graphicial frontend to Git, yes? It is easier to use than Git-Scm (mainly command line)
            Only downer is GitHub Desktop has no official Linux support.

            .
            FIles
            Great addition, but;
            I would increase font size and reduce the ‘white’ space between each line
            Bolder green ticks, Orange o, Red already red !
            This would make it more readable to my tired old eyes. 🙄

            .
            Attachments
            Make a column called Type, to list all the Attachment types
            Remove the options word and put the numbers in Column headed Options
            Two lines can be reduced to one saves boring scrolling, a lot.

            ‘White’ space
            With heading like that you know what coming. 🙄
            Each of the pairs eg Name & relationshipTypeAttachment field can be on one line, saving hortizontal white space, so less scrolling, yay.

            image.jpeg

            .
            Map
            Remove and add to the Map left hand pane all the View menus.
            Note Connections & Neighbors are the same, so one can go anyway.

            Assuming View into Map column above, then the Place contents can be on permanent display, probably over two lines, when the correct Map option (left hand pane is selected) less mouse work, or maybe for Expert mode?

            .
            Territories
            The right hand should be a table, less scrolling, I know you can search, but with 800 TT/SZ its still a lot
            Columns of TT/SZ name, Faction Owner, and PUs
            Then you can sort by these columns as well as search.

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

              Update

              • Remove nation: also taken out of unit options that list nations (captured by, given to, destroyed when captured by)
              • Impassable sea zones hatched on the map and darker in the small map
              • Territories: sort by name, owner or PUs
              • Attachments: one line per attachment; Name and Attached to side by side
              • Files: tighter rows, bolder marks
              • Publish: uses the full width of a wide screen
              • Help "?": says which file the tool reads and writes
              • View "Neighbours" renamed to "Connections"
              • Text editors (Files, Game notes, Description, Texts) are new:
                • Coloring for XML, HTML, properties and yml files
                • Line numbers and folding; brackets are paired
                • Find with Ctrl+F
                • Text size: Ctrl + mouse wheel, or right-click → Bigger / Smaller text; one size for all texts, kept
                • Colors: right-click → Colors from a theme file… (an RSyntaxTextArea theme), or as the app
              TheDogT 1 Reply Last reply
              Reply Quote 2
              • TheDogT
                TheDog @xxXEddieXxx
                last edited by TheDog

                @xxXEddieXxx
                For version 0.1.9

                Map Look> Resize map
                1941 GCD cannot be increased in size only shrunk. But it says it can grow 60% this is not correct.
                Also it should not offer what it cannot do, eg offer 50% and custom shrink of 60%
                Ideally the resize should work up to a bigger px size, that is bigger than 16816x8085px
                Can this be increased so I can make 1941 GCD bigger ?
                Also what are the maximum limits of this resize ?

                image.jpeg

                .
                Infrastructure labels

                image.jpeg

                Im not a fan of the Infrastructure labels can they be unit icons instead ?
                If this is/was a request then maybe these display options
                --Infrastructure only
                --Units (not Infrastructure)
                --All units

                .
                Places> Reload places from the files

                image.jpeg

                When selecting this without place,txt or decorations.txt loaded, just get this timed popup, where are the place,txt or decorations.txt ? (not displayed)
                image.jpeg

                Ideally it should tick these on the menu and therefore display both place,txt or decorations.txt

                .
                Places> Placement
                When working in a TT/SZ it would be good to highlight, say with an Orange shade all the units in that TT/SZ, as sometimes you are not sure which TT/SZ the units belongs to.

                image.jpeg

                .
                Places> Placement
                When selecting a unit, a nice addition, using the 4 arrow keys to move a px at time, for micro placement would be cool.

                .
                Map Look> Resize

                image.jpeg

                This should also say all baseTiles & all reliefTiles, not 1179 more.

                Said Saved without a new relief ? (I could not screen capture this)

                Checked it does resize reliefTiles, so message above is wrong.

                .
                More help/intelligence can be given to the mapmaker by
                Giving this suggested size calculation
                1 / current unit.scale (round up to the nearest even number)
                eg. 1/.875 = 115% but thats an odd percentage, so best 116% or 120%
                If the map is 6500 x 4000 at 120% = 7800 x 4800px also change the unit.scale to 1
                The app could also offer to change this ?

                .
                Map Look> Resize - Line Smoothing
                The map resize function is awesome, it does so much for very littler user input. 👏 👏

                Here I am being really fussy, but if you don’t ask you don’t get 🙄

                Can the resized line images be smoother ?

                Settlers: Fallen Empire, 120% resize at 200% zoom
                Circle drawing is rough ?

                image.jpeg

                .
                Settlers: Fallen Empire, 100% so before resize at 200% zoom

                image.jpeg

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

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

                xxXEddieXxxX 2 Replies Last reply
                Reply Quote 1
                • 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

                            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