[TUT] Avatars [TUT]

Kieren

The OGz
Aug 4, 2010
2,957
751
Well this is a very easy thing to edit but some of you may want to fiddle around and experiment with it but at the moment your avatar part on your /me page should look like this.



Well in this tutorial I will show you where to go to edit this and make the avatar face a different direction along with his head. Also I will post the numbers and images for the different ways of facing and expression. I do not know how to add a waving action or something like that yet although I have tried.

1. Go into your htdocs and open up your me.php file.

2. Then find line 50 where the code should look like this:

HTML:
<div id="habbo-plate">
        <a href="<?php echo PATH; ?>/profile">
            <img alt="<?php echo $user->name; ?>" src="<?php echo $user->avatarURL("self","b,3,3,sml,2,0"); ?>" width="64" height="110" />
        </a>
    </div>
3. The parts we will be editing are highlighted in red. The first number in red is the body's direction and the second number is the head direction. Simply change it from 1 - 8 for your avatars to face where you want them to. Also the part where it says sml is the face expression you can change this with the codes. Simply edit the numbers and letters with what you want using the different codes located below. Please note that the head and body directions go up to 8 but that will face towards the back and would be weird.


Expressions and actions:
sml = smile/happy
sad = upset/sad
spk = mouth open/speak
eyb = eyes closed
agr = angry
srp = suprised/shocked

Thanks for people releasing how to do it not rocket science but heyoo one of them things you just can't figure out.

Thanks to me for making and posting.
 

Users who are viewing this thread

Top