OpenRA still uses theaters & each is limited to a single pal. I hope in the future they will add the ability to use multiple pals within each theaters, as I too want to make more diverse looking maps. _________________
I didn't look too deeply into the yaml files yet, but does anyone know whether there a place that specifies how the building shp files are named - such that the game will attempt to load gtpile for temperate and gapile for snow? _________________ AR2 - The Glorious Return of Nemesis QUICK_EDIT
The sprite name mangling is enabled (for any sequence - not just building artwork) by defining `UseTilesetCode: true` on the sequence definition. There is also a `UseTilesetExtension: true` for appending a tileset-specific extension to the filename. The replacement values for each tileset are defined in mod.yaml
These tags and the logic behind them is implemented in the `DefaultSpriteSequence` sequence loader that is used by the TD/RA/TS mods. D2K uses its own sequence loader with different behaviour, and your own mods can do whatever they want if you write your own sequence loader class (this is in mod-level code). QUICK_EDIT
OpenRA still uses theaters & each is limited to a single pal. I hope in the future they will add the ability to use multiple pals within each theaters, as I too want to make more diverse looking maps.
Might as well just have it read a TIFF since it is layered and can read from it's palette instead of needing multiple palettes. Example code _________________ "Don't beg for things; Do it yourself or you'll never get anything."
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum