Ray queries on pages not loaded

Scorch

17-03-2006 22:50:29

I am looking at using the paging landscape manager for my project.
I will be running with a dedicated server.
Question:
If I have two players fighting in the far east of the map, and two fighting in the far west, with paging landscape manager will my server be able to make line of sight queries without setting up a renderer in each location ?? The line of sight query would have to take into accont terrain and all static models as well. But obviously I would like to avoid loading as much data as possible in my dedicated server.


I havn't started this part of the project, and I wanted to find this out before I dedicated to much time to paging landscape manager.

I did a few searches, but I'm not sure what keywords to look for this information.

OvermindDL1

18-03-2006 01:13:09

Sure, just have it preload the entire map, option 'preloadall' or something like.

Scorch

18-03-2006 01:22:22

Thats good.

Is there a way to specify which sections I want to preload? For my previous example I wouldn't need stuff to the north or south, because all my players are in the east and west. ..
Or is it all or nothing?

does "preloadall" also load static items like trees and houses? or just the hightmap?

OvermindDL1

18-03-2006 02:39:56

Unsure about different parts, I always need it all preloaded so that is what I do. What preloadall does is load the pages as it normally does, just all at once, so the delegates are also called, so if you have things loading with the pages, they can load as well, of course you can have a flag so they don't load instantly and just load when a player is near (another delegate)...

tuan kuranes

18-03-2006 08:05:33

"LoadNow" is the option name, an it's either all or maxpreloaded page around camera.
As OvermindDL1 stated it's up to you when receiving event with listenter and delegates to load houses and stuff.