branchrust_reboot/main/Snakescancel
77 Commits over 215 Days - 0.01cph!
Don't start attacks or hazzards when dead
Zero the Y when calculating look forward
Added a cooldown timer for the main triggered attack, use regular attack when on cooldown.
Setup hiss anim state, trigger it.
Add a regular attack, starts after the initial hazard trigger attack and continues while a player is in range.
Attack (placeholder) sound and events.
Trying out some UI to show event has triggered and reaction time.
Warning hissing.
Increase turn speed.
Audio.
Alert tick interval.
Actually assign the hit anim...
Setup snake hit state and triggers.
Added client hurt rpc.
Setup extra anim state between alert and idle.
Animitor tweaks.
exported more snake anims
Snappier death anim transition.
Don't continue turning to face player when we're dead.
Delay removing snake when it dies.
Play death anim.
Setup death anim state.
Increase health, remove more debug.
Snakes will keep re-attacking on a timer if a player stays in range after triggering the QTE the first time.
Removed log spam.
Pivot, increase turn speed.
Reset alert state when no players nearby, snake returns to idle visually.
exported snake rig with all lods now skinned
Hooked up animator.
Set aware flag when a player is near, wakes the snake up visually.
Some initial anim state setup.
Set snake's chance to reposition to 0% for now so I don't get keep losing them
Merge from mfm1, big merge, including Unity version update.
snake anim controller set up and linked to its entity
snake animations and rig exported
Fix onkilled/ondied after merge
Setup population convar and fix error.
Increase snake trigger radius.
Added snake spawn population.
Updated world spawns.
Move snake files.
Manifest.
Increase client side trigger radius so snakes turn towards players earlier
Merge from main, resolve conflicts.
Tweak timers and distances
Re-appear delay, convars.
Wildlife hazards can now also inflict basic damage when a hazard is failed.
Setup snake bite damage.
Snakes now slowly turn to face in-range players.
Client-only visual triggers, notifications and optimisations.
Trigger fixes.
Remove log spam.
Client trigger, art root setup.
Initial basic facing nearest player logic.
Snakes can now reposition after striking.
Added variables and convars for reposition chance, min/max radius and multipliers.
Play particle effect when repositioning.
Hook up placeholder effect.
wip repositioning and convar
Added IReceivePlayerTickListener.
Forward received player ticks to any listeners.
WildLifeHazards can define the button press for avoiding the hazard.
WildiLifeHazards receive the player tick and check for valid input.
Can now succesfully avoid hazards.