Skip to content

Releases: JeyDotC/JeyDotc-C2-Extensions

Added cancel-reload!

23 Aug 17:06
Compare
Choose a tag to compare

Enhanced version of jj_Weapon.

It has these improvements over the original one:

  1. Support for multiple instances of the same weapon. In the original version it didn’t pick the right instance when shooting, so all bullets came from the same weapon.
  2. It triggers the on created event after spawning bullets.
  3. Added support to modify the stock size from event sheets.
  4. It can save its state when required (implemented 'saveToJson' and 'loadFromJson' methods) this is very important to persist the state of the weapons.
  5. The UID of the shooting weapon is now available on shoot event.
  6. Setting the bullet instance is now optional. This allows jj_Weapon to be potentially used for melee attacks or as some kind of timer with cool features.
  7. NEW Added 'Set bullet instance by name' action which allows to set the bullet instance passing the object type name.
  8. NEW Added the getLastShootTime expression that tells the last time the weapon was shot in milliseconds.
  9. NEW Added last shoot time condition which triggers when has passed the given time in milliseconds since shoot.
  10. NEW Added Is reloading condition.
  11. NEW Added cancel reload action.

Just give the bullet instance name!

22 Feb 16:02
Compare
Choose a tag to compare
Pre-release

Enhanced version of jj_Weapon.

It has these improvements over the original one:

  1. Support for multiple instances of the same weapon. In the original version it didn’t pick the right instance when shooting, so all bullets came from the same weapon.
  2. It triggers the on created event after spawning bullets.
  3. Added support to modify the stock size from event sheets.
  4. It can save its state when required (implemented 'saveToJson' and 'loadFromJson' methods) this is very important to persist the state of the weapons.
  5. The UID of the shooting weapon is now available on shoot event.
  6. Setting the bullet instance is now optional. This allows jj_Weapon to be potentially used for melee attacks or as some kind of timer with cool features.
  7. NEW! Added 'Set bullet instance by name' action which allows to set the bullet instance passing the object type name.
  8. NEW! Added the getLastShootTime expression that tells the last time the weapon was shot. I'm pending to add the condition.

WORK IN PROGRESS

Added 'Interrupt reload' action, in theory, it will allow to interrupt the weapon's reload process and will trigger the new 'Reload interrupted' event and prevent the 'Reload finished' from being triggered. This is a work in progress feature, it's not yet tested.

Bullet instance is now optional

25 Dec 18:02
Compare
Choose a tag to compare

Enhanced version of jj_Weapon.

It has these improvements over the original one:

  1. Support for multiple instances of the same weapon. In the original version it didn’t pick the right instance when shooting, so all bullets came from the same weapon.
  2. It triggers the on created event after spawning bullets.
  3. Added support to modify the stock size from event sheets.
  4. It can save its state when required (implemented 'saveToJson' and 'loadFromJson' methods) this is very important to persist the state of the weapons.
  5. The UID of the shooting weapon is now available on shoot event.
  6. NEW! Setting the bullet instance is now optional. This allows jj_Weapon to be potentially used for melee attacks or as some kind of timer with cool features.

JJ_Weapon now tells you what weapon shot.

14 Sep 03:46
Compare
Choose a tag to compare

Enhanced version of jj_Weapon.

It has these improvements over the original one:

  1. Support for multiple instances of the same weapon. In the original version it didn’t pick the right instance when shooting, so all bullets came from the same weapon.
  2. It triggers the on created event after spawning bullets.
  3. Added support to modify the stock size from event sheets.
  4. It can save its state when required (implemented 'saveToJson' and 'loadFromJson' methods) this is very important to persist the state of the weapons.
  5. (New!) The UID of the shooting weapon is now available on shoot event.

Initial release

25 May 22:22
Compare
Choose a tag to compare

Just uploaded the enhanced version of jj_Weapon.

It has these improvements over the original one:

  1. Support for multiple instances of the same weapon. In the original version it didn’t pick the right instance when shooting, so all bullets came from the same weapon.
  2. It triggers the on created event after spawning bullets.
  3. Added support to modify the stock size from event sheets.
  4. It can save its state when required (implemented 'saveToJson' and 'loadFromJson' methods) this is very important to persist the state of the weapons.