Rapid fire weapon bogs multiplayer down- any solution?
by Highlander · in Torque Game Engine · 05/30/2007 (11:19 pm) · 3 replies
I made an autocannon and its bogging down multiplayer. the fire rate is about 5 per sec. any ideas?
About the author
#2
05/31/2007 (2:44 am)
Bogging down as in how? Slow framerate? Overloaded network?
#3
05/31/2007 (3:20 am)
Tim - your comment about the OpenAL layer is interesting. I'm suffering freeze-ups of maybe half a second sometimes when a few sounds play at once. They're all preloaded, and the problem appears to be Windows-only. When I try firing off a sound a hundred times in a row from the console, no problem; it's only in-game the problem happens. Maybe some more testing is needed: perhaps the sounds need to be triggered at the precise same time to give the problem.
Torque Owner Tim Heldna
The projectile code isn't as network efficient as it could be, neither is the player controller for that matter. I know others have had great successful in stripping these two areas down.