Skip to content

Json validation, multiple jsons, events and functions

Latest
Compare
Choose a tag to compare
@fenix31415 fenix31415 released this 24 Jan 02:49

Changelog

General

  • Fixed CTD with loading permanent runes.
  • Optimized GetCollisionLayer hooks.
  • conditions field in Triggers is optional.

Followers

  • Fixed a bug with smooth Follower rotating. again.

Multicast

  • Added initial rotation To target (defined by the Homing feature).
  • Sound position fix. again.

Homing

  • Flame projectiles (e.g. flames, frost spells) disable aim if target is dead or too far away.

Jsons

  • Added multiple json support. You can use your own file.
  • Added json validation with schema on load. If there is any invalid json, load/reload cancelled. I still insist that you use schema validation in VS Code too.

Settings

  • Added settings.
  • Added option for reload json hotkey. Supports combinations with shift, ctrl, alt. Default: Ctrl+Shift+Q.

New Events

  • ProjDestroyed. After hit/end of lifetime/end of range.
  • ProjImpact. A projectile hits someone or something.
  • EffectEnd. Actor get dispelled an effect.

New Conditions

  • EffectHasKwd now works with ProjAppeared event.

New Trigger Functions

  • Placeatme: spawn something near to trigger.
  • SendAnimEvent: notify behavior graph of trigger.
  • Explode at trigger position.
  • ChangeSpeed is working in triggers, also simplified code regarding it.
  • SetColLayer: change collision type of a projectile. E.g. fly through walls.
  • ChangeRange works for flame and beam projectiles.