Game Development Community

Networking question

by Skylar Kelty · in Torque Game Engine · 10/09/2008 (9:26 am) · 1 replies

Hello,

I've been going through the engine for a few days now trying to figure out how the engine send data to the client, i read a page on tdn about ghosting which was useful however i am still unable to find the exact function that iterates through clients and sends their list to them (if there is one).

I would like to modify Torque's networking system to allow certain game objects to be sent to a single client ONLY.

For example:

2 world objects:
- spawnsphere
- tree

2 clients:
- a
- b

I want b to be able to see the tree but a to be unaware of it.

If anyone could point me to anything relating to this, i would be very grateful :)

Thanks,
James

#1
10/09/2008 (9:35 am)
I thought id post my current train of thought:
- All objects are scoped, meaning they are only sent to a client if they are in view
this means i can pretend for certain clients that they arent in view?
- if so i just need to modify OnCameraScope?

Is this the best way to go about it? / Can i do that without killing features?