Map Making Q&A
-
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?
-
@simon33 yea idk. That and the yaml are the only map lists I know of.
Edit
Here's a couple links with some bot infohttps://github.com/triplea-game/infrastructure
https://github.com/triplea-game/infrastructure/tree/master/ansible
-
@simon33 There is some confusion is caused by the loose use of terminology, especially the term "map".
Here are the definitions I use
Mod A folder either on GitHub or your local computer that contains the files necessary to run specific scenarios. The in-game downloader uses the file https://github.com/triplea-game/triplea/blob/master/triplea_maps.yaml to track the mods. Mods can also be downloaded from the site https://triplea-game.org/maps-list/maps/ or installed directly in your C:\Users<username>\triplea\downloadedMaps folder.
Map The set of files used to create the game board used in TripleA. In earlier versions of TripleA a mod could reference a map in separate folder, but that is no longer possible. There is a list at https://axisandallies.fandom.com/wiki/Category:TripleA_Maps. Some popular maps are used by multiple mods.
Scenario A specific game that can be played. A mod can have one or more scenarios. Scenarios are defined in the file map.yml in the mod. There is a list at https://axisandallies.fandom.com/wiki/Category:TripleA_Scenarios
xml The file that defines the non-map information for a scenario. A mod may have multiple xml files. If an xml file is not listed in map.yml, it will not be visible to TripleA.
-
@simon33 said in Map Making Q&A:
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?
Those "packages" are the maps.
Their names are given here:
https://github.com/triplea-game/triplea/blob/master/triplea_maps.yamlI don't know what you mean by "cycling the triple-maps repos".
For example, the name of the map given by the map-folder named as
the_pact_of_steelis "The Pact of Steel".Map-folders' names are supposed to be derived from maps' names this way:
When your map name is converted to all lower case, and spaces replaced with underscore, it must match the repository name.
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