branchrust_reboot/main/weapon_refresh_nailguncancel
13 Commits over 30 Days - 0.02cph!
Fixed error spam on ultra-wide screens with the nailgun, paintball gun and bowless crossbow viewmodels. Small rounding errors in the viewmodel sway/bob were snowballing each frame until Unity rejected the rotation. No visual change, just trying for a clean console.
removed unused attachment gameobjects from viewmodel prefab
final folder clean up
- Deleted old materials/model/rig/anim files
- Moved materials/model/rig/anim files to the original folder
- Deleted 'New' folder
- added nailgun mag mesh
- added mag drop effect
- added events-only clip on a new w_nailgun Animator, no rig needed
- set up hide/show mag
Viewmodel - nails in the mag deplete per shot + follower rises
MagazineStateViewmodel - Added optional RoundVisuals, Follower, FollowerRestPosition and FollowerStepPerRound
ShowBullet on anim event now shows a full mag during reload
removed unneeded scope attachments from entity prefab
Added sound events to viewmodel reload
set up new worldmodel prefab
updates to 3p setup following merge from main
Removed the SprintController from the entity - with the hold type gone its guard never passes,
sprint pose stayed at 1 on the right arm and hid everything the anim
subsystem was doing. Added an Aiming bool plus IdleAim/AttackAim on the 3p_nailgun_aim clips
that were sitting unused in the FBX, one handed to match the rest of the weapon, and pointed
the subsystem's AimingParameter at it.
- re-added settings for viewmodel prefab