Quote:
|
Originally Posted by DutchGuy
hey is there in some way anything possible to test this before getting it uploaded?? like being able to put it in an offline mode or something so that i know it will be displayed right?
|
Indeed there is. Simply put the image in a folder and save a new level in the same folder. (You'll need the level editor.) In the level you made, add a blank NPC. (See attached image.) Then double click the blank NPC and add this script.
NPC Code:
//#CLIENTSIDE
if (playerchats) {
if (startswith(setbody,#c)) {
setplayerprop #8,#e(8,-1,#c);
}else if (startswith(sethead,#c)) {
setplayerprop #3,#e(8,-1,#c);
}else if (startswith(setshield,#c)) {
setplayerprop #2,#e(10,-1,#c);
}else if (startswith(setsword,#c)) {
setplayerprop #1,#e(9,-1,#c);
}else if (startswith(sethat,#c)) {
setplayerprop #P1,#e(7,-1,#c);
}else if (startswith(skin,#c)) {
setplayerprop #C0,#e(5,-1,#c);
}else if (startswith(coat,#c)) {
setplayerprop #C1,#e(5,-1,#c);
}else if (startswith(sleeves,#c)) {
setplayerprop #C2,#e(8,-1,#c);
}else if (startswith(shoes,#c)) {
setplayerprop #C3,#e(6,-1,#c);
}else if (startswith(belt,#c)) {
setplayerprop #C4,#e(5,-1,#c);
}else if (startswith(all,#c)) {
setplayerprop #C0,#e(4,-1,#c);
setplayerprop #C1,#e(4,-1,#c);
setplayerprop #C2,#e(4,-1,#c);
setplayerprop #C3,#e(4,-1,#c);
setplayerprop #C4,#e(4,-1,#c);
}
}
This script will allow you to set the following:
hat: 'sethat'
body: 'setbody'
sheild: 'setshield'
head: 'sethead'
skin color: 'skin'
coat color: 'coat'
sleeves color: 'sleeves'
shoes color: 'shoes'
belt color: 'belt'
color of all body parts: 'all'
Just say what's inside the quotations followed by the file name/color.
Ex: sethat hat13.png
If you have any questions or such, just forum pm me.