v6.0.0
Fixed:
- Viewmodel pixelated rendering issue
- Crouching during jump would increase accuracy
- Editor slider thumb offset
- Laser being blocked by triggers
Improved:
- Refactor player base interactions @Remscar
- Move non weapon logic out of swb_base @Remscar
- QOL demo weapon improvements @SplatzyXD
- Cleanup folder structure, files, and namespaces
- Reduce ActiveChild prediction warnings
- Reworked shotgun reloading mechanics
- Smooth crouching
- Weapon sprinting
- ModelEditor red centered dot
New:
-
ISWBPlayer
interface to support custom player bases @Remscar- More info here
-
Snipers rework
- No need to base on
WeaponBaseSniper
anymore to get sniper scoping - Animated 2d scopes
- Delayed scoping support
WeaponBaseSniper.ZoomInDelay
WeaponInfo.ScopedPlayerFOV
WeaponInfo.ScopedAimSensitivity
- Scope attachment support
AttachmentBase.OnZoomStart
AttachmentBase.OnZoomEnd
- Working example in
BodyGroupSight.HunterScope2D.cs
- New base methods
WeaponBase.OnZoomStart
WeaponBase.OnZoomEnd
- No need to base on
-
Modify the weapon spread during ADS
WeaponInfo.ZoomSpreadMod
-
Custom UI for attachments
AttachmentBase.CreateHudElements
AttachmentBase.DestroyHudElements
-
Working examples of bodygroup attachments
- new
BodyGroupSight
base - Check out the L96A1 & Deagle
- new
-
Included all uncompiled
.vmdl
files- Should increase clarity on how existing weapons are set up