Skip to content

SourceMod function call and memory access natives for TF2

License

Notifications You must be signed in to change notification settings

nosoop/SM-TFUtils

Repository files navigation

TF2 Utils

This is a pre-alpha. I have some more chunks on-disk that I intend to commit, so compiles may not be as well-tested as they normally would be.

SourceMod utility natives for Team Fortress 2. Mainly focused around things that require gamedata that may break during updates, including calls to game functions and raw memory accessors that aren't already in some other library.

One of the design decisions is to only use dependencies built-in to SourceMod. That means this excludes all hooks (handled by DHooks), and SDKCalls that require allocation of some structure (which can be done with Source Scramble).

Similar plugins

There are a number of shared plugins for TF2 that are focused on specific aspects. These include:

  • TF2Attributes, which handles runtime application of attributes on players and weapons
  • Econ Data, which provides low-level read access to schema properties
  • TF2 Wearable Tools, which provides some functionality to access currently equipped wearable entities or attach new ones.