branchrust_reboot/main/naval_update/give_scientists_real_weapon_entitiescancel
16 Commits over 0 Days - ∞cph!
Clean up suppressive fire flow, early out earlier if irrelevant to not waste time calculating accuracy, and never calculate accuracy if we are doing suppressive fire
Delete component used for lightweight non-entity weapons + codegen
Fix npc rushing after landing a few shots on the player, required new handling with weapon entities
Fix reload sounds not playing (does not support swapping weapons for now)
Refine npc aiming logic, good accuracy if player is not moving or charging us, bad accuracy if player is far away or running sideways/away
Pass params to ServerUse in struct, to make it easier to add new params without having to update all overrides
Placeholder notify for third person reload sound
Remove call to SetGenericVisible on scientist weapon, seems to be redundant from initial tests (will see with more testing if it really is)
Add comment to make new scientists aimCone calculation less cryptic
Fix weapon damage npc scaling and friendly fire not working properly when weapon is equipped to new scientist
Format npcShootingComponent to remove weird spacing
First pass on giving real weapon entities to new scientists