In the map.yaml file, we can include additional files like rules.yaml as follows:
In some of the included maps, you will see a format such as:
With this, it appears as though it is calling for a default rule set that is included within the ra directory. This works fine it seems.
So, with it being clarified that I already understand this information, how could I go about having sub directories included within my maps folder?
For example;
appdata\roaming\openra\maps\ra\release**\MAPFOLDER\rules
If I had a subfolder called rules, and within that I had yaml files for infantry and structures, I'd like to be able to call those 2 files without moving them into the parent folder. I would imagine that the following would work, but it does not appear to.
To take that to the next level, what I would ideally like to do nesting by creating a rules.yaml file to include in the map.yaml file, so that it would look as follows:
map.yaml
To which the rules.yaml would include:
I hope that I am being clear with my intent, I'd really just like to keep this all as organized as possible. This would allow for me to easily copy and move rulesets between maps, and only having me add a few lines to the map.yaml file.
CODE:
Rules: rules.yaml
CODE:
Rules: ra|rules/campaign-rules.yaml, rules.yaml
So, with it being clarified that I already understand this information, how could I go about having sub directories included within my maps folder?
For example;
appdata\roaming\openra\maps\ra\release**\MAPFOLDER\rules
If I had a subfolder called rules, and within that I had yaml files for infantry and structures, I'd like to be able to call those 2 files without moving them into the parent folder. I would imagine that the following would work, but it does not appear to.
CODE:
Rules: rules/infantry.yaml, rules/structures.yaml
map.yaml
CODE:
Rules: rules.yaml
CODE:
Rules: rules/infantry.yaml, rules/structures.yaml
Statistics: Posted by petermullen — Fri Dec 13, 2024 7:21 am — Replies 0 — Views 8