branchrust_reboot/main/shieldscancel
115 Commits over 123 Days - 0.04cph!
Show the current shield health with the health/hunger/vitals
Move the player vitals into a FlexLayout, remove a bunch of hardcoded layout code as a result
Fixed shields not getting properly initialised when using spawn.shielddummy command
Added a damage mitigation factor to all shields, shields will absorb this percentage of damage and then pass the rest of the damage onto the player.
This is applied after the Protection properties are applied, so we can still vary how different shield materials affect damage
Setup reinforced wooden shield prefab
Add melee attack state on 3rd person animator
Added admire to viewmodel animator
Added override controllers for each shield viewmodel
Hook up deploy on 3rd person shield layer
Fixed viewmodel renderers on non metal shields
Disable shield collider while the shield is on the players back
removed the metal shield skin from rig then linked the v_shield to the weapon rootbone in the prefab.
exported metal shield world model anims
setting up metal shield viewmodel anims
reinforced wood shield world model
Fixed some duplicate arms
Reworked shield viewmodel coding to live on a new self contained component
Updated viewmodels with new assets
setting up metal shield viewmodel
Updated Wooden Shield Textures
Updated Wooden Shield World Model and View Model to have better strap positions
reinforced wooden shield viewmodel
Fixed shield inputs being processed while inventory is open
Fixed shield deploying when it shouldn't if the shield was placed in the backpack slot while an incompatible held entity is equipped
Fixed holstered shields parenting to the spine bone with a 70m offset
Wooden shield variant setup
Set up improvised shield prefab variants
transforms on improvised shield
Added a ServerTick method to HeldEntity, called when the player is holding it
Added server side shield positioning to approximately map where the shield will be on the server to match the client (as held entities just get parented to the root on the server but we need accurate positioning for this)
Shields can now take hits from server side projectiles like auto turrets and NPC's
Some folder restructuring now that we have actual assets
Merge from main (stomp PlayerAnimation, will need to redo changes)
Added Wooden Shield Textures, Materials, Collider, World Model and View Model FBXs
Setup Wooden Shield Basic Prefab, LODS, Colliders, World Models, Folders
adjusted improvised shield origin
-Shield world model prefab + LOD and pivot changes
reinforced wood shield blockout
more shield texture updates.
-Shield texture updates
-LODs + settings
Texture changes, redid the leather because I wasn't happy with it.
Shield Texture pass and material changes
shield prefab and adjusted metal value of texture
-Metal Shield World Model and LODs
-Texture tweaks
-Metal shield textures update
- Metal Shield Viewmodel submission
- Material and Textures Setup
Fixed shields not getting OnHolster callbacks
spawn.shielddummy command can now be passed true to make the dummy holster the shield
Placeholder shield idle to fix foot IK
Fixed gibs spawning parented to the player
Reworked how we handle broken state, entity is now properly destroyed when a shield is broken rather than just becoming invisible
Added debug.breakshield convar
Drop the shield when a player dies if it's equipped (like the current held entity)
World model
Compile fixes