Game Development Community

Dedicated server xmits packets at any range

by Chris · in Torque 3D Professional · 06/02/2010 (9:04 am) · 3 replies

It seems from my testing that a dedicated server will transmit packets at full speed no matter how far from activity you are.

The test:
Spawn up many (150) aiplayers that run around a limited area of the level, and go as far away as the level allows.

Packet rate does not seem to change, eating bandwidth like no other application! You would think that I was streaming a 1080 movie.

We should limit updates when the player is too far away, maybe i don't understand the entire issue here like possible missed mounts and unmounts.

#1
06/02/2010 (9:25 am)
You need to play with the camera-based scope system. Basically, the ghosting system supports removing objects from scope if they are too far from a client's camera, so they don't send updates. I don't remember exactly where this distance comes from, you'll need to do some digging.
#2
06/02/2010 (1:38 pm)
I think right now it's the view distance - the two things are not separated unfortunately afaik.
#3
06/02/2010 (1:43 pm)
Right, thats what I figured when I was reading the code. It should be separate for sure