Sensor Ping
Added ping feature to sensors, pulsing a wave of revealing light into the level Added IEventBehavior interface, used by sensors and weapons, for behaviors containing event subscriptions which need to be reset when EntityInstance is disposed Implemented sensor impact for locked weapons (lock speed varies with sensor acquisition) Added ping cooldown bar to HUD Added spline curve implementations to AetheriaMath, applied better mapping to wormhole transition animation Tweaked loadout generator to prefer larger items to a controllable degree (e.g. very important for cargo bays, less for shop inventory), shop inventory bans non-ship hulls and manages internal space more effectively
This commit is contained in:
parent
fd81bf267e
commit
645fcf4b09
62 changed files with 115821 additions and 79 deletions
|
|
@ -288,8 +288,8 @@ public class ZoneRenderer : MonoBehaviour
|
|||
{
|
||||
foreach (var behavior in item.Behaviors)
|
||||
{
|
||||
if(behavior is Weapon weapon)
|
||||
weapon.ResetEvents();
|
||||
if(behavior is IEventBehavior eventBehavior)
|
||||
eventBehavior.ResetEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue