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
Adam Short
a9d3cf4574
sdktools: Add SetCollisionGroup native ( #1461 ) ( #1507 )
...
* Add SetCollisionGroup native
* Add newline to end of file
* Fix gamedata locations
* Remove extra spaces
* Fix gamedata formatting
* Add Windows signature for CS:GO
* Fix native doc comment
* Revert formatting change
* Change references of client -> entity
* Moved CallWrapper into method
* typofix
Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2021-06-24 15:04:10 -07:00
Nicholas Hastings
98e8f70424
Remove some unused gamedata.
2016-05-11 15:16:48 -04:00
Nicholas Hastings
7399991181
Add SetClientName gamedata.
2015-03-22 15:17:31 -04:00
Nicholas Hastings
ad9de71ac9
Add new and remove old gamerules gamedata for numerous games.
2014-12-23 11:04:05 -05:00
Ryan Stecker
1143b3f56f
Updated IServer gamedata. (r=asherkin)
...
--HG--
extra : amend_source : e907eac94dcfeac43a91ee317688a1a9bf9b8e75
2014-05-16 07:01:04 +01:00
Ruben Gonzalez
15224c6df5
Update windows CS:S gamedata
2014-05-16 00:23:26 -04:00
Ruben Gonzalez
e831757313
Update windows CS:S gamedata
2014-05-16 00:13:23 -04:00
Nicholas Hastings
d11be6fcf4
Updated CS:S SDKTools gamedata.
2012-09-11 18:23:39 -04:00
Nicholas Hastings
d88f07fd31
Updated SDKTools IServer finding on Windows for Ep2v and CSS (bug 5450, r=me).
2012-08-23 07:47:44 -04:00
Nicholas Hastings
e6313c89bc
Gamedata changes for CS:S as separate build (bug 5370).
2012-08-20 21:54:22 -04:00