Map Making Q&A
-
How do I allow any territory produce units? Looking in POS xml is not super simple.
-
@ff03k64 You know you have to look at pos2 not pos right? Anyways, you can also look at the Chinese player for any games of the wwiiv3 map.
-
@Cernel Oops, POS2 is what i meant. I was actually looking at a wwiiv3 map for their movement restrictions. It looks like it is the same place then. I assume that is limited to territory value or unitproduction value then? Will unitproduction work by itself, or will i need the setting that i found by looking at china?
-
No, territories producing units are not limited by the unit production value of the territories. They may have limits of various kind, but the same for every territory. The way you allow normal production everywhere is having factories everywhere. You can avoid all those factories displaying, with a map.properties setting.
-
@Hepps said in Map Making Q&A:
@ff03k64 Maybe just remame the thread to General Map Making Questions
That's practically inconsistent with what we have seen so far, though. We could make a stickied "Map Making Q&A", but so far the usual process have been opening a thread for each question, or group of questions. Even if we go the way of having an eventually massive single "Q&A" topic, we'll still have people opening new threads, instead, and currently I cannot see a way to move the first posts of threads, or consolidanting entire threads into other ones (it was possible in the old WarClub forum, instead).
-
@Cernel @Hepps IMO, what we would really need is a proper wiki, or the POS2 xml in a format that allows linking. Or if anyone actually gets around to making a tutorial xml, make it in a format that allows linking.
For now, I am editing my first post with my questions that I think get useful answers.
@Cernel said in Map Making Q&A:
@Hepps said in Map Making Q&A:
@ff03k64 Maybe just remame the thread to General Map Making Questions
That's practically inconsistent with what we have seen so far, though. We could make a stickied "Map Making Q&A", but so far the usual process have been opening a thread for each question, or group of questions. Even if we go the way of having an eventually massive single "Q&A" topic, we'll still have people opening new threads, instead, and currently I cannot see a way to move the first posts of threads, or consolidanting entire threads into other ones (it was possible in the old WarClub forum, instead).
-
@ff03k64 FWIW, the current wiki really is not well put together. There is an important google doc that goes through all the steps for hosting a map, though when it comes to building one, it's a bit of a scatter/hodge. Also FWIW the current map making wiki is an amalgam of the various documentation we had in many locations, so at least it is unified. It would be great to get help improving it, I think it is globally editable, so contributions to it are welcome.
-
@ff03k64 You put an invisible factory in each territory. Look at Domination to see a scenario which does that.
Personally, I don't like producing in any territory, I think it is unrealistic and makes the game less interesting. Taking factories and the decision to build a factory are an important part of the game.
-
@ff03k64 There is an XML wiki tool here: http://www.starlords3k.com/XOB.html. That combined with the POS2 XML comments are generally the best XML resources.
-
<!-- defaultType: optional, default is "Human"; options are "Human", "AI", "DoesNothing"; sets player to this type by default in the player selection window -->
Can you pick a specific AI for them?
-
@ff03k64 No, it defaults to whats considered the best AI so Hard AI right now.
-
How do you create a new unit option? I haven't found the file that defines them.
I'm attempting to add an option similar to "CanBombard" to Forts so they can fire in support of land and sea battles in an adjacent tile.
-
@ryansplace You can look at the xml object browser. Also the Pact of Steel 2 mod has extensive comments documenting a great deal.
canBombard allows ships to support amphibious invasions, nothing else.
-
Hey folks, help a feller out.
Trying to create a Trigger that changes a relationship value between two factions from Allied to War with a 20% chance between rounds 20 and 30.
What am I doing wrong? I know $Player$ doesn't work but I don't grasp the triggers as much as I do the rest of the coding stuff.
<attachment name="conditionAttachment_Covenant_Civil_War" attachTo="Sangheili" javaClass="RulesAttachment" type="player"> <option name="rounds" value="20-30"/> </attachment> <attachment foreach="$Player$" name="triggerAttachment_Covenant_Civil_War" attachTo="Sangheili" javaClass="TriggerAttachment" type="player"> <option name="conditions" value="conditionAttachment_Covenant_Civil_War"/> <option name="relationshipChange" value="Sangheili:Jiralhanae:War"/> <option name="relationshipChange" value="Sangheili:UNSC_Core:Allied"/> <option name="relationshipChange" value="Sangheili:UNSC_Colonial:Allied"/> <option name="chance" value="1:5"/> <option name="uses" value="1"/> <option name="when" value="before:jiralhanaePurchase"/> </attachment>
-
@unit332 Try removing the foreach loop and check the capitalization on everything.
Also for debugging purposes set the round to 1+ and the chacne to 1:1 to see if you can get the trigger to fire.
-
@rogercooper Thanks!