avatar use8Directions parameter

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

ffourcad
Posts: 130
Joined: 25 Feb 2010, 10:26

avatar use8Directions parameter

Postby ffourcad » 18 Mar 2010, 13:01

Hello,

I have changed the use8Directions parameters for my avatar in OpenSpace_server.xml. Here is my line :

Code: Select all

<AvatarType use8Directions="0" mainClass="GirlAvatar" ghostClass="DemoGhost" stature="55">girl</AvatarType>


But it doesn't seem to work, my avatar is still moving in all 8 directions.
What did I do wrong ?
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 19 Mar 2010, 10:11

The use8Directions parameter is an attribute of the <AvatarTypes> tag, not the <AvatarType> one.
In other words you have to do this:

Code: Select all

<AvatarTypes use8Directions="0">
   <AvatarType mainClass="GirlAvatar" ghostClass="DemoGhost" stature="55">girl</AvatarType>
</AvatarTypes>
Paolo Bax
The SmartFoxServer Team
ffourcad
Posts: 130
Joined: 25 Feb 2010, 10:26

Postby ffourcad » 19 Mar 2010, 13:40

Thank you

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 30 guests