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

[INC] StudioHdr - Entity Model Information


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LuqS
AlliedModders Donor
Join Date: Jun 2019
Location: Israel
Old 08-10-2021 , 16:38   [INC] StudioHdr - Entity Model Information
Reply With Quote #1

StudioHdr - Entity Model Information

Description:
StudioHdr is a SourcePawn library (.inc) that lets developers get information about entity models.


Credits:
Феникс#1337 (Phoenix): For the base code:
Spoiler

KoNLiG: For letting me scream at him while the code didn't work and crashed the server.


List of features:
Quote:
StudioHdr methodmap

Bones
• `GetBone()` - Get a specific bone object by index.
• `FindBone()` - Find bone index by name.
• Get model 'NumBones'.

Hitbox Sets
• `GetHitboxSet()` - Get a specific hitbox set object by index.
• Get model 'NumHitboxSets'.

Skin Families
• Get model 'SkinFamiliesCount'.
Spoiler


Body Parts
• `GetBodyPart()` - Get a specific body part object by index.
• `FindBodyPart()` - Find body part index by name.
• Get model 'NumBodyParts'.
Spoiler


Attachments
• `GetAttachment()` - Get a specific attachment object by index.
• `FindAttachment()` - Find an attachment index by name.
• Get model 'AttachmentCount'.
Spoiler


Pose Parameters
• `GetPoseParameter()` - Get a specific pose parameter object by index.
• `FindPoseParameter()` - Find a pose parameter index by name.
• Get model 'NumPoseParameters'.
Spoiler



Bone methodmap
• `GetName()` - Get the name of the body part.
• `GetPos()` - Get the position of the bone (relative to model).

Hitbox methodmap
• `bone` - The related bone of the specific hitbox.
• `group` - The intersection group of the specific hitbox.
bounding box, or the ends of the capsule if flCapsuleRadius > 0
• `bbmin`
• `bbmax`
• `GetAngOffsetOrientation()` - Gets the angle offset orientation.
• `flCapsuleRadius` - The radius of the capsule (if not a capsule = 0.0)

HitboxSet methodmap
• `GetHitbox()` - Get a specific hitbox object by index.
• `NumHitboxs` - Number of hitboxes in the hitbox set.

BodyPart methodmap
• `GetName()` - Get the name of the body part.
• `base` - The base value of the body part.
• `nummodels` - Number of sub-models.
Spoiler


Attachment methodmap
• `GetName()` - Get the name of the attachment.

Pose Parameter methodmap
• `GetName()` - Get the name of the pose parameter.
• `start` - The minimum value of the pose parameter.
• `end` - The maximum value of the pose parameter.
Note:
This include was tested only in CS:GO (Linux).
This should work in any source engine based game (i am pretty sure).
If you want to support other games (and you can test), please write here below or add me on Discord!


Links:

GitHub Repository
__________________
You like my work? You want to support?
Consider Donating!

Need signatures / offsets for CS:GO?
Contact me:

Last edited by LuqS; 08-17-2021 at 17:01. Reason: New version update
LuqS is offline
 



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 12:47.


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