Author Topic: A better custom Avatar system?  (Read 2656 times)

Yeah, if you put the shapes and the color .pngs in their own folder, then you could make a drop-down that is populated by the name of the .png (e.g. "Red.main.png" would be listed as "Red").  Then, once the user applies the settings, the settings are sent to the server and the server unmounts any images already loaded, then loads the new settings using this:

%obj.mountImage(%image,%slot,%loaded,%skinname); // %skinname would be "Red".

You'll need to texture everything by default with "Base.main.png" and make a special case for your GUI that makes it show up as "Gray".

I understand the texturing and how it works but I'm a beginner at GUI's.

Ok I've done all the textures under the names .part, should I change them to .main or does it really matter?
« Last Edit: February 15, 2008, 08:23:19 PM by Packer »

It doesn't matter as long as it follows this naming convention:

color . section . file extension

Am need help wif GUI LAIKE HALP!

Forget about the GUI for now.  Try getting the functionality to work.  Make a server command like serverCmdAvatarColor(%client,%skin).  No need to make a GUI until you have that done.

So, someone could type in /avatarColor Red and it would check to see if they're wearing one of your avatar items, and then set the color of that item to the "Red" skin.

Ok going to be a n00b about this because I really have no clue about this type of stuff yet :( But can you post me an example of how I could do what you said. I have very little knowledge about Torque Script or any other script for that matter and its not a good thing >.<

You're in more trouble than you think if you're not familiar with GUI creation or TorqueScript.  You need to bring in someone to team with you on this.

I need technical support!! Ok I was bagging you out.

You harass me for getting paid to help idiots with their stuff when you yourself are asking me to help me with your stuff.  Maybe you should pay me...

Hardly harassing but still need help  :cookieMonster:

Well, I've done my part.  I'm not gonna spoon feed it to you.