Game Development Community

How to tell the client part to new an oject ?

by Rosey · in Technical Issues · 06/08/2006 (11:32 pm) · 3 replies

My class, based on ShapBase, has a member m_pSubShapeBase, in runtime I newed a shapebase object and set it to m_pSubShapBase, but it seems it only happened in server part, in the client part m_pSubShapeBase is still null. I know it needed a notify message to tell the client to also new an object. but how to do it?

Thanks a lot!

Rosey

#1
06/09/2006 (1:00 am)
I would try to read these articles if I were you

http://tdn.garagegames.com/wiki/Torque/Networking/Making_a_Ghostable_Object
http://tdn.garagegames.com/wiki/TorqueNetworking

Except - for some reason you are not a SDK owner, so how can you create your own class without having access to the engine source?
#2
06/09/2006 (2:19 am)
Sorry, this is my second account, my another account , wangyongrui is the SDK owner, but for some reason I don't like to use that account to post here.
Thanks for your help!
#3
06/09/2006 (6:35 am)
Why would you do that if you by that do not have access to search in the SDK only areas?

Doesnt make sense. But good luck