Map error help
-
@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"/> -
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 -
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.
-
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!
-
@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.
-
-
@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
-
Ummmm yeah this map is huge. (13091x12461)
-
So what do I do with the something.bat file?
-
@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. -
@RoiEX Apparently I "don't have permission" to edit the Vmpotions file. Any suggestions?
-
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 -
Ok thanks, that worked!
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