These are the steps I've taken for get to create / discover this error:
1. Downloaded my 1st (edited) map from the OpenRA resources website:
-https://resource.openra.net/maps/32701/
NOTE....: The map successfully passed the Lint Check status on release-2019314
QUESTION: How can I validate this map for the latest OpenRA software release??(20200503)
2. I placed the download map inside the following directory:
C:\Program Files\OpenRA\mods\ra\maps
3. I opened this map's map.yaml file in NotePad++ (on Win10 in Admin mode):
4. I only added the most simple example from this page:
-https://github.com/OpenRA/OpenRA/wiki/Map-Options
5. I saved the map.yaml file again on its current location.
6. I started OpenRA,[Singleplayer],[Skirmish],[Change Map]
7. I select the map via the OpenRa menu's
This forces OpenRA to parse all map.* files including the map.yaml file.
[Solved] OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
[Solved] OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
Last edited by Ronald on Sat Sep 05, 2020 6:42 am, edited 1 time in total.
Re: OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
8. This is how the OpenRA Map options looked after loading the map
A - Original Map.yaml without any extra rules added to it.
.
. B - Modified Map.yaml, with 1 extra rule at the end:
Rules:
-Player:
--Shroud:
---ExploredMapCheckboxEnabled: false
NOTE: the 2nd chat-window-line about OpenRA recognizing the custom rules!
.
. C - Modified Map.yaml, with 1 extra rule at the end
Rules:
-Player:
--Shroud:
---ExploredMapCheckboxEnabled: true
NOTE: the 2nd chat-window-line about OpenRA recognizing the custom rules!
.
.
QUESTION:
What goes wrong here and why?
- Is the given Github example flawed ?
- Have I made a typo / mini-yaml syntax_error ?
- Does OpenRA fail to pass the map's map.yaml file correctly?
- Option 4,5,n?
A - Original Map.yaml without any extra rules added to it.
.
. B - Modified Map.yaml, with 1 extra rule at the end:
Rules:
-Player:
--Shroud:
---ExploredMapCheckboxEnabled: false
NOTE: the 2nd chat-window-line about OpenRA recognizing the custom rules!
.
. C - Modified Map.yaml, with 1 extra rule at the end
Rules:
-Player:
--Shroud:
---ExploredMapCheckboxEnabled: true
NOTE: the 2nd chat-window-line about OpenRA recognizing the custom rules!
.
.
QUESTION:
What goes wrong here and why?
- Is the given Github example flawed ?
- Have I made a typo / mini-yaml syntax_error ?
- Does OpenRA fail to pass the map's map.yaml file correctly?
- Option 4,5,n?
Re: OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
As I said, you also need to lock the checkbox. Just setting the value won't do anything.
Re: OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
I've already tried out various combinations, which you can see documented over here:
- viewtopic.php?f=83&t=21256
So..how exactly can one "lock the checkbox"?
Re: OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
So, a 2 minute research on docs.openra.net later (https://docs.openra.net/en/latest/relea ... ts/#shroud)
you need to use this ExploredMapCheckboxLocked.
You already did this correctly in the other thread!
you need to use this ExploredMapCheckboxLocked.
You already did this correctly in the other thread!
Re: OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
Thanks for the next way-pointer SirCake. I did not learn/know (yet) that this extensive overview also contains Map-related settings.SirCake wrote: ↑Mon Aug 31, 2020 12:37 pmSo, a 2 minute research on docs.openra.net later (https://docs.openra.net/en/latest/relea ... ts/#shroud), you need to use this ExploredMapCheckboxLocked.
So far I was only working with the "Map-related mini-yaml" information - i was able to find - from these 2 pages below:
- https://github.com/OpenRA/OpenRA/wiki/Map-Options
- https://github.com/OpenRA/OpenRA/wiki/C ... ng-At-Once
Re: OpenRA - Map Modding - Mini-Yaml - Syntax error of internal parser flaw/bug?
@CH4Code - Thanks to your rewrite / clarification on the OpenRA Wiki - Map option page:
-https://github.com/OpenRA/OpenRA/wiki/Map-Options
-https://github.com/OpenRA/OpenRA/wiki/Map-Options