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

    My map editor for TripleA

    Scheduled Pinned Locked Moved Map Making
    87 Posts 7 Posters 302 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.
    • V
      Vendetta
      last edited by

      Renaming existing units from within the editor could go on the enhancements list. Would also have to rename the unit images they're currently using, including any of the tech variant ones.

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

        @xxXEddieXxx
        version 0.2.6
        Using 11 Ring of Power

        Units
        When you hover over a unit icon the current Tooltip popup activates. This is a quick way of viewing the current stats of the unit in a familiar format.


        Text and Sounds
        Game Notes

        image.jpeg
        .
        It used to read the *.xml
        Now if there are html style comments they also get written to
        games/map_name/.notes.html
        So there can be a duplication.
        The xml version should be deleted.
        As the new way is games/map_name.notes.html only.
        So the file changed is only games/map_name.notes.htm not *.xml


        Texts
        These 5 tabs should be in the left hand pane. Saving space by removing them for each tab.
        They are so distinct they don’t need to be grouped together as tabs.
        Also by removing sounds (left pane) and adding it to Messages like Messages & Sounds as sounds are directly paired with Messages/notifications they should be treated together and on the same pane.

        .
        image.jpeg


        Text> Unit tool tips
        As these are units add in Units icon, also add in hover Tooltips, as this would help fill in the current tool tips.

        .
        The tool tip of
        Duplicated & clutter text, is not needed, please remove. the tool tip of

        image.jpeg

        .
        Please add a Partially formatted text box, between Text box (raw as written in Tooltip.txt) and the Preview box.

        Partially formatted text box
        Takes the text from text box above and for every <br> and <p style, partially formats the text by placing it on a new line. This will encourage Novice, Advanced and me to use this as faffing about with unformatted text is a pain and time consuming.

        Maybe just remove the Text box option?

        eg. leadr-L3-HighElf would look like this

        * Max 1, 4HP, is Heroic, Lvl 3 of 3
        <br> * Generates +1 Diplomacy & +3 Fame /turn
        <br><b><p style="color:green;"> * Duel: Targeted 6 Atk/Def vs Heroic</p></b>
        <b><p style="color:green;"> * Command: +1 Atk/Def to 6 units</p></b>
        <b><p style="color:blue;"> * Armoured: Suppress, -1 Atk/Def to 1 enemy unit</p></b>
        

        A save would reassemble the broken lines into one line.

        .
        Preview - Display/Formating is off
        From TripleA
        .
        image.jpeg
        .
        From Map Editor
        Note the extra spacing
        .
        image.jpeg

        You might want to put some help text on the right panel to aid with the tooltip text ?
        Here is mine to myself from 1941_global_command_decision

        # <br> forces a line break in text (carriage-return)
        # <b> Bold </b>
        # <i> Italics </i>
        #       non-breaking space,  used for lots of extra spaces
        
        # Colored Text, supports one line HTML	<br> <b><p style="color:green;"> * Rail links to move land units upto 3 territories, depending on terrain effects</p></b>
        # Pumpkin Orange #FF7518 hex color
        # LightSeaGreen  #20B2AA hex color - good for matching cyan color of Construction/consume by
        # Red		- Combat additions
        # Orange	- Warning or notification, usually to say what can be targeted or not
        # Blue		- Suppression (-1) off enemy Attack or Defense
        # Green	- Movement or transport
        
        # image source must be in /map/doc/images - they will be for all factions unless make tooltip & faction image.png unique for EACH faction
        # tooltip.unit._Dev-Armor-Inf=	<br/><img src="Armor-Inf.png"/>		<br> * Develop <b>Armor-Inf		</b> Type:Land. Cost ??pu	<br> * Att | Def | Mov: 3 3 1 <br> * PTo complete, place on a Territory with: <b>Industry-Hvy</b>
        

        Text> Political actions
        There is no way that a map maker will use this pane as it requires too many repetitive entries.
        eg. 11 Rings of Power has 2240 entries with multiple fields per entry. 🙄

        I have a crude parameter driven program, to generate the notifications.properties lines, that you can have, just say?
        Then you can take its crudeness and turn it into something a novice can use?

        Maybe this is for a much latter version as it will require lots of testing and time?

        There appear to be 7 elements to the Political Action, these would be better displayed in the right hand pane. This would mean a more complicated right hand pane, but all of the Political Action text is well laid out and easier to read.


        Text> Objectives
        Using Greyhawk Wars as an example
        Please add a Partially formatted text box, below Text box (raw as written in Tooltip.txt).

        Partially formatted text box
        Takes the text from text box above and for every <br> and <p style, partially formats the text by placing it on a new line. This will encourage Novice, Advanced and me to use this as faffing about with unformatted text is a pain and time consuming.

        Maybe just remove the Text box option?

        .
        Missing objectiveValue
        The command for Objectives is usually an <option name="objectiveValue" value="2"/>
        This could/should be read only as the focus of this panel is the text of the objectives.txt

        Missing uses field
        Another useful display only function is how many uses the Trigger has.
        <option name="uses" value="1"/>


        Text> User Action
        Using Greyhawk Wars as an example, the app lists 984 instances, I question this number.
        Searching for UserActions this counts 181 instances 😕
        I think the number is closer to 181.

        There appear to be 6 elements to the User Action, these would be better displayed in the right hand pane. This would mean a more complicated right hand pane, but all of the User Action text is well laid out and easier to read.

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

          @xxxeddiexxx
          version 0.2.6

          Technology
          Using 1941GCD

          All nations have these at game start, the Map Editor’s are blank

          image.jpeg

          .
          In TripleA at start

          image.jpeg

          .
          Tech for 1941GCD does not use techTokens, so there is no PUs per roll, so these will always be 0.
          It does not even use a tech resource, it use a fixed start round + a random to grant the tech.
          .

          image.jpeg

          .
          Using 1888A Steam & Steel
          This has loads of technology, that has a resource called Tech it is not a techToken and again its PUs per roll will always be 0. These Tech are produced by Industries, the more industries the more Tech.

          .
          Total World War 3
          Uses techTokens
          Paratroopers, notice has it a start but the Research chart=Not researched
          Might be missing this test, eg
          <option name="tech" value="ImprovedAntiTank"/> <!-- tech given if true -->

          image.jpeg

          .

          Players>Nations> Compare Nation button(bottom right)
          Using 1941GCD

          Compare Nations vs TripleA Players tab
          Notice Inc-ome vs Pro-duction for Germany is different 311 vs 366
          and USSR 389 vs 308
          and Italy 92 vs 117, this might because of 20+ USSR TT start game as Germany
          and Britain 335 vs 333, SZ 107 & 108 were Britain, the SZ start game as Germany
          search go changeOwnership to find when this happens
          Operation Barbarossa started mid 1941, the map starts late 1941

          image.jpeg

          .
          More columns
          You might want to add two more columns at the end, that are not in TripleA, these are

          • Units that add PU, this includes Factories, Oil-Fields, Coal Fields, Lend-Lease-Depots
          • Units that deduct PU, typically used for Upkeep, -1pu/unit/HP/turn

          eg. for upkeep <option name="createsResourcesList" value="-1:PUs"/>

          This would help with balancing the map.

          .

          Nations> Select Nation> Change colors (Upper right)
          Some logic would help the map maker by asking how many

          • major Nations/faction=X
          • minor Nations/faction=Y

          With this data a spread of
          X color pallet suggestions for major Nations/faction for maximum contrast
          Y grey pallet suggestions for minor Nations/faction for contrast

          For the map maker to assign colors to the new nations

          Nations> Flag... (Upper right)
          It does not open to the expected folder
          it should open to
          downloadedMaps\MAP-NAME\map\flags
          if that does not exist then
          downloadedMaps\MAP-NAME
          with the ability to map a map\flag folder

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

            Update 0.2.7

            Yesterday i took a day off 😄
            but i had a update in the pipline i couldn't completly test until today.
            Maybe i will do another Update on some of the bugs that @thedog mentioned. Thank you again for the Feedback.
            All issues can be found here: https://github.com/xXEddieXxx/eddies-map-editor/issues (the list is becoming quite long LOL).

            Fixed

            • Loops (foreach) were read only in Units. Territories, Nations, Technology, Politics and the other tools showed defaults (PUs 0, no capital) where a map writes its attachments in a loop, as 11 Rings of Power, mega_new_elk or D-Day do, and a change there replaced everything the loop gave that thing. Every tool now reads them as TripleA does. A change of something a loop makes gives it an attachment of its own with all the loop's values, written after the loop, so nothing is lost; a toast says so, with Undo.
            • Units sat on other unit places than in the game. The Game view took a territory's units in the file's order; it now sorts them as TripleA does (the owner's first, then allies, units that cannot move, sea, air, land, attack, …), so a map that keeps its first place for one kind of unit, eg a flag on the name plate, looks as in the game.
            • Of two owner lines for one territory the editor took the first; TripleA takes the last. Now the last counts everywhere.
            • Game options: ▲ ▼ across a section's border seemed to do nothing. They now move an option within its section, are off at its ends and while a search or the tick hides options, and say why.
              Files cut every file name in the folder overview at 1280 px. The names stay whole; the purpose is cut instead and shows whole in its tool tip.

            New

            • Change for this unit only: a unit whose options a loop writes gets its own attachment with all the loop's values in one step, and is then changed in Units like any unit.
            • Uses up units: a section in Units, a row per used-up unit with its count and unit type, + to add one (consumesUnits).
            • A cost per resource beside PUs: a Cost field for each resource the unit's rule costs, and + for another one, eg Fame. A rule's only cost stays as 0, as TripleA loads no rule without a cost.
            • The map makers' forum in Guides & links: the user guide and the README: https://forums.triplea-game.org/category/28/map-making (i want to expand this in the app in the feature so the Forum gets linked via the tool more prominent)
            TheDogT 1 Reply Last reply
            Reply Quote 2
            • TheDogT
              TheDog @xxXEddieXxx
              last edited by

              @xxXEddieXxx said:

              Yesterday i took a day off

              Outrageous shouldn't be allowed. 🙂
              I hope you enjoyed the change.

              I have finished my 1st impressions, pass of the app.

              Now Im going to use its features, oh boy is it feature rich.

              The intention will be to update my maps with all the new found imbalances, next year.

              Thanks for the app and all your hard work, so far!

              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 0.2.8

                Thanks to @TheDog for the detailed feedback on 0.2.6. Nearly everything below comes from it, tried with 11 Rings of Power, 1941 Global Command Decision, Greyhawk Wars and Total World War.

                Fixed

                • Compare nations shows the income TripleA really pays. Contested land, sea zones another nation owned first and cut convoy routes no longer count, and Multiply PUs does. Checked against TripleA on 515 downloaded games. On 1941 GCD the USSR showed 75 PUs too many before.
                • Technology shows technologies that triggers give. Each nation's row names the triggers and when they fire, and a click opens the trigger. PUs per roll only shows when Tech Development is on, since without it nobody rolls.
                • Game notes are saved once, in games/<game>.notes.html, the file TripleA reads, and no longer also in the game XML.
                • PUs written as productionOnly (House of Habsburg, Invasion USA) no longer read as 0.
                • The unit tool tip preview in Texts looks like the game's, with the unit and owner in bold and pictures from doc/images. A "?" explains which HTML works.
                • Flag… and unit picture imports start in the map's own folders, not your home folder.
                • Resize keeps its progress bar until it's done, Find textures shows one too, and a slow save shows the busy cursor.

                New

                • PUs from units and Upkeep in Compare nations, for maps whose units make or cost PUs (factories, oil fields, upkeep).
                • Texts: one row per political or user action instead of one per line, eg 320 rows instead of 2240 for 11 Rings.
                • Texts: long HTML texts break into a line at each <br> and <p> while you edit them, and are saved back as one line.
                • Units: hover a unit to see the tool tip the game shows on the map: TripleA's stats or the map's own text. A link leads to its text in Texts.
                • Texts › Objectives shows what each objective pays, with a link to it.
                • Suggested colours in a nation's colour chooser, apart from the other nations', plus greys for minor nations.
                • Random start maps (eg 11 Rings): the guide no longer asks for land the game hands out, Home and Territories say how it's handed out, and a unit made by a loop shows which pair made it.
                • Chances in plain words, eg "2 in 6, about 33 %", in Triggers and Actions.
                • View › Units at the start hides or shows the starting units. Places now says Unit places.
                • What's new in the update offer: when a new version is out, the editor lists its main changes. Each release page now starts with its changelog.

                Download: https://github.com/xXEddieXxx/eddies-map-editor/releases/latest

                If you're on 0.2.3 or later with the Windows setup, use File › Look for a new version. The full list of changes is in CHANGELOG.md.

                Feedback and bug reports are welcome here or on GitHub.

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

                  While editing Path to Victory I noticed that objectives that were added via triggers/game options (in this case the Russian Lend-Lease ones) don’t show up in the editor’s objective tab, although they do when the game is launched.

                  They did show up on a search in the trigger section. Deleting them there made the game pop up an error note on launch, although the map still loaded in (and those objectives were still listed in Russia’s sections).

                  I was able to resolve it manually by opening the objectives file and deleting the relevant lines for those objectives myself.

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

                    @Vendetta thank you. I think the fix is already there it will be coming in 0.2.9 🙂

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

                      @xxXEddieXxx
                      version 0.2.8
                      using 11 Rings of Power
                      Text> Messages> Select HighElf_Prologue

                      Missing Preview images - many
                      These images are held here
                      \triplea\downloadedMaps\11_rings_of_power\map\doc\images

                      .
                      For reference, sometimes these are duplicates of these files
                      \triplea\downloadedMaps\11_rings_of_power\map\units*.*

                      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

                        Update 0.2.9

                        Thanks for the feedback on 0.2.8. This update fixes what you reported, tested with 1911 Theatre of Empires, 11 Rings of Power, Path to Victory and 270BC Wars.

                        New

                        • Make territories lets you choose each change. On maps with badly drawn borders, a gap in an old line used to merge territories you never meant to merge. Now each change is a row you can take or leave: a split, a new border, a merge or a new territory. Changes that come from lines you drew start ticked. Territories merge only where you erased their border. Anything else starts unticked and says why, eg "Alsace would take part of Champagne through a gap in the line". No choice leaves a hole or an overlap.
                        • Find in the map (Ctrl+K or File › Find in the map…). Search territories, nations, unit types, purchase lists, game options, triggers, objectives, actions, attachments and texts by name or id. Open takes you straight to it in the right tool.
                        • Saving big games is twice as fast, eg 0.55 s instead of 1.3 s on 270BC Wars. The saved file is the same as before.

                        Fixed

                        • Small islands such as Cyprus and Malta in 1911 are now found by Make territories and Redraw borders, instead of being merged into their sea zone.
                        • Objectives now also lists the triggers and conditions that have an objectives text (eg Path to Victory's Lend-Lease). Removing one also removes its text, which the game would otherwise report as an error.
                        • The preview of messages and other texts shows pictures from the map's doc/images, as the game does (eg 11 Rings of Power's prologues).
                        • In the dark theme, disabled fields and lists now look clearly dimmer.
                        1 Reply Last reply
                        Reply Quote 2

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