Back to Suggestions
476

Prevent Bodies from Despawning in View

Plannedby Muataz · 02 Sept

Change the body-cleanup system so that fallen players never disappear while another player is looking at them. After remaining on the map for a minimum amount of time, a body should only despawn when it is outside every player’s line of sight. An additional proximity check could prevent bodies from disappearing when players are still nearby, even if nobody is directly looking at them. This would preserve performance while making the cleanup process less noticeable and preventing bodies from suddenly disappearing in front of players.

3 comments

  • Spezzy03 Sept

    I love the idea. I would imagine this is a "Server" vs "Client" side tradeoff. To calculate what is in "your" POV, this would need to be a client side check which could impact performance.

  • nano07 Sept

    I'd also suggest making downed players persist for permadeath modes, like Versus and Demolition. Good idea! 👍

  • Chris09 Sept

    This would work great for spawning logic as well. A player's spawning 'hitbox' must be nowhere near enemies. In small maps it would be near-impossible yes, but could be the furthest average point from all enemies? Last time i played (2 days ago) after a 300MB update i was spawn killed about 20 times, simply switched off, and will wait a few days after i play again.