Page 2 of 2

Posted: 06 Jan 2010, 16:57
by Bax
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.
No, sorry.

Posted: 26 Mar 2010, 15:22
by ffourcad
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 ?

Posted: 27 Mar 2010, 12:19
by Bax
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.

Posted: 29 Mar 2010, 07:14
by ffourcad
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 ?

Posted: 29 Mar 2010, 08:09
by Bax
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.

Posted: 29 Mar 2010, 14:24
by ffourcad
Sorry, I'll create a new post.

Posted: 09 Apr 2010, 10:40
by Sanxion
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?

Posted: 12 Apr 2010, 17:19
by Bax
The first one: as soon as walking the path starts.

Posted: 25 Jan 2011, 11:48
by PeredereevBoris
Hi Paolo. Thank You for server side implementation of avatar appearing.
All works properly but I have a problem avatar appear in the bottom part of screen. How can we set centerViewport = true from server side?

Posted: 25 Jan 2011, 12:25
by Bax
This is not possible.