Skip to content

Releases: TF2-DMB/CBaseNPC

CBaseNPC 1.12.0.114

12 Oct 20:52
ec041bf
Compare
Choose a tag to compare

Enable ILocomotion interface (#58)

CBaseNPC 1.11.3.113

25 Jul 17:01
9aead65
Compare
Choose a tag to compare

Disallow factory cloning (#55)

CBaseNPC 1.11.2.112

27 Jun 09:57
10fb154
Compare
Choose a tag to compare

Reset interface pointers on unload (#54)

  • Fixes a crash when sdkhooks or bintools or sdktools are unloaded.

CBaseNPC 1.11.1.111

19 Apr 22:55
b6d82c3
Compare
Choose a tag to compare
  • Updates Windows and Linux gamedata for TF2's 18/4/2024 update (#51, #52)
  • Adjusts GetAnimationEvent check (#52)

CBaseNPC 1.11.1.109

03 Mar 00:04
3a638b7
Compare
Choose a tag to compare

Fix memory leak in Path.Destroy (#50) - (reported by @artvin01)

CBaseNPC 1.11.0.108

28 Dec 22:33
0598845
Compare
Choose a tag to compare

Add CTakeDamageInfo natives to use with TakeDamage (#48)

This PR adds natives for creating and applying custom CTakeDamageInfo parameters to entities using CBaseEntity::TakeDamage(). Plugins can use the GetGlobalDamageInfo native to specify custom parameters for use in TakeDamage.

CBaseEntity::TakeDamage should be used over SDKHooks_OnTakeDamage because it checks for damage filters and applies damage scaling before OnTakeDamage is called. SDKHooks_OnTakeDamage bypasses that and calls CBaseEntity::OnTakeDamage directly.

Other miscellaneous changes:

  • Fixed CTakeDamageInfo.Set/AddDamageType natives missing a parameter (reported by @Mikusch)
  • Fixed some CTakeDamageInfo natives not returning immediately after erroring

CBaseNPC 1.10.3.107

29 Aug 15:21
7b6b5cd
Compare
Choose a tag to compare

Fix missing segment native (#46)

CBaseNPC 1.10.2.106

23 Aug 22:19
05fa624
Compare
Choose a tag to compare

Fix Segment natives not being registered (#44)

CBaseNPC 1.10.1.105

23 Aug 22:12
662c5b9
Compare
Choose a tag to compare

Add PtrToPawnAddress to action callbacks (#43)

  • Added uses of PtrToPawnAddress and PawnAddressToPtr for the action callbacks.
  • Replaced the event result stack of an Action with a counter instead.
  • The event result is assigned after the event has been processed, so there's no risk of overwriting the result if an event is triggered inside of another.

CBaseNPC 1.10.0.104

23 Aug 21:59
3423e2a
Compare
Choose a tag to compare

Fix required CI (#45)