Page 1 of 1

[Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?

Posted: Fri Sep 04, 2020 8:14 am
by Ronald
.

Re: [Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?

Posted: Tue Sep 08, 2020 11:07 am
by Ronald
.

Re: [Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?

Posted: Fri Sep 11, 2020 9:21 am
by Ronald
.

Re: [Solved] - OpenRA GameEngine - What is the exact MiniYAML hierachy?

Posted: Sun Sep 13, 2020 7:31 pm
by VonBruinwald
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.