PhoebeIV / OpenRA-OW

OpenRA - Opposing Worlds, a mod that adds a lovely mixed bunch of cool, silly, over the top stuff, while also providing a neat and fun, and (mostly) balanced gameplay experience.
GNU General Public License v3.0
3 stars 1 forks source link

Rearrange and tidy up BuildPaletteOrder #20

Open PhoebeIV opened 4 months ago

PhoebeIV commented 4 months ago

A while ago someone had mentioned that we should order everything by type/faction to make it easier to scroll through when debug mode is enabled. This would also be useful for observing matches so that things aren't in random order (like vehicles or upgrades being in the middle of 2 different infantry types

Best way to sort it should be like so:

Universal upgrades are currently already following a Palette order value of 9997 to 10007

Hero order doesn't really matter and can all share the same numbers, and seems to automatically be arranged by 'this actor was read first when loading the game' (ie. mod.yaml load order)

Now to sort by Faction, preferrably in this order:

Since most factions don't have more than 20 actors for each type, we could do like 000's for shared, 020's for Allies, etc

Support Power palette ordering isn't as important, but it could do with a little bit of order.