Garry's Mod

Garry's Mod

ASTW2 - Base Weapons
Rōnin Aug 26, 2023 @ 10:05am
Crouching and sound pitch broken
Weapons no longer function when crouching, following errors spew while crouching and trying to fire while crouching:

[ASTW2] Arctic's Third Person Weapons Base (Tweaked)] lua/weapons/astw2_base/position.lua:86: attempt to index a nil value
1. GetShootPosASTW - lua/weapons/astw2_base/position.lua:86
2. unknown - lua/weapons/astw2_base/cl_init.lua:83

[ASTW2] Arctic's Third Person Weapons Base (Tweaked)] lua/weapons/astw2_base/position.lua:86: attempt to index a nil value
1. GetShootPosASTW - lua/weapons/astw2_base/position.lua:86
2. ShootBullets - lua/weapons/astw2_base/attacks.lua:474
3. unknown - lua/weapons/astw2_base/attacks.lua:282

[ASTW2] Arctic's Third Person Weapons Base (Tweaked)] lua/weapons/astw2_base/position.lua:86: attempt to index a nil value
1. GetHandPos - lua/weapons/astw2_base/position.lua:86
2. ASTWIsRested - lua/weapons/astw2_base/position.lua:152
3. unknown - lua/weapons/astw2_base/think.lua:30

[ASTW2] Arctic's Third Person Weapons Base (Tweaked)] lua/weapons/astw2_base/position.lua:86: attempt to index a nil value
1. GetHandPos - lua/weapons/astw2_base/position.lua:86
2. ASTWIsRested - lua/weapons/astw2_base/position.lua:152
3. v - lua/autorun/astw_client.lua:1292
4. unknown - lua/includes/modules/hook.lua:96

Also, weapons no longer register pitch changes in LUA. All the base weapons sound the same now.