Author Topic: Event - setPlayerAppearance  (Read 4522 times)

Set Player Appearance

As requested by SWAT One
http://forum.blockland.us/index.php?topic=291532.0

Adds the setAppearance and setRandomAppearance event to the player target.
Uses the nightmare string method to apply nodes and colors to the player

Download
------------------------
MEDIAFIRE
------------------------
« Last Edit: February 05, 2016, 11:38:58 AM by Goth77 »

whoaaa done before elm said that he would

i am interested



edit: setAppearance works, setRandomAppearance doesn't
still, it works, and that is great.
« Last Edit: February 03, 2016, 07:24:57 AM by The Resonte! »

To this day, I still wonder why the setRandomAppearance is more accurate than the "RANDOMIZE" button for the avatar.

I like this addition, but are there preferences that restrict the events to certain ranks to prevent abuse?

To this day, I still wonder why the setRandomAppearance is more accurate than the "RANDOMIZE" button for the avatar.

I like this addition, but are there preferences that restrict the events to certain ranks to prevent abuse?
It's because the random appearance event goes through a smaller list of node colors and shapes designed to fit a certain player scheme, whereas the random button on the avatar menu goes through every color and node.

If you want to restrict events I suggest getting the restricted events add-on
http://www.mediafire.com/download/7ni7ibnv74j9gdw/Server_RestrictedEvents.zip

edit: setAppearance works, setRandomAppearance doesn't
Fixed. Please re-download

would you be able to make a guide for what the strings are?

would you be able to make a guide for what the strings are?
change your avatar to what you want and then setplayerappearance to the 'custom' thing

would you be able to make a guide for what the strings are?
Here ye are. These are the 3 boxes as seen on the event
Code: ("example") [Select]
FIRST BOX - NODES LIST
hat accent pack second pack chest hip lleg rleg larm rarm lhand rhand face decal
1   4      3    0      0     0     0   0    0    0    0     0     0   YoungAdult1 Hoodie

SECOND BOX - COLORS
 headskin       hat                 pack     secondpack        chest          hip                accent
1.0 0.9 0.8 | 0.1 0.1 0.1 | 0.1 0.1 0.1 | 0.1 0.1 0.1 | 0.4 0.0 0.0 | 0.1 0.1 0.1 | 0.0 0.5 0.3 |

THIRD BOX - COLORS
  lleg            rleg             larm          rarm           lhand           rhand
0.1 0.1 0.1 | 0.1 0.1 0.1 | 0.1 0.1 0.1 | 0.1 0.1 0.1 | 1.0 0.9 0.8 | 1.0 0.9 0.8

And here are the corresponding node numbers
Code: ("codex") [Select]
hat
0 - NONE
1 - Helmet
2 - Pointy Helmet
3 - Flare Helmet
4 - Scout Hat
5 - Bicorne
6 - Cop Hat
7 - Knit Hat

accent
0 - NONE
1 - Visor (only if Helmet is being worn)
1 - Plume
2 - Tri Plume
3 - Sept Plume

pack
0 - NONE
1 - Armor
2 - Bucket
3 - Cape
4 - Backpack
5 - Quiver
6 - Air Tank

second pack
0 - NONE
1 - Epaulets
2 - Epaulets Rank A
3 - Epaulets Rank B
4 - Epaulets Rank C
5 - Epaulets Rank D
6 - Shoulder Pads

chest
0 - Male Chest
1 - Female Chest

arms
0 - Arm
1 - Slim Arm

hands
0 - Hand
1 - Hook

hip
0 - Pants
1 - Skirt

legs
0 - Shoe
1 - Peg

damn that's amazing


one more thing to note: the accent colors also comes with a 4th '0.0 - 1.0' thing for it's transparency, i believe

damn that's amazing


one more thing to note: the accent colors also comes with a 4th '0.0 - 1.0' thing for it's transparency, i believe
Indeed it does. I took the example from my own avatar, in which case my weedleaf septplume is a solid green ;)

FUICKING FINALLY HOLY CHRIST
« Last Edit: February 05, 2016, 09:13:58 PM by Plebian Native American »

Is it possible to make it so that when someone clicks a brick that changes their appearance, it doesn't change the colour of the person's skin?

Would it be possible for making people download the decals that the server host has when they join his/her server? Because otherwise, if the host has the decal and sets the appearance to something the player doesn't have, it wouldn't show up for the player.

My friend Executed needed this, thank you!

About time something like this was made.

thank you jesus I mean goth