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

[RELEASE] UTILS Extension


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
arthurdead
Senior Member
Join Date: Jul 2013
Old 09-17-2016 , 13:55   [RELEASE] UTILS Extension
Reply With Quote #1

native FireBulletsInfo_t utils_CreateFireBulletsInfo();
native void utils_FireBulletsInfoSetVar(FireBulletsInfo_t info, const char[] name, any[] value); // please use the methodmap
native void utils_EntityFireBullets(int entity, FireBulletsInfo_t info);

native float utils_StudioSetBoneController(int entity, int controller, float value, float &newvalue);
native float utils_StudioGetBoneController(int entity, int controller, float value);

native void utils_EntityGetPoseParameterRange(int entity, int parameter, float &minvalue, float &maxvalue);

native bool utils_EntityHasMovement(int entity, int sequence);
native bool utils_EntityHasPoseParameter(int entity, int sequence, int parameter);

native int utils_EntityGetNumBones(int entity);

native int utils_EntityLookupAttachment(int entity, const char[] name);
native int utils_EntityLookupBone(int entity, const char[] name);
native int utils_EntityLookupSequence(int entity, const char[] name);
native int utils_EntityLookupPoseParameter(int entity, const char[] name);
native Activity utils_EntityLookupActivity(int entity, const char[] name);

native void utils_EntityGetBonePosition(int entity, int index, float origin[3], float angle[3]);
native void utils_EntityGetAttachment(int entity, int index, float vec[3], float angle[3]);
native void utils_EntityGetAttachmentLocal(int entity, int index, float vec[3], float angle[3]);

native float utils_StudioSetPoseParameter(int entity, int parameter, float value, float &newvalue);

native float utils_StudioGetPoseParameter(int entity, int parameter, float value);

native int utils_EntitySelectWeightedSequence(int entity, Activity activity);
native Activity utils_EntityGetSequenceActivity(int entity, int sequence);
native float utils_EntitySequenceDuration(int entity, int sequence);
native float utils_EntitySequenceGroundSpeed(int entity, int sequence);

native any utils_AnimOverlayFunc(AnimOverlayHandler handler, const char[] name, any ...); // please use the methodmap

native void utils_GetActivityName(Activity activity, char[] name, int maxlen);
native Activity utils_GetActivityIndex(const char[] name);
native float utils_GetFrameTime();

stock float utils_EntitySetPoseParameter(int entity, int parameter, float value)
stock float utils_EntityGetPoseParameter(int entity, int parameter)

stock float utils_EntitySetBoneController(int entity, int controller, float value)
stock float utils_EntityGetBoneController(int entity, int controller)

https://github.com/arthurdead/utilsext

windows build
https://github.com/arthurdead/utilse...2.dll?raw=true

linux build
https://github.com/arthurdead/utilse...f2.so?raw=true

gamedata
https://raw.githubusercontent.com/arthurdead/utilsext/master/gamedata/utilsext.txt

include
https://raw.githubusercontent.com/ar...e/utilsext.inc

Last edited by arthurdead; 12-05-2016 at 19:32.
arthurdead is offline
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 09-17-2016 , 13:57   Re: [RELEASE] UTILS Extension
Reply With Quote #2

__________________

Last edited by Pelipoika; 09-17-2016 at 13:57.
Pelipoika is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 09-17-2016 , 14:07   Re: [RELEASE] UTILS Extension
Reply With Quote #3

and what is the point of this extension? what are possibilities with it? Any usages for CS:GO?
__________________
iGANGNAM is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 09-17-2016 , 14:10   Re: [RELEASE] UTILS Extension
Reply With Quote #4

This extension is amazing, I could achieve all I wanted to do the last month, thanks to you.
__________________
Benoist3012 is offline
arthurdead
Senior Member
Join Date: Jul 2013
Old 09-17-2016 , 14:10   Re: [RELEASE] UTILS Extension
Reply With Quote #5

Quote:
Originally Posted by iGANGNAM View Post
and what is the point of this extension? what are possibilities with it? Any usages for CS:GO?
get csgo gamedata and compile it for csgo i ain't touching that
arthurdead is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 09-17-2016 , 14:38   Re: [RELEASE] UTILS Extension
Reply With Quote #6

I can work on my Battle Bots plugin with this

Quote:
Originally Posted by iGANGNAM View Post
and what is the point of this extension? what are possibilities with it? Any usages for CS:GO?
It's useful for animating things, for example the Player Pets plugin that's out there on the forum. There's a few versions of the plugin:

- The one that's gotten well known on the forums
- The one that me and Arthurdead worked on, based off of Golden machine gun's pets
- Golden Machine Gun's pets

I have all three versions of that plugin and I've been working on a new version that adds proper walking (using m_flPoseParameters) and new states like crouchwalking, swimming, etc.

Advanced info below

Last edited by 404UserNotFound; 09-17-2016 at 14:51.
404UserNotFound is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 09-18-2016 , 02:06   Re: [RELEASE] UTILS Extension
Reply With Quote #7

@abrandnewday Fire bullets function allows you to shoot bullets from an entity and set its damage, damage force, and of course the number of bullets and the spread. I used it in my sf2 plugin last week, can say, it works pretty well.
__________________

Last edited by Benoist3012; 11-13-2016 at 05:35.
Benoist3012 is offline
tonline_kms65
Member
Join Date: Aug 2016
Location: Ru. Komsomol-on-Amur
Old 10-04-2016 , 11:59   Re: [RELEASE] UTILS Extension
Reply With Quote #8

Quote:
Originally Posted by arthurdead View Post
native FireBulletsInfo_t utils_CreateFireBulletsInfo();
Required module. Does not work on Counter-Strike:Source. What to do what would have worked?
tonline_kms65 is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 10-04-2016 , 14:28   Re: [RELEASE] UTILS Extension
Reply With Quote #9

This looks like it is only compiled for TF2. You need to compile it for your game (and maybe find gamedata for it).
Potato Uno is offline
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 01-18-2017 , 14:17   Re: [RELEASE] UTILS Extension
Reply With Quote #10

If only I knew how to make use of this, it looks super handy, anyone have any kind of example?
__________________
Plugins|Profile
Requests closed

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

Last edited by xXDeathreusXx; 01-18-2017 at 14:17.
xXDeathreusXx is offline
Reply


Thread Tools
Display Modes

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 15:32.


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