Map Making Q&A
-
@ff03k64
did you change the "mapName" to match the xml and folder ?<property name="mapName" value="global_40_house_rules" editable="false"/>
<property name="notes">I think the mapName part needs to be in lower case even if you have some upper case in your xml name. They need to be spelled the same though.
I have the xml named "Global_40_House_Rules"
The info name and version shouldn't matter. They should be whatever you want. The only other thing I can see is the "-master" on the end of the folder. Pretty sure that's just a github thing and shouldn't matter either. I guess you could always 86 it and see what happens though
-
@ff03k64 So just to clarify for you... check these four things...
Map Folder...

Games folder...

Start of the XML...
<?xml version="1.0"?>
<!DOCTYPE game SYSTEM "game.dtd">
<game>
<info name="Power of Politics 1914" version="0.1.0"/>
<triplea minimumVersion="1.9"/>End of the XML...
<property name="mapName" value="power_of_politics_1914" editable="false">
<string/>
</property>All of these things will ensure the map functions properly and that the stuff you have inside the Map Folder are drawn from there by the engine to populate the game itself when you launch it.
My suspicion is that one of these is still named after the original map... thus the engine is looking for the needed resources (flag images in this case) in the folders for that name. When it can't find them it then searches the engine resources... thus why it works when you move the flag images into the engine folders.
Hopefully that helps.
-
YEAH, Thanks for the help. Should I keep asking other questions here, or make new threads?
-
@ff03k64 Maybe just remame the thread to General Map Making Questions
-
@Hepps I am proud of myself, I figured out my next issue on my own!
-
@Hepps done title changed

-
Next Question, changing names of territories. Thanks!
I think i can figure it out, but would rather not break anything yet.
-
The Pact of Steel xml says that dice with more than 6 sides can "Setting diceSides to a number other than 6 can result in unexpected behavior."
I am just wondering what this means. Thanks!
-
I don't know if this would be a general question, or if i should make a new thread for it, but is there anyway to simulate promotions of units?
-
@ff03k64 Not in a simple way. But it is possible.
-
@Hepps I had a convoluted thought on a way to do it. If there is a fight, the enemies change into experience (i think i saw a map where castles turned into castle rubble), which would behave like a capturable material, and then you would consume that and a unit to make a more advanced unit. But that seems a bit to complicated for me, if it is even possible. Plus my goal would be to have it also have it die at the end of your turn so it could only get used by units in the fight.
-
@ff03k64 In theory that would work. But then only issue there is you would only ever gain experience as an attacker.
-
-
@prastle and I thought I was the drunk one :beaming_face_with_smiling_eyes:
sorry I'll self ban for 12 hours
probably more:) -
-
@Hepps Based on something one of these two said in another thread, I am hoping you can shed some light on using dice other than 6 sided. The POS xml says that using something other than 6-sided can have unusual results.
-
@ff03k64 I can't exactly remember the specific situations... but one is covered in the AA attacks section of POS... where if you have units with different dice sides for AA results and they are not specified as separate types of AA fire... then it will yield strange results...
maxAAattacks values: sets how many times this unit may fire its AA guns. Defaults to -1, which means infinite. If not infinite, then aa guns can stack.
(If you have multiple aa of the same type-group in a territory, and they have different attack values or dicesides, and different maxAAattacks, then what happens is that the engine will roll for the best attack/diceSides and for the best maxAAattacks, even if that is two different units
For example, if you have an aa gun that has infinite attacks and rolls a 4/20, and you have another gun with only one attack and rolls 3/6, then you will end up rolling infinite times at 3/6. This might be fixed in the future.) -
@Hepps So if everything has the same dice sides, it shouldn't matter?
Thanks!
-
@ff03k64 Yes. You should be fine. There was one other thing I remember being an issue... but I cannot remember what it was specifically.
Odds are if you run into it we will hear about it.

-
@Hepps Sounds like a good way to find issues!
Mainly just wanted to make sure it wasn't a huge thing that would keep me from wanting to use anything besides d6. I want to do lots of upgrades, and it is hard to do upgrades with only d6.
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