RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

Skin Tone Change Gump 0.0.2

No permission to download
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:

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>));
  • Untitled.png
    Untitled.png
    773.6 KB · Views: 365
Author
Bittiez
Downloads
58
Views
341
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Bittiez

Latest updates

  1. A few fixes

    -Can now add 7*7 hues(49 hues) -When previewing a color, the gump will return after the preview...
  2. Minor Fix

    Forgot to actually delete the did on double click :)
Top