branchrust_reboot/main/4ShotMiniCrossbowcancel
29 Commits over 30 Days - 0.04cph!
- Ensure arrow states are kept in admire
- Ensure each reload state resets the rotation timer (still needs more work)
Don't transition to idle after each fractional reload part
Reduce fractional animation time so the transition to the end state is more apparent
Slightly more reliable reload animation. Reload now always dumps into the same slot no matter the barrel orientation
- Support seperated arrow meshes from bone
- Modify on/off state depending on shots remaining
main -> 4ShotMiniCrossbow
Further work on handling reload state with arrow persistence
- Properly initiate fractional reload animation set
- Sit for whole length of single reload animation
Fixed Single Reload Finish -> idle transfer
Fixed deploy -> idle time
- Managed to make it rotate without flipping the barrel mid way through
- Major code cleanup: use set of angles instead of figuring them out on the fly
- Use fixed set of angles for clockwise/anticlockwise so we dont need to duplicate or create new animations
- Ensured anticlockwise works just like clockwise angles
Setup rotation through animation curve
Swap over to using Quaternions instead
Ass rotate implementation. Setup anim events. Moved everything over to a Viewmodel script
main -> 4ShotMiniCrossbow
Major wip:
- Set up fractional reload
- Setup fast reload values (purely wip and testing)
- Setup Mini Crossbow script (sets shots left value)
- Use shots left to blend anims
main -> 4ShotMiniCrossbow
Mini crossbow icon render setup and icon
Mini crossbow:
- Swapped world model to use the viewmodel for just now
- Added multi swap arrow script to support multiple swap arrows in different slots
main -> 4ShotMiniCrossbow
Fix viewmodel errors
Rebuild manifest
Renamed '4 shot mini crossbow' to 'mini crossbow'
Setup crossbow world model
- Setup colliders and alignment
Changed world model to be blockout
- Upped crossbow built in magazine to 4
- Enabled fractional reload
- Manifest
Initial item setup, just a duplicated crossbow for now