branchrust_reboot/main/shieldscancel
150 Commits over 153 Days - 0.04cph!
Restored the 2px gap between vital bars
Fixed player hitting their own shield when crouching and melee attacking
Added a OnPlayerClothingChanged client side callback to HeldEntity
Backpack meshes will now be enabled when a shield is equipped and disabled when the shield is holstered
Fixed a case where shooting while crouched would sometimes result in the player shooting their own shield, applying damage to themselves in the process
Shield vm animator can now go straight to block from the melee attack end state
shield 3rd person attack anim split into 3 parts
edited wooden shield position in its entity prefab to sit better on the player arm when chunky clothes are equipped
edited clip range for metal shield attack anims and set up the wooden shield animator for melee attacks too
Slightly adjust wooden shield back positions to not obscure the minicopter fuel gauge
Fixed some logic issues with the shield vm
Refactor shield handling into a static utility
Apply it to the legacy animals
Made new protection profiles for shield variants
Attacks from new wolves should now be blocked by the shield if the shield is raised and the wolf is in front of the player, will not block at all if the player isn't raising their shield
Fixed player arms animator layer getting stuck in aiming mode if player starts blocking while already crouched
set viewmodel reinforced woodshield to use metal shield animations
updted ReinforcedWoodShield.fbx so the strap now matches more closely to Metal shield
so a single anim set can be re-used for it
viewmodel wooden shield animaionns edited
viewmodel metal shield anims updated so the arm is visible
Fixed weapons clipping into shield when shield is held up
Can now use hammer and tool gun with shield (can only repair)
updated wooden shield viewmodel animations so the arm is visible and tweaked position of the improvied shield in its viewmodel prefab so that it works using the same animations
fixed missing strap on lod1
Adjusted size of both wooden shield colliders
Fixed shields not rendering their shadows when in first person
Fixed being able to sprint while blocking with a shield
Fixed noclipping breaking held entities entirely
Fixed exception when moving the current held entity item to another hotbar slot while it was equipped with a shield
viewmodel wooden shield viewable arm test anims
Fixed outlines on wooden shield and reinforced wooden shield world models
Fixed another case where spamming equip/unequip on a shield would throw an NRE
Fixed blocking flag staying on if the players shield is holstered or destroyed while blocking, was preventing input on subsequent held entities
Fixed shields not parenting properly
Fixed being able to block while in debug cam
Added art to shield wearables so they're displayed correctly in player preview
Fixed pickup notices spawning in the wrong place
Fixed colliders on all shield world models to match their entity counterparts
Marked shields as equip on pickup
Fixed improvised shield incorrect world model mesh
Fixed picking up unrelated items would put away equipped shield
Adjusted holster offsets for all shields, mostly fixes them sticking out the side of the camper
Fixed exception when rapidly switching back and forwards from a shield compatible weapon to an incompatible weapon
adjusted strap for improvised shield
updated metal shield admire animation transition on metal shield animator
Fixed impact effects not firing properly when a shield is hit by a server side projectile (auto turrets, scientists)
Much improved system to sync shield position/rotation to server, send shield pos/rot in model state