No, sorry.laxersaz wrote:Is there any way for a client to get the calculated path for himself? That would be the easiest way to let map elements follow the player's avatar - which we want to achieve.
OpenSpace & NPCs
ffourcad wrote:Hello,
you wrote in one of the first posts, that the server has to parse the map Xml, but I can't how to achieve this... Where is the XML Map, where you're on the server-side ?
First of all please notice that this post was referred to OpenSpace 1. There's no answer to your question, because there is no out-of-the-box feature. You have to crete your own server side code which loads a map, parses it, etc.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
ffourcad wrote:okay, but how can we attach a map to a room, if we do it ourselves ? Can we have a doc on parsing a .map file ?
From you other posts, I know you are working with OpenSpace 2, right?
If you are referring to OS 2, then please create a new post with your questions. Otherwise if you are still referring to the topic of this post, and to OS 1, let us know and we will reply here.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
bax wrote:At the same time, the user variables storing the avatar position (see previous post) must be updated with the path's final coordinates, so that new users entering the same room will see the NPC in its final position.
Is/should the final position be set:
1) As soon as walking the path starts?
2) As soon as walking the path ends?
3) Along each step of the path, using e.g. a timer or frame based simulated animation on the server?
-
- Posts: 16
- Joined: 09 Aug 2010, 13:49
Return to “OpenSpace v1 discussions and help”
Who is online
Users browsing this forum: No registered users and 28 guests