nzp-team / nzportable

Call of Duty: Zombies demake, powered by various Quake sourceports. https://docs.nzp.gay/
385 stars 32 forks source link

Electric Barrier bounding box is pass-able #345

Closed ghost closed 1 year ago

ghost commented 1 year ago

Describe your suggestion Traps currently only kill zombies when they hit the actual electric beam, and can live when they walk in between them. What I propose is that they would always kill zombies that go through them, instead of just when they hit the beam.

Expected behavior The zombies will always die regardless if they hit the beam or not when going through the trap.

MotoLegacy commented 1 year ago

Is there a map in particular where this tends to happen? The beams being the bounding box makes sense logistically, and there is enough space for a bit of freedom between them for mappers typically.

ghost commented 1 year ago

Is there a map in particular where this tends to happen? The beams being the bounding box makes sense logistically, and there is enough space for a bit of freedom between them for mappers typically.

just any map that has electric traps really

MotoLegacy commented 1 year ago

I did some investigating and found some broken bounding box logic, and fixed it. Let me know if that solves your issue (https://github.com/nzp-team/quakec/commit/901ee7121e7dd52ca9ada7232399730892da8189)

MotoLegacy commented 1 year ago

Closing as requested follow-up was not received. Feel free to re-open the issue if it persists.