⭕ Lord of the Rings: War of the Ring - Official Thread
-
@ff03k64 They all look like that to me. You don't need to specify the path to the file name, but you should only have 1 file of that name.
-
@rogercooper They have brackets for me.
-
@ff03k64 Interesting, none of mine have brackets.
-
@rogercooper
This is what they look like to me.map_name: red_sun_over_china games: - {game_name: Warlords FFA, file_name: Warlords.xml} - {game_name: Red Sun Over China, file_name: Red_Sun_Over_China.xml}https://github.com/triplea-maps/red_sun_over_china/blob/master/map.yml
-
@ff03k64 Both are valid yaml code Yaml format
-
@rogercooper said in
Lord of the Rings: War of the Ring - Official Thread:@ff03k64 Interesting, none of mine have brackets.
I think that might be due to the version of 2.6, Im fairly certain that the format has changed/evolved over time.
As Roger knows when you download 2.6 for the first time and run it, it will unzip all of your maps and create a yml file if there is not one.
With 2.6 and a new map, the mapmaker will have to code their own yml file or zip it and then let 2.6 unzip it and it will create a yml file.
-
@rogercooper Would this be a change big enough to update the triplea_maps.yaml file? I assume that is still the right way to do it, even though we have the yml file now?
edit: mainly the second question
-
@ff03k64 Both formats work. No need to change anything.
-
@rogercooper so we don't need to update the triplea_maps.yaml file anymore? I thought that was how the game knew to tell people that they have an old version of a map?
-
@ff03k64 Increment the version number map.yml
-
@rogercooper i don't see a version number there.
-
@ff03k64 Try the format I am using
map_name: large_middle_earth games: - game_name: Lord of the Rings: Middle Earth-Rebalanced file_name: Lord_of_the_Rings_War_of_the_Ring.xml version: 1 -
@rogercooper would that need to be removed from triplea_maps.yaml? Or will this one over rule that one?
-
@ff03k64 Don't confuse map.yml with triplea_maps.yaml.
map.yml designates how the individual scenarios will be displayed in the selection screen on your local computer.
triplea_maps.yaml is file maintained in github which designates how the scenario will displayed on the download screen
The version number should be changed in both.
-
@rogercooper i wasn't mixing them. That is why i was confused. I probably didn't ask the right questions to be clear. So this will need a triplea_maps.yaml update too then.
-
@ff03k64 That should work. I have only done 1 scenario update so far.
-
@thedog I messed up my files, can you test this and tell me if i got it all back correct?
https://github.com/CharlieAtlas/middle_earth/archive/master.zip
-
@ff03k64
Added the following;
doc folder and various missing units.I have only tested my variant of the game.
Updated zip
https://drive.google.com/file/d/12uXDCxJY4Ez44js4i-5iT9INzy7NVTIk/view?usp=sharing -
@thedog These are the two PRs (pull requests) that would need to be accepted for it. Someone else will have to accept them before they are actually incorporated. If you want to know how to make your own PRs in the future, I can probably show you how sometime.
-
@thedog map should be up and i think ready to download.
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