Map Making Q&A
-
@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!
-
So I've updated World_War_ii_Global and the version number has been bumped but I have noticed that the bots online have not been updated. Is there another step I need to take to achieve this?
-
yea the bots need to be updated. I don't think anyone around to do it right now. There's some documentation out there, but I can't find it.
Basically you have to drop your firewalls to be able to do it and I didn't understand the safe way to do that.
@prastle and or @Panther probably know more about it. Or maybe @Cernel
You should be able to make a save of the latest map update and load that to a bot and play it that way though.
-
Nice workaround! The objective panel wouldn't work though.
-
@simon33 said in Map Making Q&A:
The objective panel wouldn't work though
Oh well that's no good. The panel doesn't work but it'll still show up at end of turn game report ?
Not ideal if so but at least one can play on the lobby that way.
Edit
It works locally though ? The Objectives ? -
@beelee said in Map Making Q&A:
The panel doesn't work but it'll still show up at end of turn game report ?
Correct.
-
Oh maybe if you've updated your local map package it will look there for the objectives rather than on the bots. Not 100% sure now.
-
yea Idk. Not perfect but people can at least play it on the lobby.
-
Actually, it seems that it stops you from loading a save game, because I have changed the name of the game from the previous version. If it was an upgrade to the previous version with the same name, it would be possible.
-
oh yea different name that's not already available won't work.
bummer
Yea until Dan gets back, I don't think anybody updates them, maybe roiex can idk
-
@beelee said in Map Making Q&A:
oh yea different name that's not already available won't work.
Would this list be in the triplea-game repository? Not sure where else it would be.
-
@simon33 yea your map should be listed there but until somebody updates the bots it won't work in the lobby.
-
@beelee said in Map Making Q&A:
@simon33 yea your map should be listed there but until somebody updates the bots it won't work in the lobby.
The obvious question then is where in the repo? You aren't sure?
-
@simon33 not quite sure what you're asking but here is the maps list
https://github.com/triplea-maps
Yours should be in there
-
That's the list of packages . Aren't you saying that there is a list of map names somewhere? Or is it generated by cycling the triple-maps repos?
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