Raised This Month: $51 Target: $400
 12% 

[RELEASE] UTILS Extension


Post New Thread Reply   
 
Thread Tools Display Modes
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 01-18-2017 , 14:40   Re: [RELEASE] UTILS Extension
Reply With Quote #11

Quote:
Originally Posted by xXDeathreusXx View Post
If only I knew how to make use of this, it looks super handy, anyone have any kind of example?
What do you want to do?
__________________
Pelipoika is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 01-19-2017 , 11:32   Re: [RELEASE] UTILS Extension
Reply With Quote #12

Quote:
Originally Posted by Pelipoika View Post
What do you want to do?
Play sequences on a player if this can do that, like making Merasmus model do his bomb animation
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 01-19-2017 , 11:46   Re: [RELEASE] UTILS Extension
Reply With Quote #13

Quote:
Originally Posted by xXDeathreusXx View Post
Play sequences on a player if this can do that, like making Merasmus model do his bomb animation
Nah this can't set/play animations on the player entity
__________________
Pelipoika is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-26-2017 , 23:48   Re: [RELEASE] UTILS Extension
Reply With Quote #14

Quote:
Originally Posted by Pelipoika View Post
Nah this can't set/play animations on the player entity
It's possible via other methods that don't require an extension...I think?

I know some methods (for example the Shortstop Shove Animation Enabler) may require signatures and offsets. But I forget if there's a non-gamedata/non-extension way of doing player animations *without* resorting to the classic "spawn a prop_dynamic player model in and make it do the animation* like the unused burning death animation plugin on the forums uses.

Speaking of both the Shortstop Shove and the Unused Burning Death animations plugins.....I think I'm going to look into the possibility of redoing that Unused Burning Death animation plugin that works similarly to the Shortstop plugin, but actually makes the player do the burning death animation instead of spawning a prop.

Last edited by 404UserNotFound; 01-26-2017 at 23:52.
404UserNotFound is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 01-27-2017 , 14:06   Re: [RELEASE] UTILS Extension
Reply With Quote #15

Quote:
Originally Posted by abrandnewday View Post
It's possible via other methods that don't require an extension...I think?
I found this: CTFPlayer::PlaySpecificSequence and CTFPlayer::PlayScene
PlayScene has a vtable offset, PlaySpecificSequence needs a signature

There's also CTFPlayer::SetAnimation, but I don't know where to find the PLAYER_ANIM defenitions
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it

Last edited by xXDeathreusXx; 01-27-2017 at 14:09.
xXDeathreusXx is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 01-27-2017 , 14:23   Re: [RELEASE] UTILS Extension
Reply With Quote #16

Quote:
Originally Posted by xXDeathreusXx View Post
I found this: CTFPlayer:laySpecificSequence and CTFPlayer:layScene
PlayScene has a vtable offset, PlaySpecificSequence needs a signature

There's also CTFPlayer::SetAnimation, but I don't know where to find the PLAYER_ANIM defenitions
https://github.com/danielmm8888/TF2C...fs.h#L353-L370

https://github.com/akowald/StopThatT...nk.txt#L61-L66
__________________
Pelipoika is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-27-2017 , 20:24   Re: [RELEASE] UTILS Extension
Reply With Quote #17

404UserNotFound is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 01-28-2017 , 13:11   Re: [RELEASE] UTILS Extension
Reply With Quote #18

But that can't be all of them can it? I knew about shareddefs

Either way, thanks for finding that signature since I would of never thought to look at STT
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it

Last edited by xXDeathreusXx; 01-28-2017 at 13:12.
xXDeathreusXx is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 01-28-2017 , 15:53   Re: [RELEASE] UTILS Extension
Reply With Quote #19

Quote:
Originally Posted by xXDeathreusXx View Post
But that can't be all of them can it? I knew about shareddefs

Either way, thanks for finding that signature since I would of never thought to look at STT
Doesn't matter
PHP Code:
void CTFPlayer::SetAnimation()
{
  ;

https://github.com/danielmm8888/TF2C...pp#L5959-L5966
__________________

Last edited by Pelipoika; 01-28-2017 at 15:54.
Pelipoika is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 02-11-2017 , 11:45   Re: [RELEASE] UTILS Extension
Reply With Quote #20

build and gamedata are 404

edit:

gamedata filename is utilsext.txt

yet

Code:
L 02/11/2017 - 05:53:07: [SM] Error parsing gameconfig file "/home/chdata/vsh/tf/addons/sourcemod/gamedata/utils.ext.txt":
L 02/11/2017 - 05:53:07: [SM] Error 1 on line 0, col 0: Stream failed to open
L 02/11/2017 - 05:53:07: [SM] Unable to load extension "utilsext.ext": FAILED TO LOAD GAMEDATA ERROR: File could not be opened: No such file or directory
L 02/11/2017 - 05:53:07: [SM] Unable to load plugin "saxtonhale.smx": Required extension "utilsext" file("utilsext.ext") not running
typo ;o
__________________

Last edited by Chdata; 02-11-2017 at 12:31.
Chdata is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode