Skip to content

v0.5.4

Compare
Choose a tag to compare
@markus-wa markus-wa released this 08 Jul 17:55
· 989 commits to master since this release

Additions

  • Added GameState.GrenadeProjectiles(), contains currently 'live' grenades i.e. flying around and smokes/mollies that are currently up. (#27 thanks @micvbang)
  • Added NadeProjectileThrownEvent, signals that a nade (projectile) has just been thrown
  • Added NadeProjectileBouncedEvent, signals that a nade just bounced off a wall or object
  • Added NadeEventIf.Base() to get the underlying NadeEvent
  • Added Entity.Position() helper function to get entity positions
  • Added Entity.OnCreateFinished() & Entity.OnDestroy() for registering post-creation & pre-deletion actions respectively
  • Added Entity.BindProperty() & PropertyEntry.Bind() utility functions for binding a property's value to a pointer

Changes

  • Replaced unused Player.Weapons field with Player.Weapons() method (#31)
  • Deprecated PropertyEntry.RegisterPropertyUpdateHandler(), added PropertyEntry.OnUpdate() - they are identical but OnUpdate is shorter & easier to understand.

Fixes

  • Fixed Player.RawWeapons containing bad data (#31)
  • Fixed Molotov and Incendiary grenade projectile positioning bug (#32)
  • Fixed detection of M4A1-S (was being treated as a M4A4)
  • Added detection of Revolver as alternative for the Deagle