Go to file
Mikusch afc9310704
Add LookupEntityAttachment & GetEntityAttachment natives (#1653)
Using the virtual `CBaseAnimating::GetAttachment(int, matrix3x4_t &)` was a deliberate choice because virtual offsets are generally easier to maintain than signatures. The `matrix3x4_t` is converted to world position and world angles internally.
Some of the other overloads are also inlined on a few games, making this the best choice.

Since this call can only be used on classes inheriting `CBaseAnimating`, we check if the `DT_BaseAnimating` SendTable exists on the entity, throwing a native error if it doesn't.
This safeguard could be greatly improved with a call to `CBaseEntity::GetBaseAnimating`, but would require more gamedata (maybe something to consider for the future?)
2022-01-03 13:13:54 +00:00
.github Switch to clang-8. 2021-10-27 09:44:19 -10:00
bridge/include Fix server binary name for CRC lookups. 2021-11-01 13:04:23 -04:00
configs Removing old GeoIP.dat (#1533) 2021-07-17 11:32:02 +01:00
core Merge branch 'fix-menu-vote-handler' 2021-12-09 18:13:30 -08:00
editor Added AMXX Pawn geshi generation script. 2010-08-23 13:53:44 -04:00
extensions Add LookupEntityAttachment & GetEntityAttachment natives (#1653) 2022-01-03 13:13:54 +00:00
gamedata Add LookupEntityAttachment & GetEntityAttachment natives (#1653) 2022-01-03 13:13:54 +00:00
licenses Fix quote mismatch (#1092) 2019-09-30 22:43:18 -07:00
loader Fix build against released MM:S branches (#1607) 2021-10-25 19:42:51 +01:00
plugins Add LookupEntityAttachment & GetEntityAttachment natives (#1653) 2022-01-03 13:13:54 +00:00
public Update SourcePawn/AMTL to fix build. 2021-12-11 16:28:04 -08:00
sourcepawn@51ccc088b0 Update SourcePawn/AMTL to fix build. 2021-12-11 16:28:04 -08:00
tools Fix helpers module path lookup on newer Perl versions. 2021-12-13 13:16:14 -05:00
translations Standardize some spacing in translation phrases (#1254) 2020-05-08 14:55:05 -07:00
versionlib Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00
.arcconfig Add a .arcconfig file so that arc works 2013-10-15 22:57:59 +01:00
.gitattributes NPOTB: Correct GitHub's Linguist inaccuracies (#1096) 2019-10-07 19:14:09 +01:00
.gitignore Ignore all build* folders in .gitignore 2021-11-17 13:17:39 +01:00
.gitmodules Use upstream SourcePawn as a submodule. 2015-03-15 16:38:38 -07:00
.travis.yml Prefer python3 over python(2) in checkout-deps (#1424) 2021-03-07 13:50:15 +01:00
AMBuildScript Update SourcePawn. 2021-11-23 00:11:48 -08:00
appveyor.yml Add support for hl2sdk-mock. 2021-09-22 12:36:44 -07:00
changelog.txt Triggering a build. 2011-04-13 19:05:41 -05:00
configure.py Add support for ASAN. 2021-11-11 23:41:42 -08:00
product.version Bump version to 1.11. 2019-10-18 21:07:36 -07:00
pushbuild.txt Trigger build for TF2 SDK INetChannel changes. 2021-09-16 22:07:57 -04:00
README.md Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

License

SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.