STEAM GROUP
Left 4 Dead 2 Workshop Beta L4D2WSB
STEAM GROUP
Left 4 Dead 2 Workshop Beta L4D2WSB
2
IN-GAME
33
ONLINE
Founded
15 October, 2012
shotgunefx 28 Mar, 2013 @ 12:54pm
Bug with STAGE_TANK
So I was trying to rewrite tankslayer using stages. For the most part works. But one big problem is if I kill() a tank for being too far away, the stage doesn't advance.

That's not a big deal, as I can ForceNextStage(), but if I do that and make the next stage a STAGE_TANK, I can see the stage begins, but,no tank spawns and never will so the stage never advances. Occasionally a map loading a script may kick it back on, but rarely.

The only way I could get around it was creating a point_hurt, setting the tank's health to 1, and then moving it to the tank to kill it. Though it takes a second or two, I'm guessing the tank has some damage modifier when it comes to that.

One tangent, the other problem is while sometimes the spawns are comparable to my stealing SI methods, often he is far away. Any variables, convars to control that?

Thanks
Last edited by shotgunefx; 28 Mar, 2013 @ 12:54pm