branchrust_reboot/main/parachutecancel
183 Commits over 457 Days - 0.02cph!
Players can no longer dismount the parachute for a second after deploying the parachute (see BaseVehicle.AllowPlayerInstigatedDismount)
Prevents accidentally dismounting the parachute if player is spamming the Space key to deploy
The player can still be dismounted during this window via other means (hitting something, getting shot, etc)
Only run the landing camera animation if the player is dismounted due to a collision
Fixed animated screen shake not working properly, now has to be parented to a player to work
WIll only apply to the camera if it's parented to the LocalPlayer
New screen shake component - AnimatedScreenShake
Takes an AnimationClip, caches the rotation curve values at edit time and then replays the animation at runtime via the ScreenShake system
Not quite working yet
Fixed parachute not disengaging if it hits the ocean
Fix first person camera calculating wrong rotation when the player flies through a parent volume
Parachutes can no longer be parented
Add a very tall diving tower to craggy for testing
Add analytics: start height, distance travelled, flight time
Added an animation based collider system for handling the parachute colliders
A lot of the visual parachute motion is now handled by the player animation, not the vehicle so this adjusts the colliders to match the visual based on the current input
For consistency this animator runs on both the server and client
Fixed colliders not matching new art
Fixed first person camera changing height incorrectly if player is in water while a parachute is equipped
Improved animation transition when deploying parachute quickly after jumping
Show a dedicated first person canopy
Fixed screen shake of any parachute affecting every player in network range
Added debug.spawnParachuteTester
Spawns a bot at the players position + a given height (defaults to 20m), copies the players inventory to that bot, adds a parachute to inventory and deploys the parachute
Handy for testing and target practice
Fixed regression causing all random variants of the abyss suit to show at once
Switch ParachuteSeat over to SledSeat class for IK handle support (eventually)
Move visual art to the wearable via a new parachute.back.deployed hidden item
Fixed BoneRetarget scripts causing pooling errors
Fixed parachute throwing collision error on standalone client
Improve transitions out of the skydive animation
Give parachutes their own protection properties, make them a bit tougher
Takes 4 rifle shots to take down, still needs more tuning
Don't go to the skydiving animation while noclipping
Fixed projectile invalids when firing from a parachute
Merge fixes
Reduced pickup time of unpacked parachute to 8s (was 12s)
Added support for a mountable to equip an item of clothing on the player while mounted (see wearWhileMounted on BaseMountable)
Parachute lines now get updated all the time, not just after the deploy animation
Fixed abyss suit spinning wheels not being disabled when a parachute is equipped
Parachute straps now properly attach to player's back (temp until more final art)
Added detailed colliders so that parachutes can be shot at
Show parachute health on HUD
Client compile fix
Move the first person camera closer to the actual model head bone position while freefalling with a parachute, fixes distorted legs view
If a player is dismounted from the parachute due to a collision in the first 1.5s of the deploy they will be hurt with fall damage (up to 80 damage)
Better animation transition if the player cuts their parachute while the deploy is in process
Parachute.bypassRepack convar bypasses the pickup duration
Added drag to the unpacked parachute so it falls a bit nicer
Fixed condition not getting applied properly
Protection properties for unpacked parachute
Parachute is now saved and allows sleeper mounting for nexus shenanigans
Added overridePickupTime to entity pickup settings, parachute takes 12s to pick up
Fixed backpack notifies not working after
85060
Reworked parachute repacking process, instead of adding an "unpacked' parachute to the players inventory when landing the unpacked parachute now gets dropped in world space
Player can pick it up like any other item to repack it
Rework how we update the current backpack item since we don't send the main item container to other players
Use the player's save data to store a current backpack item id so it's always accessible to everyone
Added a little backpack icon to the current backpack item in the main inventory
Fixed not being able to move a backpack around in the inventory
Don't save the parachute (we can't reconnect the player after reboot so don't go parachuting during a server restart)
Slight camera motion improvement when equipping weapons, unequipping weapons still has a slight camera snap
BaseMountable now calls ModifyCamera on it's VehicleParent (if it has one)
Better camera control on parachute, lock the players eye position to it's actual model eye position
Introduce drag gradually over a second as the parachute is deployed for a more natural look