Skip to content

Releases: fenix31415/NewProjectilesTMP

Json validation, multiple jsons, events and functions

24 Jan 02:49
Compare
Choose a tag to compare

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.

First Try!

08 Nov 16:57
Compare
Choose a tag to compare

Changelog

Moved on a newer version of UselessFenixUtils.

Functions

  • Created special functions for disabling feature (before "Set<feature>" + "id": "Disable" was used).
  • Added function that aims projectile to caster's point of view.

Shape

Added new shapes:

  • FillHalfCircle;
  • HalfSphere;
  • Cylinder.

Schema

  • Field xDepends no longer requires the normal field.
  • Field shape is now required in Figure object.

TriggerFunctions

  • SetRotation replaced by SetRotationHoming (requires id field) and by SetRotationToSight (requires nothing).
  • SetHoming, SetEmitter and SetFollower no longer accepts Disable value in id field.
  • Added DisableHoming, DisableFollower and DisableEmitter.

Examples

Added Follower examples.

Bugs

Fixed a number of bugs that were found when creating examples.

NewProjectiles: Init

20 Oct 19:04
Compare
Choose a tag to compare
NewProjectiles: Init Pre-release
Pre-release

All basic functions are implemented:

  • Homing
  • Multicast
  • Following
  • Emitter

All documented.