branchrust_reboot/main/instrumentscancel
591 Commits over 184 Days - 0.13cph!
Hook up bass guitar notes
Xylophone hand positions and view position adjustments
Hook up trumpet animations
Remove some placeholder instruments we're not going to produce
Tweaked some instrument animation crossfade timings
Fixed animations not playing if the same note was played multiple times
New note sfx importer to automate importing large numbers of notes
Tuba item world model, weapon and icon
Xylophone icon render and guide mesh
Remove offset and rotation fields on instruments for hand props, just use a mesh parented to a transform instead
Update default note keybinds
Reassign keybinds in settings
Hooked up and assigned new drum kit IK positions
Add new animation slots to animator controller
New instrument idle slot that is run when an instrument has been recently played
Rework IK targets to support targets for the regular and sharp versions of a note
Added more right hand IK targets to drum kit
Add left and right hand prop rotation offsets for instruments
Fixed drum IK hits working in local space of IK target and not local space of instrument
Added a hit rotation vector that applies an IK rotation offset when hitting a note
Exposed instrument keybinds in settings
Exception fixes
Exposed a default note to play on Primary and Secondary Fire
Can now create an arbitrary number of IK positions for an instrument
Added an IK target property drawer to help assign targets
Added context menu options to add left and right hand IK points
Added support for right foot IK control (for drumkit)
Left and Right Hand props can now be used if IK is disabled on the InstrumentKeyController (for cowbell hand setup)
Ignore stop note RPC on controlling player
Pass RPC into new PlayNoteRPC and StopNoteRPC on Key Controller
Fix RPCHandler not being assigned
Moved InstrumentKeyController RPC to InstrumentTool and StaticInstrument
Moved InstrumentKeyController components onto the weapon/mountables
Added UpdatePlayerModel virtual methods on HeldEntity and BaseMountable to modify IK while an entity is in use (removes an Update call on KeyController)
Update all instruments with new components
Manifest update
Removed some more xml comment blocks
Fixed CLIENT/SERVER compilation
Hooked up new jerry can guitar
Revert acoustic guitar to legacy guitar
Set icons to null on instruments that have no icon
Cowbell world model + Icon
Update guitar with new model + Icon
From code review:
Move hand props to Key controller to solve sticks being left on player model during pool
They get positioned during IK pass and never actually parented to the player
From code review:
_mounted is now populated on the client and server, and GetMounted() is now a shared method
This removes the need for UsingPlayer so that was removed
█▋▌▍▋▊ ▅▍▅▆ ▊█▉▅▇▇▌▍▍ ▍▄▌ ▇▄▋▌▍▇ █▅ ▇█▉▋▅▆, ▍▊▋▅▌▋ ▉▋▊▇▄▇▋▊█ ▍▅▌▅▉▇▋ ▆▍▊▋█▍
Fixed icon import settings for new instruments
Added an ItemIcon Import settings preset
From code review:
Reset mountedSpineLookWeight
Removed some xml method comments
Disable saving on key controller child entities
Remove cachedPlayer and SetPlayer() from InstrumentKeyController
Icons for Trumpet, Flute, Tambourine, Drum Kit and Bass
Trumpet and bass are third person
Reparented instrument view point to spine_4 to work with trumpet hold type better
Merge from third person held
Allow some rotation around the locked camera perspective (about 20 degree son both axis) on static instruments
Exposed and lowered IK lerp speed
Added some editor handles for easier IK placement
Equip drumsticks when using drums
▋▋▆▉▅ ▇ ▆▊▊▄▇▌▋▇█ ▋▄▉▌█▄ ▋▌ ██▊▄▉▄▋ ▉▊▊█▋▌▅▍ ▅▆▅▅ ▋▊▇▌ ▍▌▍▉▆ (▉█▋▌▍▍▋▄ ▉▆ ▋▉▌▉▋▆▇)