[Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?
topic deleted
[Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?
.
Last edited by Ronald on Mon Oct 11, 2021 7:55 pm, edited 2 times in total.
Re: [Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?
.
Last edited by Ronald on Mon Oct 11, 2021 7:21 pm, edited 1 time in total.
Re: [Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?
.
Last edited by Ronald on Mon Oct 11, 2021 7:21 pm, edited 1 time in total.
-
- Posts: 9
- Joined: Wed Jun 10, 2020 4:34 pm
Re: [Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?
Good Work.
Not sure if you noticed but yamls are loaded sequentially as ordered in the mod.yaml.
So for example rules are loaded in the following order:
1st ra|rules/misc.yaml
ra|rules/ai.yaml
ra|rules/player.yaml
ra|rules/palettes.yaml
ra|rules/world.yaml
ra|rules/defaults.yaml
ra|rules/vehicles.yaml
ra|rules/husks.yaml
ra|rules/structures.yaml
ra|rules/infantry.yaml
ra|rules/civilian.yaml
ra|rules/decoration.yaml
ra|rules/aircraft.yaml
ra|rules/ships.yaml
Last ra|rules/fakes.yaml
As it's loaded sequentially you can actually overwrite/append pre-existing data by placing your modifications in .yamls at the bottom of the list (this is actually the basis of how my teamturkey mod functions).
Same thing applies to .mix files and I suspect everything else included.
Not sure if you noticed but yamls are loaded sequentially as ordered in the mod.yaml.
So for example rules are loaded in the following order:
1st ra|rules/misc.yaml
ra|rules/ai.yaml
ra|rules/player.yaml
ra|rules/palettes.yaml
ra|rules/world.yaml
ra|rules/defaults.yaml
ra|rules/vehicles.yaml
ra|rules/husks.yaml
ra|rules/structures.yaml
ra|rules/infantry.yaml
ra|rules/civilian.yaml
ra|rules/decoration.yaml
ra|rules/aircraft.yaml
ra|rules/ships.yaml
Last ra|rules/fakes.yaml
As it's loaded sequentially you can actually overwrite/append pre-existing data by placing your modifications in .yamls at the bottom of the list (this is actually the basis of how my teamturkey mod functions).
Same thing applies to .mix files and I suspect everything else included.