ACF-Team / ACF-3

ACF
MIT License
67 stars 53 forks source link

Add seat model check #393

Closed marchc1 closed 3 months ago

marchc1 commented 4 months ago

Currently, seat models can be anything, including microscopic models (such as Wiremod's "nano_compare" gate). I've seen this exploited in the real world to get very hard to kill seats.

This adds a seat model whitelist to only allow default HL2, ACF, playerstart and racing seat models.

You can see a wooden chair vs. a nano compare in terms of size: nano_compare_vs_wooden_chair

marchc1 commented 4 months ago

The KeShove test is the only test failing, which isn't related to my changes(?) so I'm making this ready for review