TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Map error help

    Scheduled Pinned Locked Moved Map Making
    25 Posts 6 Posters 5.2k 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.
    • RogerCooperR Online
      RogerCooper @gabegolfer
      last edited by

      @gabegolfer I renamed the file game.txt, so I can upload it. game.txt . Rename to game.dtd

      Download xml copy editor (or some similar program) to use it.

      1 Reply Last reply Reply Quote 0
      • C Offline
        Cernel Moderators @RogerCooper
        last edited by

        @RogerCooper said in Map error help:

        @gabegolfer I think this is a bad character in this section:

                <territory name="sea273"/> water="true"/>
                <territory name="sea 258"/> water="true"/>
                <territory name="sea 267"/> water="true"/>
                <territory name="sea 284"/> water="true"/>
                <territory name="sea 324"/> water="true"/>
        
        

        My xml copy editor program flagged column 9 on the line with sea 258 but I don't see the issue. You should find the game.dtd file and use it to validate. For information on game.dtd see forum post

        Something like

        <territory name="sea273"/> water="true"/>
        

        should be written as:

        <territory name="sea273" water="true"/>
        
        1 Reply Last reply Reply Quote 0
        • G Offline
          gabegolfer
          last edited by

          OK, thanks to you guys and all your help I think the XML works now. But now I get a "Map name property not set on game" message after I load the map and try to play? Doesn't this have to do with the properties file?

          map.showComments=true
          map.useNation_convoyFlags=false
          map.mapBlendAlpha=0.3
          map.cursor.hotspot.y=0
          units.counter.offset.width=20
          map.mapBlendMode=OVERLAY
          map.showTerritoryNames=true
          screenshot.title.x=50
          map.showSeaZoneNames=false
          screenshot.title.font.size=20
          screenshot.title.y=50
          map.useTerritoryEffectMarkers=false
          units.counter.offset.height=70
          map.scrollWrapY=false
          map.showCapitolMarkers=true
          map.scrollWrapX=true
          map.showResources=true
          screenshot.title.enabled=true
          screenshot.title.color=000000
          units.stack.size=8
          dont_draw_territory_names=
          map.cursor.hotspot.x=0
          map.drawNamesFromTopLeft=false
          map.mapBlends=false
          map.width=13091
          units.scale=0.75
          color.Astrid=1cddff
          color.Fishlegs=a66505
          color.Hiccup=000500
          color.King_of_Dragons=8c8085
          color.Neutral=ffebf9
          color.Red_Death=910007
          color.Snotlout=ff4800
          color.The_Twins=00ff00
          map.hasRelief=true
          units.width=80
          units.height=70
          map.height=12461

          1 Reply Last reply Reply Quote 0
          • RogerCooperR Online
            RogerCooper
            last edited by

            That is not the problem. You need to have code like this:

            <!-- Map Name: also used for map utils when asked (MUST exactly match the folder or zip name of your map (do not include the .zip of course). May point to another map folder if you are making a mod of that map) -->
                <property name="mapName" value="the_pact_of_steel" editable="false">
                  <string/>
                </property>
              
            

            Check existing XML to see how it used.

            1 Reply Last reply Reply Quote 1
            • G Offline
              gabegolfer
              last edited by

              Ok that worked perfectly, but now all I get is an annoying "JAVA heap space" error. If you know how to adjust the memory or whatever the heap space is that would be awesome! Thanks again!

              RogerCooperR B C 3 Replies Last reply Reply Quote 0
              • RogerCooperR Online
                RogerCooper @gabegolfer
                last edited by

                @gabegolfer I can't help you with JAVA heap space other to suggest to make sure you have an up to date version of Java.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  beelee @gabegolfer
                  last edited by

                  @gabegolfer

                  I think u gotta do something to "Vmotions" boost it from 2 to 4. Unfortunately I don't remember where it is. You could ask @RoiEX or @Panther

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Cernel Moderators @gabegolfer
                    last edited by

                    @gabegolfer Is this map enormous? You actually get that right upon starting without any AI involved?

                    https://forums.triplea-game.org/topic/524/how-to-increase-memory-for-triplea

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      gabegolfer
                      last edited by

                      Ummmm yeah this map is huge. (13091x12461)

                      1 Reply Last reply Reply Quote 1
                      • G Offline
                        gabegolfer
                        last edited by

                        So what do I do with the something.bat file?

                        1 Reply Last reply Reply Quote 0
                        • RoiEXR Offline
                          RoiEX Admin
                          last edited by

                          @gabegolfer If you created your batch file, you just double click it and it should start TripleA.
                          However most people probably installed TripleA via the installer, so it would be better to follow those steps instead.

                          G 1 Reply Last reply Reply Quote 0
                          • G Offline
                            gabegolfer @RoiEX
                            last edited by gabegolfer

                            @RoiEX Apparently I "don't have permission" to edit the Vmpotions file. Any suggestions?

                            1 Reply Last reply Reply Quote 0
                            • RoiEXR Offline
                              RoiEX Admin
                              last edited by

                              You might be able to run your text editor with administrative privileges (I.e. as administrator).
                              If that doesn't work for you, you can easily copy the file to your desktop or something, edit it there and move it back to the original position to overwrite the file

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                gabegolfer
                                last edited by

                                Ok thanks, that worked!

                                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
                                • 1 / 2
                                • First post
                                  Last post
                                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums