256 ratings
One Million Colours
File Size
0.253 MB
Jul 26, 2017 @ 2:55pm
Oct 21, 2017 @ 1:59am
8 Change Notes ( view )

Subscribe to download
One Million Colours

ALSO ENABLE THIS IF YOU ARE USING WOTC: http://steamcommunity.com/sharedfiles/filedetails/1133948141

ENABLE THIS IF YOU USE IT WITH SPARKS: http://steamcommunity.com/sharedfiles/filedetails/1134598754

Adds one million colours to props customization (configurable through XComGame.ini).

Config START_INDEX indicates the number of visible colour panel by default, which is the preset colours you can choose in the colour picker without using the sliders, it is clamped down to number of existing colours in your game so you can increase it if you have other colour mods and you want them to be part of the presets.
NUM_COLOR_PER_BASE is the number of levels for the each of the 3 base colours, so you will get NUM_COLOR_PER_BASE^3 additional colours in total.

Known issue: There will be a slight lag when opening the colour picker from unsupported screens and photobooth or unpatched soldier classes.

Note: Changing configs of this mod will break all the custom colours saved (change into random colours), this is due to how xcom 2 save the appearance of the soldiers, instead of saving the actual colours it store an index which is referenced in a pool of available colours, which this mod expands.

Note 2: Adding 1 million colours to all palettes takes 4 seconds of additional loading time, so don't get too crazy on adding NUM_COLOR_PER_BASE

Overrides UIColorSelector and CustomizationManagerClass of character templates.
Does not work with mods that overrides XComCharacterCustomization, overriding XComCharacterCustomization through XComEngine.ini is asking for weird behaviours in UICustomize anyways.
< >
Ohgun Apr 5 @ 3:57pm 
Oh, I just happened to notice that a Skyranger Skins mod that allows us to customize our own Skyranger and I was just wondering will there be a One Million Colors for Skyranger Skins?
Tenga Mar 19 @ 3:23pm 

Would it be possible to introduce a mode where the sliders are HSL instead of RGB?

I assume RGB is necessary to be applied in the engine, however, HSL would be much easier to work/reason around/grasp when working with sliders.

When in HSL mode, conversions would take place RGB -> HSL when reading from saved values to populate the slider values, and HSL -> RGB when applying them.
-bg-  [author] Mar 13 @ 5:09pm 
you will need to change the config to match the number of colours it have, or the new colours will get hidden by this mod.
Reyn Platinum Mar 13 @ 3:37pm 
Is this incompatable with more hair colors?
SentySent Feb 10 @ 12:11pm 
So I found out ADVENT Avenger’s Fortress Includes Frost Immunity mod breaks the UI sliders, plus that mod also breaks the SPARKs’ promotion screen. I had to disable that mod to make the sliders and promotion screen to appear.
SentySent Feb 9 @ 9:13am 
I admit I made that mistake of frustration and hoping it'll get to work. And I managed to get this mod work by using Firaxis' mod launcher to start the game.

I hope I can use the Alternative Mod Launcher again without any more problems because I don't like to use the official XCOM 2 launcher.
-bg-  [author] Feb 7 @ 10:22am 
that override in XComEngine.ini is commented out by default, and I literally said in the description that people should not use that override so it CANNOT be detected by mod launchers.
SentySent Feb 7 @ 12:48am 
I encountered an issue with the XComCharacterCustomization mod override causing WotC to freeze while exiting soldier legs customization in the character pool creator. I had to comment out that mod override to avoid the freeze at the cost of unable to use the slider. Plus I don't have any other mods that override XComCharacterCustomization.
-bg-  [author] Jan 5 @ 11:50am 
it should, unless there's a mod conflict that overrides the xcomcharactercustomization
baxton29 Jan 5 @ 10:55am 
Okay… Once I have done that… It should work?