Rewrite trigger_swamp to not require spawning new entities per player, implementation...
authorMario <mario.mario@y7mail.com>
Mon, 18 May 2020 12:10:24 +0000 (22:10 +1000)
committerMario <mario.mario@y7mail.com>
Mon, 18 May 2020 12:10:24 +0000 (22:10 +1000)
commit14aef0c52085bf8fce7b76b10d8862aabc43c6e4
treec9d0a7680e41383c8a9116224f8f9b6338586e64
parent98ca2b115036d87b8826a13d0f402a96301b7e18
Rewrite trigger_swamp to not require spawning new entities per player, implementation based on conveyor code. Removes need to network the swamp to the client, improving prediction and reducing network usage, also solves the swamp effect staying attached to the player for a second after they leave the swamp
qcsrc/common/mapobjects/trigger/swamp.qc
qcsrc/common/mapobjects/trigger/swamp.qh
qcsrc/common/physics/player.qc
qcsrc/ecs/systems/physics.qc
qcsrc/server/client.qc