Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Feature request (https://forums.graalonline.com/forums/forumdisplay.php?f=194)
-   -   Set body colors in the Serveroptions (https://forums.graalonline.com/forums/showthread.php?t=134265771)

callimuc 02-17-2012 10:22 PM

Set body colors in the Serveroptions
 
2 Attachment(s)
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
Attachment 54277
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:
Attachment 54279


All times are GMT +2. The time now is 09:06 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.