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
Benoist
b38c9824fe
sdktools: Add EntityCollisionRulesChanged & SetEntityOwner natives ( #1620 )
...
* Add EntityCollisionRulesChanged & SetEntityOwner natives
* fix win build, and unpushed changes
* Fixed bad world loop
* Requested changes + csgo offsets
* small copy paste mistake
* Strip the debug log lines
* Tiny clean up in comments
* line
* <dvander> try again
* sdktools: add default Param for owner.
Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2021-11-21 23:03:35 -08:00
Nicholas Hastings
2b13f28cfc
Updated gamedata for CS:S, DoD:S, and HL2:DM.
2015-09-11 05:29:09 -07:00
Nicholas Hastings
ad9de71ac9
Add new and remove old gamerules gamedata for numerous games.
2014-12-23 11:04:05 -05:00
Peace-Maker
75d950e4b0
Add GiveAmmo native to SDKTools (bug 6039, r=psychonic).
2014-02-10 10:49:19 -05:00
Kyle Sanderson
f8c065c182
Update CS:S gamedata
2013-09-16 21:22:49 -04:00
Nicholas Hastings
1b19622ab8
Fixed CS:S CommitSuicide offset.
...
--HG--
extra : rebase_source : fc01c099f2af0de819a327262e6e8ffe6f79c658
2013-05-03 15:29:20 -04:00
Nicholas Hastings
77a928cef9
Backed out changeset: cf4356fd3524.
2013-05-02 15:30:16 -04:00
Nicholas Hastings
30be1ea16e
Updated CS:S gamedata.
2013-04-16 12:19:45 -04:00
Nicholas Hastings
191c3dabdb
Updated CS:S gamedata.
2013-02-05 17:20:00 -05:00
Asher Baker
da53fdb50c
Updated cstrike gamedata.
2012-08-22 23:23:31 +01:00
Nicholas Hastings
49ad25d001
Updated CS:S gamedata.
2012-07-02 23:27:22 -04:00
Nicholas Hastings
bb448905ac
Updated CS:S gamedata for today's update.
2012-05-22 17:32:04 -04:00
Paul Clothier
2b8038d700
Fixed IServer in SDKTools on Windows.
2012-04-17 22:27:03 -04:00
Nicholas Hastings
0189c5b990
Fixed tempent gamedata on Windows. Fixed cstrike gamedata.
2012-04-17 22:07:25 -04:00
Nicholas Hastings
8cc850de97
Fixed CS:S gamedata.
2011-11-07 18:23:56 -05:00
Nicholas Hastings
0931794f10
Updated gamedata for today's CS:S update. If wrong, blame gdc!
2011-11-07 18:01:49 -05:00
Peace-Maker
6b3221f1da
Updated CS:S gamedata.
2011-10-13 19:15:02 -04:00
Nicholas Hastings
4521f80e5a
Added ability in SDKTools to get/set prop values on gamerules class (bug 4983, r=fyren).
2011-07-06 17:37:35 -04:00
Nicholas Hastings
7527f441ae
Switched to using IServerTools in SDKTools where possible. (bug 4899, r=fyren).
2011-05-25 08:27:27 -04:00
Nicholas Hastings
c02c4c6d6a
Gamedata update for CS:S, TF2, DOD:S, and HL2DM.
2011-04-15 01:34:18 -04:00
Nicholas Hastings
59820519ce
Updated CS:S gamedata (bug 4754, r=fyren).
2010-12-18 00:03:04 -05:00
Nicholas Hastings
eeb7285528
Updated CSS/DODS/TF2/HL2DM CommitSuicide offset (bug 4650, r=fyren).
2010-10-06 20:46:29 -04:00
psychonic
a73b62c5bf
Updated CSS gamedata (bug 4637, r=fyren).
2010-09-30 17:23:37 -04:00
Nicholas Hastings
9fe2e8e31a
Removed cstrike ep1 and cstrike_beta builds and references.
2010-06-23 23:49:06 -04:00
Scott Ehlert
b413405876
Added gamedata for CS:S Beta (ep2v) on Mac OS X. (bug 4399, r=dvander).
2010-06-04 17:14:52 -05:00
Nicholas Hastings
c2565cf3b7
Updated gamedata for ep2v cstrike(_beta) (bug 4399, r=fyren)
2010-05-11 20:40:14 -04:00
Matt Woodrow
7b6f2863a9
Added PlayerRunCmd hook to sdktools (bug 3289, r=dvander)
2009-05-12 13:54:06 +12:00
Fyren
a4295d1e93
Add a warning to not edit SM's gamedata files; switched to UNIX line endings (bug 3728, r=dvander)
2009-04-07 09:59:21 -07:00
David Anderson
e31cbbfe21
New gamedata organization (bug 3546, r=ds,pred).
2009-01-12 02:28:22 -05:00