Not even sure if the client will allow this but would it be possible to add to a future release the ability to add colour to pics displayed in gumps?
There must be some way for certain gumps to have/allow colour because when creating a character it's done but knowing OSI that's probably a hardcoded preset gump for char creation.
Adding this ability would allow the creation of custom paperdoll gumps as well as lots of other possibilities.
Thanks.
Adding colours to gump pics
Well, gumps aren't really handled at all by POL in the sense of building. The arrays that are built for layout and data are literally sent to the client as the exact array untouched by POL. If you're using a gumps.inc or such, you'll see that all it does is append to an array that it eventually sends to the client with SendDialogGump(who, layout, data).
There are a couple color options though for certain things.
GumpPic has a color param. "gumppic x y id hue=#"
For the hue param to work, you have to literally put "hue=10" for example to get hue # 10 on it.
TilePicHue is the same as TilePic but with a hue param also. "tilepichue x y id hue"
These are the only color options I know of other than the text coloring. All of this is hard coded to the client too.
There are a couple color options though for certain things.
GumpPic has a color param. "gumppic x y id hue=#"
For the hue param to work, you have to literally put "hue=10" for example to get hue # 10 on it.
TilePicHue is the same as TilePic but with a hue param also. "tilepichue x y id hue"
These are the only color options I know of other than the text coloring. All of this is hard coded to the client too.