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

    My map editor for TripleA

    Scheduled Pinned Locked Moved Map Making
    42 Posts 7 Posters 115 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 @Cernel
      last edited by xxXEddieXxx

      @Cernel
      its not about limiting the size of the map, there is an undo button that keeps the map in cache.
      So everytime you change something there is half a gig placed in there so we are having a technical limitation in terms of the implementation of this undo functionality. if we disable the undo on big maps they can get as big as they want.

      V C 2 Replies Last reply
      Reply Quote 1
      • V
        Vendetta @xxXEddieXxx
        last edited by

        @xxXEddieXxx Could have a launch option where players can select a Compatibility Mode with no undo feature for when the map they're working with a map beyond the normal size limit.

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

          @Vendetta it will disable itself automatically with a message to the user(you are on a big map there is no undo bla bla)

          C 1 Reply Last reply
          Reply Quote 2
          • C
            Cernel Moderators Lobby Moderators @xxXEddieXxx
            last edited by

            @xxXEddieXxx said:

            @Cernel
            its not about limiting the size of the map, there is an undo button that keeps the map in cache.
            So everytime you change something there is half a gig placed in there so we are having a technical limitation in terms of the implementation of this undo functionality. if we disable the undo on big maps they can get as big as they want.

            Cool. Yes, please make optional to have the undo. Thanks.

            Or maybe having 4 options? Undo cache, undo RAM, undo hard drive and no undo? No idea if feasible.

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

              @Cernel
              i'd rather change the whole way the current undo works.
              User should never bother with these decisions. Maybe on large maps a file gets saved instead of it getting cached in ram. But this is low prio in my eyes right now.

              C 1 Reply Last reply
              Reply Quote 1
              • C
                Cernel Moderators Lobby Moderators @xxXEddieXxx
                last edited by

                @xxXEddieXxx Ok then just a setting for having/not having the undo feature (default having). I think it's quite important not forcing a maximum limit.

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

                  new update:

                  A lot has changed since the first test version. Most of it comes straight from your feedback, so thank you for that.

                  Territories and the map

                  • Places menu: show capitals, centers, convoys, names, PUs and the other markers on the map, several at once, drag them and save.
                  • Unit places: lay them out automatically (Squeeze as a spiral, or Grid), create the missing ones, or reload them from the files.
                  • Too many territories? Merge one into another, or remove many at once, smallest first.
                  • Split with a line and an Eraser for borders; a click erases a whole border between two territories.
                  • Islands can be clicked; before, the click chose the sea zone around them.
                  • Capital brush: a click moves a nation's capital.
                  • Units at the start: each row has a ×, and Remove all clears a territory.
                  • Resize map: make the whole map bigger or smaller, with everything on it.
                  • Export territory pictures: a PNG per territory, to draw over.
                  • Very large maps (eg 1941 GCD): borders can be drawn into them now. There is no undo for these lines, and the editor says so first.

                  How the map looks

                  • Canals are clearly marked in their tool.
                  • Textures for the relief: premade ones, your own pictures, and Find textures in the map. Thht symbols now.
                  • Political view: land in its alliance's colour.
                  • Connections across the map's edge show as dashed lines.
                  • The Neighbours view no longer starts with a territory chosen.
                  • Place numbers hide when zoomed out.

                  Nations, units and rules

                  • Rename a nation; its flags and unit pictures move with the next save.
                  • Has no capital for nations that are meant to have none.
                  • Flags from one picture, in all the sizes the game needs.
                  • Compare nations: territories, income, units and TUV side by side.
                  • New nations can buy the same as an existing one.
                  • Objectives: a tool of its own for national objectives.
                  • A nation's placing and moving rules in plain words.
                  • Stacking limits for unit types and for nations.
                  • Units panel rearranged; support to allies shows green, to enemies red.
                  • Terrain effects: values written with a count are read correctly now.
                  • Technology effects, buy window tabs and a Publish tool with a checklist.

                  Easier to use

                  • Show all options in the File menu, for those who want everything open.
                  • Fine as it is: mark a problem or note that is meant so, and it is no longer counted.
                  • Check's tick stays after a save.
                  • The editor's version shows in the File menu and on the start page.
                  • A TripleA that is too old for the editor is told at the start, and the editor looks right under imbus.

                  Maps that start in TripleA

                  • Every land territory gets its territory attachment, so a new map starts.
                  • Check and Play now start the game in memory and play its first round. Play opens TripleA only when that works, and says why when it does not.
                  • Nations without a capital no longer stop the game.
                  • Several edits that could break a game are fixed: splitting a territory, renaming one that a variable list names, adding an Activate Technology step.
                  • New problems are shown before you play, eg land units left in a sea zone.
                  • The "gamePlayer is null" crash came from TripleA loading two games at once; the editor now avoids that when it starts TripleA.

                  Colours

                  • Nations, land without an owner and impassable land show in the colours TripleA uses.

                  Other

                  • A Mac download

                  https://github.com/xXEddieXxx/eddies-map-editor

                  1 Reply Last reply
                  Reply Quote 5
                  • C
                    Cernel Moderators Lobby Moderators @xxXEddieXxx
                    last edited by

                    @xxXEddieXxx said:

                    @Vendetta it will disable itself automatically with a message to the user(you are on a big map there is no undo bla bla)

                    Ah allright. I missed this post. I see there is not actually a limit: just the undo gets automatically disabled. That is good.

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

                      @xxxeddiexxx

                      Lay out unit places
                      Could do with showing the px size of the unit & its zoom size from the map.properties file, before placment

                      Need to show the direction of unit overflow of the last unit in a TT/SZ. The default is to the Right, but depending on where the last unit appears in the TT/SZ the mapmaker might want to the left.
                      Using a toggle say ctrl+O to switch between Right and Left overflow.
                      On screen an arrow should indicate the current overflow direction.
                      In place.txt overflow is seen as
                      | overflowToLeft=true (overflows to the left)
                      | overflowToLeft=false (default, no need to show as overflows to the right)

                      The ability to add one more placment in the selected TT/SZ
                      The ability to remove, highlighted placment.

                      Current mapmakers are used to these, but maybe a right click menu is the way to go? (even for the toggle)

                      image.jpeg

                      .
                      Wish list questions
                      As the placement is based off center location it would be great if the app suggested moving the center coordinates to fit in more placments?
                      What value upto would work, 27px as this is half the maximum height of the unit?
                      Would the reiterations take to long? If so reduce the maximum pixels to move.
                      If it made a suggestion then an option to do it. (right click menu option do it)

                      .
                      Save
                      Before each save in Expert mode, a mapmaker needs to know what is going to be saved.
                      This is critical if you accidentally change something unintended or forget you have changed something.
                      A section that you can tick as read only/Dont save for each of the files to be saved.
                      Especially the. xml as it messes with the order and formatting.
                      The app should remember these setting from last save

                      .
                      Places (should be sorted & grouped, here is a suggested order)

                      Units
                      ---
                      Capitals – I prefer a yellow star, not C
                      Centers
                      Comments
                      Decorations
                      Names
                      PUs – should show the PU value as well as P, eg 6P
                      Terrain Effects
                      Victory Cities/Centers
                      ---
                      Blockade
                      Convoy
                      Kamikazi
                      

                      Places Options
                      Right Click on TT/SZ for a menu to add/remove the items shown
                      Left drag to move the selected item

                      When there is no file or nothing to display, against the selection it should say None)

                      .
                      Earthquake
                      The map gets shoved down and I lose my train of thought.
                      There is a space reserved for shoving the map down to display things, like
                      image.jpeg

                      Can this space be reserved by moving up/compressing the ‘white’ space above the map, so the map does not move, please, pretty please.
                      Yes this space will be ‘white’ space, but its better than moving the map.

                      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
                      • RogerCooperR
                        RogerCooper @xxXEddieXxx
                        last edited by

                        @xxXEddieXxx Nice work. The first useful TripleA-related project I have seen using AI. How long did it take you to do this?

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

                                    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 1 Reply 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

                                          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