ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
646 stars 74 forks source link

[TF2] func_conveyor hitbox desync #2813

Open Gamecube762 opened 5 years ago

Gamecube762 commented 5 years ago

Players being moved by a func_conveyor will have a hitbox of a standing player while other players will see a walking player.

Func_conveyors update the player position by updating their coordinates instead of using their velocity. This causes the server to not use the player's walking animation. When the client updates that player's position it plays the walking animation. Since the server is using a standing animation for hitboxes instead of walking, the player shoots at an incorrect hitbox. This is most noticeable trying to headshot a TF2 Scout from the side as he leans forward during his walking animation.

This is most noticeable on the map tr_walkway_rc2 as it uses a func_conveyor to move bots across the map.

My testing only took place in TF2 but I doubt func_conveyor functions differently in other source games and this bug may appear in other games.

1157 commented 5 years ago

Here is a link with a avi/wmp on the un-tuned hitboxes from over ten years ago it shows how the hitboxes lead/follow the players model diff game but kinda same prob.

Ist post scroll down "The faster the player moves, the farther the hitbox leads the apparent position of the player. This includes jumping as well.

I've created an AVI that demonstrates this so everyone can see for themselves what this looks like. "

https://morchkovalski.com/spuf/forums.steampowered.com/forums/showthread_577284.html?t=577284