Game Development Community

[Fixed]Enhanced Projectile Multiplay Fix Needed

by CSMP · in Torque Game Engine · 08/20/2009 (8:56 pm) · 1 replies

Well I have recently installed the Enhanced Projectiles Resource and noticed that when playing multiplayer with the resource installed the Client is not registering Projectile Explosions or Decals,
I have narrowed it down to Interiors, Terrain and Static Items not showing the explosions or decals as Water, Vehicles and Players are showing the appropriate explosions...

The Terrain, Interiors and Static Items are all of the const U32 Projectile::csmStaticCollisionMask and for some reason I can not figure this out... All of these are affected by Decals, which may be the culprit???

Ron Nelson has Said:
"The solution to that is very simple. Take a look at your pack and unpack updates and make sure they are have the same information and in the same order."

And I have actually found some of the Pack/Unpack strings that were out of order, though when I placed them in the right order it still does not fix the Projectile Explosions or Decals on Interior, Terrain or Static Items... I'm not experienced enough with c++ to efficiently debug the Pack/Unpack Strings for incorrect or missing code.

The Enhanced Projectile Resource has some Extremely useful code in it and I am really interested in getting this to work Multiplayer!

Has anyone gotten the Enhanced Projectiles Resource to work Multiplayer?

#1
08/21/2009 (12:19 pm)
OK, Well I have a created my own custom Projectiles that include:
Armor Piercing
Explode On Water Surface
Vehicle Explosion (ex. Metal)
Player Explosion (ex. Blood)
Projectile Spread (optionally Speed-Based)

It seems to be fully working on TGE 1.5.2 with Multiplayer.
I will be adding this as a resource for those of us that are still using TGE 1.5.2 and would like an extended Projectile class that works Multiplayer.

New TGE 1.5.2 and Multiplay Compatible Projectile Resource
Armor Piercing Projectiles +