FortyTwoFortyTwo / Randomizer

TF2 plugin that randomizes player loadout in any imaginable combinations
GNU General Public License v3.0
35 stars 15 forks source link

Fix crashes from sniper viewmodel #38

Closed FortyTwoFortyTwo closed 4 years ago

FortyTwoFortyTwo commented 4 years ago

Fixes #37

This bumps plugin version to 1.5.0 due to tf2attributes now required to run this plugin (we might be able to reuse tf2attribs for other fixes if there any).

Sniper's hand viewmodel is not very nice when used with specific weapons, leading to a crash. I'm not sure if there a direct way to fix this whenever if its entirely loaded serverside or clientside also loads it. But since Randomizer Arena uses robot arm workaround, may well then uses it.

Giving attribute mod wrench builds minisentry to weapon enables robot arm viewmodel, note that this isn't enough to enable build minisentry (thanks valve). Can be configured at viewmodels.cfg on which weapons and class combo should give robot arm viewmodel.

@Djrulz0826 @doomy64 Do you know any other weapons that can crash from sniper viewmodel?

doomy64 commented 4 years ago

The only other crash that I know of that wasn't mentioned in the issue is switching to the thermal thruster.