View Single Post
  #1  
Old 02-17-2012, 10:22 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Set body colors in the Serveroptions

Servers should be able to set an own colors "template" in the Serveroptions. Yet we have 5 colors which must be used to be able to change the bodies colors without any additional scripting.
My request would be that playerworlds could change that in the Serveroptions and maybe add more colors. It could look like this:

PHP Code:
UseOwnColors boolean
colors
[0]=redgreenblue
colors
[1]=redgreenblue
colors
[2]=redgreenblue
colors
[3]=redgreenblue
colors
[4]=redgreenblue
colors
[5]=redgreenblue
colors
[6]=redgreenblue
colors
[7]=redgreenblue
.... 
You could use commands like (for NPCs) this.colors[7] = red; or (for players) player.colors[7] = blue;. That way bodies like this one
Name:  BodyTemplate.png
Views: 4426
Size:  1.4 KB
could get changed completely or servers with a complete new body style with more shadings could be able to set different body colors without having the image uploaded several times for different colors.

Here is an example setting for the rainbowed body:
PHP Code:
UseOwnColors true
colors
[0]=  64,  64,  64  //gray
colors[1]= 255106,   0  //orange
colors[2]= 182255,   0  //lightgreen
colors[3]=   0255,  33  //neon green
colors[4]=   0255255  //cyan
colors[5]=   0,  38255  //blue
colors[6]= 178,   0255  //darkpurple
colors[7]= 255,   0110  //pink
colors[8]= 206,  24,  41  //shoes
colors[9]= 255173107  //skin 
The usage could be like
PHP Code:
player.colors[0] = red;
player.colors[1] = blue;
player.colors[2] = black;
player.colors[3] = white;
player.colors[4] = pink;
player.colors[5] = darkpurple;
player.colors[6] = gray;
player.colors[7] = orange;
player.colors[8] = darkblue;
player.colors[9] = green
Which would have the example body looking like this:
Name:  BodyTemplate2.png
Views: 4373
Size:  1.4 KB
__________________
MEEP!
Reply With Quote