What Is This?
This allows the player to change their skin tone via a gump and predefined hues.
Installation and ServUO version
To install simply unzip the file to /Scripts/Custom/
Tested with ServUO Publish 54
Settings:
Open SkinTone.cs and edit the following lines accordingly:
Supports up to 35 hues!
Usage:
Counselor+ can user [SkinChange
Players can use the skin tone deed ( [add SkinToneChangeDeed )
Other scripts can use this item too:
This allows the player to change their skin tone via a gump and predefined hues.
Installation and ServUO version
To install simply unzip the file to /Scripts/Custom/
Tested with ServUO Publish 54
Settings:
Open SkinTone.cs and edit the following lines accordingly:
Supports up to 35 hues!
C#:
private static int[] hues = { 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80 }; //Try all the hues you want to use here, can be as little or many as you want, all seperated by a comma. The gump will only show a max of 14 though.
private static bool Allow_Preview = true; //Set to false if you don't want to let players preview colors.
private static string Skin_Tone_Message = @"Your skin tone has been temperarily changed, and will revert to its old tone in a few seconds..";
private static string Top_Right_Message = @"You can change your skin tone here, this will be not be temperary so choose wisely!";
private static int Start_X = 15, Start_Y = 20;
Usage:
Counselor+ can user [SkinChange
Players can use the skin tone deed ( [add SkinToneChangeDeed )
Other scripts can use this item too:
C#:
<player>.SendGump(new SkinTone(<player>));