<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Map colors in map.properties]]></title><description><![CDATA[<p dir="auto">As someone who loves modding games, it hasn't taken me long to decide to start mucking around with TripleA. I've successfully done a few things mostly in the game's main XML file, but I decided yesterday to try my hand at a game with completely made up countries and units. I'm making a fantasy game with elves, orcs, and whatnot.</p>
<p dir="auto">So, I've gotten most of the content and behavior working like I want, but one thing is vexing me. I'm trying to use my own custom colors for my new countries, and the <strong>map.properties</strong> file doesn't seem to be doing anything for me. It's using some rather bright colors that I'm assuming are defaults:</p>
<p dir="auto"><img src="/assets/uploads/files/1550456952530-map-colors.png" alt="map colors.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Anyway, my <strong>map.properties</strong> file is in the map folder in the zipped root folder in downloadedMaps. Here is the code I'm using:</p>
<pre><code>color.Humans=0000cc
color.Undead=8800cc
color.Elves=00cc00
color.Orcs=cc0000
color.Dwarves=5a5a5a
color.Neutral=e87112
color.Impassable=d8ba7c
</code></pre>
<p dir="auto">I've defined the countries in the XML file, and again, everything is working in-game:</p>
<pre><code>&lt;playerList&gt;
    &lt;!-- In turn order --&gt;
    &lt;player name="Humans" optional="false"/&gt;
    &lt;player name="Undead" optional="false"/&gt;
    &lt;player name="Elves" optional="false"/&gt;
    &lt;player name="Orcs" optional="false"/&gt;
    &lt;player name="Dwarves" optional="false"/&gt;
    &lt;!-- Axis Alliances --&gt;
    &lt;alliance player="Undead" alliance="Axis"/&gt;
    &lt;alliance player="Orcs" alliance="Axis"/&gt;
    &lt;!-- Allies Alliances --&gt;
    &lt;alliance player="Humans" alliance="Allies"/&gt;
    &lt;alliance player="Elves" alliance="Allies"/&gt;
    &lt;alliance player="Dwarves" alliance="Allies"/&gt;
  &lt;/playerList&gt;
</code></pre>
<p dir="auto">So, I'm at a loss as to why these colors aren't being used. I've run into this before, when I tried to change the colors of the normal five nations via <strong>map.properties</strong>. Could it be a version issue, something else not set up in the XML, or something else entirely? Let me know if you need any more info.</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forums.triplea-game.org/topic/1226/map-colors-in-map-properties</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 17:45:21 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/1226.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Feb 2019 02:32:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 25 Feb 2019 16:48:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: Cernel">@<bdi>Cernel</bdi></a> said in <a href="/post/20644">Map colors in map.properties</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> Another suggestion may be that you search in internet for free fantasy maps, so you can draw it shadowing that, then use that map as the base for the relief thereafter, that can achieve very good results at relatively modest graphical skills.</p>
</blockquote>
<p dir="auto">For my, my concern is more the time it would take to make the tiles and being able to make a map that's "good". I'm not so worried about the difficulty of it.</p>
<p dir="auto">The thing I like about the Classic and Revised WWII maps is that they have some natural choke points, and the value of certain territories leads the factions into fighting over them. I kind of like looking at the differences between the two maps because of that. I want to make sure that any map I make would be interesting to play and not come off like a chessboard in the middle of an ocean.</p>
]]></description><link>https://forums.triplea-game.org/post/20711</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20711</guid><dc:creator><![CDATA[RobbyPants]]></dc:creator><pubDate>Mon, 25 Feb 2019 16:48:36 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Sat, 23 Feb 2019 06:26:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> Another suggestion may be that you search in internet for free fantasy maps, so you can draw it shadowing that, then use that map as the base for the relief thereafter, that can achieve very good results at relatively modest graphical skills.</p>
]]></description><link>https://forums.triplea-game.org/post/20644</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20644</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Sat, 23 Feb 2019 06:26:05 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Fri, 22 Feb 2019 01:27:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: Cernel">@<bdi>Cernel</bdi></a> said in <a href="/post/20628">Map colors in map.properties</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> Drawing a simple fantasy map of revised dimensions and running the various utilities to get all the stuff is really something you can do within 12 hours (and likely 3 to 6 hours). It won't have relief tiles, as there we start going into artistic field, but games can look good also without relief, and it will definitely feel more polished anyways. I suggest drawing the borders 2 pixels tick and running the connections finder at 4 pixels tick (so that you will have no missing connections and will just need to check for crossed borders to remove wrong connections).</p>
</blockquote>
<p dir="auto">Thanks. I might on some weekend when I have the time for that. Right now I'm tweaking how asymetric I want to make the units of the different factions. I think I went a titch too far and am dialing that back.</p>
]]></description><link>https://forums.triplea-game.org/post/20637</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20637</guid><dc:creator><![CDATA[RobbyPants]]></dc:creator><pubDate>Fri, 22 Feb 2019 01:27:56 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Thu, 21 Feb 2019 06:14:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> Drawing a simple fantasy map of revised dimensions and running the various utilities to get all the stuff is really something you can do within 12 hours (and likely 3 to 6 hours). It won't have relief tiles, as there we start going into artistic field, but games can look good also without relief, and it will definitely feel more polished anyways. I suggest drawing the borders 2 pixels tick and running the connections finder at 4 pixels tick (so that you will have no missing connections and will just need to check for crossed borders to remove wrong connections).</p>
]]></description><link>https://forums.triplea-game.org/post/20628</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20628</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Thu, 21 Feb 2019 06:14:57 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Tue, 19 Feb 2019 02:17:51 GMT]]></title><description><![CDATA[<p dir="auto">FWIW, on your local file system you can also have map in an expanded format.  That same expanded format is exactly the same as what gets checked in to github. For example, compare the files hosted here:<br />
<a href="https://github.com/triplea-maps/total_world_war" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/triplea-maps/total_world_war</a></p>
<p dir="auto">To how I have the map <em>not</em> zipped below:</p>
<p dir="auto">Command line view showing 'downloadedMaps' folder contents, note the 'total_world_war' map is a folder and not a zip:<br />
<img src="/assets/uploads/files/1550542571954-screenshot-from-2019-02-18-18-13-03.png" alt="Screenshot from 2019-02-18 18-13-03.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Same, downloadMaps folder from finder:</p>
<p dir="auto"><img src="/assets/uploads/files/1550542571991-screenshot-from-2019-02-18-18-13-50.png" alt="Screenshot from 2019-02-18 18-13-50.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1550542571984-screenshot-from-2019-02-18-18-13-41.png" alt="Screenshot from 2019-02-18 18-13-41.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1550542571977-screenshot-from-2019-02-18-18-13-35.png" alt="Screenshot from 2019-02-18 18-13-35.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forums.triplea-game.org/post/20601</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20601</guid><dc:creator><![CDATA[LaFayette]]></dc:creator><pubDate>Tue, 19 Feb 2019 02:17:51 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 20:36:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostion" aria-label="Profile: Frostion">@<bdi>Frostion</bdi></a> said in <a href="/post/20588">Map colors in map.properties</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> it is of course just sections of the code from the XML you "export" (the wording in the menu). You can copy over and use the starting units, the starting territory ownerships, the political situation etc. It is much faster than manually editing the XML. I would not use the intire XML you save in game, just the starting situation.</p>
</blockquote>
<p dir="auto">That makes sense. I backed up my old XML just in case, and used the exported one, which failed to parse. So, I then when and copy-pasted the unit placement tags into my old one, and it worked well. Now I'm onto tweaking and testing.</p>
<p dir="auto">Thanks for the help, everyone!</p>
]]></description><link>https://forums.triplea-game.org/post/20593</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20593</guid><dc:creator><![CDATA[RobbyPants]]></dc:creator><pubDate>Mon, 18 Feb 2019 20:36:53 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 17:00:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> it is of course just sections of the code from the XML you "export" (the wording in the menu). You can copy over and use the starting units, the starting territory ownerships, the political situation etc. It is much faster than manually editing the XML. I would not use the intire XML you save in game, just the starting situation.</p>
]]></description><link>https://forums.triplea-game.org/post/20588</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20588</guid><dc:creator><![CDATA[Frostion]]></dc:creator><pubDate>Mon, 18 Feb 2019 17:00:21 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 16:34:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: Cernel">@<bdi>Cernel</bdi></a> said in <a href="/post/20584">Map colors in map.properties</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> I meant the map drawing. Revised ruleset as basis is pretty much mandatory.</p>
</blockquote>
<p dir="auto">Ah. Yeah, it's mostly a labor of love at this point. I didn't want to get into the ins and outs of actual map editing. Once I'm happy with this thing and how the units behave, I might give legit map editing a go.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostion" aria-label="Profile: Frostion">@<bdi>Frostion</bdi></a> said in <a href="/post/20586">Map colors in map.properties</a>:</p>
<blockquote>
<p dir="auto">When populating, I hope you know that you can do this ingame via editing, then save the current game as a new XML file, then open original and new XML and copy/past the new starting units over <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/263a.png?v=f80efd2fa9e" class="not-responsive emoji emoji-android emoji--relaxed" style="height:23px;width:auto;vertical-align:middle" title="☺" alt="☺" /> ???</p>
</blockquote>
<p dir="auto">Ooh! That is <em>nice</em> to know. Thanks! I've been largely just looking at the map and editing the XML by hand. I'll save a copy of the XML and give this a test.</p>
]]></description><link>https://forums.triplea-game.org/post/20587</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20587</guid><dc:creator><![CDATA[RobbyPants]]></dc:creator><pubDate>Mon, 18 Feb 2019 16:34:37 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 15:08:06 GMT]]></title><description><![CDATA[<p dir="auto">When populating, I hope you know that you can do this ingame via editing, then save the current game as a new XML file, then open original and new XML and copy/past the new starting units over <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/263a.png?v=f80efd2fa9e" class="not-responsive emoji emoji-android emoji--relaxed" style="height:23px;width:auto;vertical-align:middle" title="☺" alt="☺" /> ???</p>
]]></description><link>https://forums.triplea-game.org/post/20586</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20586</guid><dc:creator><![CDATA[Frostion]]></dc:creator><pubDate>Mon, 18 Feb 2019 15:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 14:36:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> I meant the map drawing. Revised ruleset as basis is pretty much mandatory.</p>
]]></description><link>https://forums.triplea-game.org/post/20584</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20584</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Mon, 18 Feb 2019 14:36:51 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 14:31:00 GMT]]></title><description><![CDATA[<p dir="auto"><em><strong>I figured it out!</strong></em></p>
<p dir="auto">So, I saw that mapName property yesterday, changed it to "fantasy", and it complained about not being able to find the directory. I removed the world_war_ii_revised-master.zip from the directory, and sure enough, my fantasy map wasn't working.</p>
<p dir="auto">What I was missing was the <strong>-master</strong> suffix at the end of the zip. I saw that as a naming convention for zips that contained more than one game and didn't realize it was an important part to the game parsing behavior. So, after adding "-master" to the end of my zip (and corresponding properties file) and setting the mapName to "fantasy", it works!</p>
<p dir="auto">Thanks for your help, everyone. I was on the right track yesterday, but needed a nudge in the right direction.</p>
<p dir="auto"><img src="/assets/uploads/files/1550500103640-correct-colors.png" alt="correct colors.PNG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now to populate the rest of the map and test this thing out!</p>
]]></description><link>https://forums.triplea-game.org/post/20583</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20583</guid><dc:creator><![CDATA[RobbyPants]]></dc:creator><pubDate>Mon, 18 Feb 2019 14:31:00 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 14:22:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> Yes you have to ensure all references to the original you are copying are changed in the XML.</p>
<p dir="auto">The folder name itself.</p>
<p dir="auto">At the top of the XML</p>
<p dir="auto">And at the end of the XML</p>
]]></description><link>https://forums.triplea-game.org/post/20582</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20582</guid><dc:creator><![CDATA[Hepps]]></dc:creator><pubDate>Mon, 18 Feb 2019 14:22:45 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 14:17:32 GMT]]></title><description><![CDATA[<p dir="auto">Thanks everyone.</p>
<p dir="auto">Yeah, I set the owners of each territory in the XML file.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cernel" aria-label="Profile: Cernel">@<bdi>Cernel</bdi></a> said in <a href="/post/20577">Map colors in map.properties</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> Yeah, pretty sure your xml is just looking to some other folder (zipped or not) than the one you are working on.</p>
<p dir="auto">Just be sure that your xml entry in the "mapName" property is in line with the name of the folder you are working on, and there are no other folders with compatible names (there are a number of ways the map folder can be named and structured).</p>
<p dir="auto">Also, are you sure you want to use Revised for a fantasy game?</p>
</blockquote>
<p dir="auto">I think this is the heart of my problem. The approach I took was to copy the world_war_ii_revised-master.zip file, unpacked it, and renamed the thing "fantasy". So, I think you're right that I probably have some lingering reference in there to the revised directory. Probably the quickest way to test that would be to remove the revised zip from the downladedMaps/ directory to see if the fantasy one stops working.</p>
<p dir="auto">Looking at the bottom of the XML file, I do see this:</p>
<pre><code>&lt;property name="mapName" value="world_war_ii_revised" editable="false"/&gt;
</code></pre>
<p dir="auto">So, I have to figure out what to set that too, and I'll probably be fine.</p>
<p dir="auto">Regarding if I want to use the Revised rule set for a fantasy game: I guess I don't know. The only experience I have with these sorts of things is with the Classic, the Classic v3, and the Revised rule set of Axis and Allies. I don't know about any better alternatives.</p>
]]></description><link>https://forums.triplea-game.org/post/20581</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20581</guid><dc:creator><![CDATA[RobbyPants]]></dc:creator><pubDate>Mon, 18 Feb 2019 14:17:32 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 06:52:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robbypants" aria-label="Profile: RobbyPants">@<bdi>RobbyPants</bdi></a> Yeah, pretty sure your xml is just looking to some other folder (zipped or not) than the one you are working on.</p>
<p dir="auto">Just be sure that your xml entry in the "mapName" property is in line with the name of the folder you are working on, and there are no other folders with compatible names (there are a number of ways the map folder can be named and structured).</p>
<p dir="auto">Also, are you sure you want to use Revised for a fantasy game?</p>
]]></description><link>https://forums.triplea-game.org/post/20577</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20577</guid><dc:creator><![CDATA[Cernel]]></dc:creator><pubDate>Mon, 18 Feb 2019 06:52:53 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 06:43:44 GMT]]></title><description><![CDATA[<p dir="auto">Mysterious problems <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=f80efd2fa9e" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title="🤔" alt="🤔" /> I don't have any clear answers, but some experience.</p>
<p dir="auto">When editing the txt and xml files, be sure that you actually save/overwrite so that you use the new file.</p>
<p dir="auto">Also, if you have made a new version of a map by copy/pasting the intire map into the same map folder, just changing the name of the maps directory or zip, then it is a good idea to completely (but temporarily) move the original map out of the maps folder. Then you can avoid the new map occasionally actually drawing from the old map's settings and files. Your problem might be related to code inside  your new xml, where map name is maybe identical to the original map.</p>
]]></description><link>https://forums.triplea-game.org/post/20576</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20576</guid><dc:creator><![CDATA[Frostion]]></dc:creator><pubDate>Mon, 18 Feb 2019 06:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 04:55:49 GMT]]></title><description><![CDATA[<p dir="auto">It looks like the territory color is determined by the territory owner player. Did you update any territory owners to be the new players?</p>
<p dir="auto">I'm looking at <a href="https://github.com/triplea-maps/total_world_war" target="_blank" rel="noopener noreferrer nofollow ugc">Total_World_War</a> as an example, for example   this line:</p>
<pre><code>./games/Total_World_War_Dec1941_2.8.xml:      &lt;territoryOwner territory="Bulgaria" owner="DanubeAxis"/&gt;
</code></pre>
<p dir="auto">There are some interesting lines when looking at the custom country 'DanubeAxis', for example:</p>
<pre><code>./games/Total_World_War_Dec1941_2.8.xml:    &lt;attachment name="playerAttachment" attachTo="DanubeAxis" javaClass="games.strategy.triplea.attachments.PlayerAttachment" type="player"&gt;
</code></pre>
]]></description><link>https://forums.triplea-game.org/post/20574</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20574</guid><dc:creator><![CDATA[LaFayette]]></dc:creator><pubDate>Mon, 18 Feb 2019 04:55:49 GMT</pubDate></item><item><title><![CDATA[Reply to Map colors in map.properties on Mon, 18 Feb 2019 04:35:31 GMT]]></title><description><![CDATA[<p dir="auto">Another thing I've noticed is setting up centers for PUs or capitals in the /Maps folder doesn't seem to have an effect, either. It's like those files aren't being recognized or are being overwritten by defaults.</p>
]]></description><link>https://forums.triplea-game.org/post/20572</link><guid isPermaLink="true">https://forums.triplea-game.org/post/20572</guid><dc:creator><![CDATA[RobbyPants]]></dc:creator><pubDate>Mon, 18 Feb 2019 04:35:31 GMT</pubDate></item></channel></rss>