Saved SWFs Don't Retain Color (1 Viewer)

jojothompson

Potential Patron
Joined
Oct 6, 2016
Hey guys,

I have characters set in individual folders to load. Backgrounds, hair, clothes and everything all load (via code.txt and mods.txt) but none of the clothes retain their color - they're always reset to black. Is there something I missing to saved SWF clothing color options?
 

stuntcock

Content Creator
Joined
Jun 5, 2012
(via code.txt and mods.txt) but none of the clothes retain their color - they're always reset to black.
Code.txt can define RGB values for each element (top, bottoms, footwear, etc). If you subsequently load a SWF file with RGB support, then it will usually inherit the RGB values set by Code.txt.

This isn't always true, because it's possible for each SWF file to include an internal charCode - and thereby establish a default color for itself. Example: these cuffs will appear gold when loaded, but can be modified afterwards.

It's possible to block SWF files from applying their internal charcodes. But first, you should attempt to tweak your Code.txt file so that it specifies the desired colors for each item (because the blocking stuff might prove unnecessary).

Example: just put a T-Shirt on the girl, using the most recent RGB settings. If the Alpha value was set to 0, then the shirt might be invisible. Invisible mods are very confusing for users, so we rarely use this approach when sharing charCodes.
Code:
tops:tshirt;

Example: put a T-Shirt on the girl and make it red. This is the standard approach for sharing charCodes.
Code:
tops:tshirt,255,0,0,1;

Example: don't actually put a shirt on the girl. Set the Top RGB slider to blue, so that the next shirt will (probably) appear blue. This approach is useless for sharing charCodes, but it may be useful when creating Character Folders (or when sharing embedding charCodes into SWF files).
Code:
tops:none,0,0,255,1;
 

Users who are viewing this thread

Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.