2,005 Commits over 274 Days - 0.30cph!
Added support for randomising npc skin textures
Fixed NPCs considering other NPCs with no assigned faction to be hostile
NPCs longer see dead people
Guards no longer protect all the animals
Agro/Target cleanup, preperation for threat/score calc
Boar anim refinement & stats.
Might have fixed blood fx playing when the player blocks a hit
Fixed fight chance flee roll not setting the flee timeout
Boar sound triggers.
Various sound tweaks.
Also unset agro when setting flee fact
Trigger fix.
Boar death prefab.
Boar footstep sound defs.
Boars flinch when attacked.
Ragdolls don't block your movement anymore.
Deer anim & sound stuff
Added an effect recycle status effect component, add it to any effects that should be destroyed once a status effect is removed (so effects could be made to loop)
Added a block Impact fx field on shields, spawns when the shield blocks an impact
WIP cone damage spell type (currently deals damage + effects in a sphere sweep)
Various spellstuffs
Starting equipment.
Tickrate tweaks (AI run vision at slightly slower rate, pending load balancing or something)
Senses no longer uses a dictionary for lookup
Threat calculation for players (healing and damage both increase threat and it drains over time)
NPCs now score all targets using threat and distance, will switch targets if something beats the score of the current target
New spell target indicator
Various senses optimisations and cleanup
Fixed players being healed getting more agro from their aggro list...
Fixed player agro lists getting added to too often
fixed missing deer death sound
AI now has vision and hearing senses, proper FOV
Added stealthbox
Added an orient to view field to spell effects, if true the effect won't be parented to a transform and will be spawned in front of the players view (see TorrentFirePH effect for correct orientation)
Spell target will no longer change while a spell is channelling
Can now hold RMB to target yourself
Fixed some client compile issues
Cone damage now does a small trace to see if anything solid is in the way, adjusts the overlap sphere distance accordingly
Cone spell fx that collides with world layer.
Added the ability to toggle damage scaling based on distance from cast point on cone spell (defaults to false)
Cone fx works while moving
Fixed some cone spell issues
Spell tweaks.
Buck death fix.
Wrapped spell debug stuff behind spells.debugvis convar
Some optimizations to NPCs. In particular range optimizations and reduced gc alloc.