Game Development Community

SplashData Fix

by Paul /*Wedge*/ DElia · in Torque Game Engine · 10/26/2005 (12:09 pm) · 2 replies

The emitters for splash data are never created. If you remove the
if( isClientObject() )
check around line 344 in splash.cc (not the code between the check) it works fine. I don't know if theres any danger in removing that check, but it never ran the splash emitters until I removed it. I tried this in 1.3, but the code seems the same in a fairly recent HEAD, so I assume it still wasn't working in 1.4. It looks really great to have particles splash up in the air with the little GL splash when shooting water. The GL splash is also very incomplete, with many unimplemented parameters, I don't know if it could have extended usefulness if those were fixed.

#1
11/07/2005 (6:56 am)
There's a bit more to it if you want it to work on a dedicated server. I made a post about it here:
www.garagegames.com/mg/forums/result.thread.php?qt=23234 Using that fix, I've been running a dedicated server on the same mission continuously for almost a month with no server-side crashes.
#2
11/07/2005 (10:03 am)
Well, I just checked mine on a dedicated server and it seems to work with just that change. I don't know if it's causing any leaks or damage like that though. I'll look at what you did later though, thanks.