Server side material list?
by Dave Young · in Torque Game Engine · 02/28/2008 (12:59 pm) · 3 replies
I'm putting the finishing touches on a new resource which combines reskinning and multiple textures. It's all working great but I have a less elegant portion which trouble me.
The problem:
Server in TGE does not load material list when it loads a shape. I rely on having a list of the base materials stored server side per shape so we can tell new clients who join what the changes to those base materials are.
The solution I've come up with involves adding fields to the datablock for a shape and setting the server side texture list manually in an OnAdd. This is an extra step which could be removed if I could find an elegant way to have the server load up the materialnames out of the shape.
Has anyone tried this before? I've taken many approached but none that worked.
The problem:
Server in TGE does not load material list when it loads a shape. I rely on having a list of the base materials stored server side per shape so we can tell new clients who join what the changes to those base materials are.
The solution I've come up with involves adding fields to the datablock for a shape and setting the server side texture list manually in an OnAdd. This is an extra step which could be removed if I could find an elegant way to have the server load up the materialnames out of the shape.
Has anyone tried this before? I've taken many approached but none that worked.
#2
02/29/2008 (3:03 pm)
Lookin' forward to it!
#3
Resource Link
or for those lucky enough to have the domain name working...
Resource Link
02/29/2008 (4:13 pm)
It's here:Resource Link
or for those lucky enough to have the domain name working...
Resource Link
Torque 3D Owner Dave Young
Dave Young Games
I will post the resource ASAP!