Combines all vanilla basebuilding colour palette groups into one, and adds all new extra colour palettes. Part of BuildFrame
A framework focused on integrating various basebuilding mods into one playable and accessible environment.
Why make SACS?
The idea first came from Reddit user Runaway_Angel, who asked for a way to customise and possibly expand the basebuilding colour palettes.
After investigation, it was discovered that the game utilises a “palette group” system, in which every base object selects a group of selected palettes. That means no object will be able to use the entire range of base palettes. At the same time, experimentation reveals the number of maximum colour palettes is 64 with a “default” palette in the code, the practical limit is 63.
SACS remedies the first issue by forcing every object into the “LEGACY” palette group, and putting every palette from other groups into the LEGACY group, practically making every colour palette available to use with every base object (that allows colourisation).
SACS also adds additional colour palettes of its own. Without overwriting the existing 51 vanilla palettes, the number of possible additional palettes is 13.
However, if one decides to overwrite vanilla palettes via the YEET_VANILLA_PALETTES toggle in the lua script, SACS has 28 extra palettes in total for the user to enjoy – simply set the value of the variable to true.
If the user wishes to create their own colour palettes, they can copy the example code block, edit the colours (in hex colour), name and ID to create a new palette.
InstallationCompatibility
SACS is designed to be processed last in AMUMSS, after any other script. The intention is that all added base objects will be made to use the combined colour palette group after the objects are added, although it is not essential.
Due to the way base objects save their colour palette (index-based rather than ID-based), SACS will reset the Stone/Fiberglass/Timber colours from their natural palettes upon installation.
We also do not recommend using SACS with other basebuilding colour palette mods unless you’re OK with your base objects changing colours drastically every time you combine multiple mods becasue of this.
Any modders who ultilises AMUMSS lua scripts and want their base objects to use any other palette groups than LEGACY should name their lua script with 5 (five) tilde signs (~) at the beginning of the file name. For more information, feel free to join the modding discord and discuss with us further.
Edits
METADATA\REALITY\TABLES\BASEBUILDINGOBJECTSTABLE.MBIN
UI\BUILDCUSTOMISE.MBIN
UI\COMPONENTS\BUILDCOLOUR.MBIN
Credits:
WinderTP and Babscoole and Wberto