Discussion in 'Bug Reports' started by Xyaminou, May 15, 2017.
Is this a clientside or serverside demo? I think the visuals don't match up with what the bullets do which is indeed a bug.
Server side demo recorded by sourceTV so this is what the server sees.
That tank is me, I know I had like 200 ping at that point. I didn't notice that happening at the time though.
It definitely needs more testing to be 100% sure.
But it's logical that if the MG comes from behind the tank (because of lag compensation) it would hit the tank because there is nothing preventing it from doing so. Same as cannons.
No, mgs deal damage normally, the process is roughly this
Server places tanks and players back in time to the spot they were when the driving player clicked the mouse
The shot is calculated
Damage is dealt to the entity that was hit
Tanks and players are put back in the spot they were
The problem is that the visual is created before 4. which results in a fire animation that starts and ends in the tank. The problem with the cannons is that they have travel time, which means that they cannot deal damage between 1. and 4. This results in a shell that spawns inside your tank if you drive fast enough.
This issue can be fixed by adding a step after 4. where the tracer is repositioned to start at the new machinegun position and to end at the previously calculated impact point. We'll look into it.
Okay so it's only visual so, I'm changing this bug to, MGs appear behind the tanks because of lag compensation and it looks shitty.
Separate names with a comma.