What does it do?
Allows the player to change their skin tone via a gump and predefined hues.
How can we use this?
I have included a simple deed to change skin tone, but it would be very easy to add this to an npc.
You can also use the command [SkinChange (Counselor and above only, easily changeable in script.
How do I install it?
Download the zip, place the folder inside your /Customs/ folder
Open SkinTone.cs and edit the following lines accordingly:
Enjoy!
(Note: To create the deed ingame use [add SkinToneChangeDeed)
If you want to use this in one of your scripts simply use the following line:
<player>.SendGump(new SkinTone(<player>));
Allows the player to change their skin tone via a gump and predefined hues.
How can we use this?
I have included a simple deed to change skin tone, but it would be very easy to add this to an npc.
You can also use the command [SkinChange (Counselor and above only, easily changeable in script.
How do I install it?
Download the zip, place the folder inside your /Customs/ folder
Open SkinTone.cs and edit the following lines accordingly:
C#:
private static int[] hues = { 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 }; //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;
Enjoy!
(Note: To create the deed ingame use [add SkinToneChangeDeed)
If you want to use this in one of your scripts simply use the following line:
<player>.SendGump(new SkinTone(<player>));