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

topic deleted

Information and discussion for custom maps and mods.
Post Reply
Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

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

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:55 pm, edited 2 times in total.

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

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

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:21 pm, edited 1 time in total.

Ronald
Posts: 166
Joined: Fri Aug 30, 2019 9:05 pm

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

Post by Ronald »

.
Last edited by Ronald on Mon Oct 11, 2021 7:21 pm, edited 1 time in total.

VonBruinwald
Posts: 9
Joined: Wed Jun 10, 2020 4:34 pm

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

Post 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.

Post Reply