AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [INC] StudioHdr - Entity Model Information (https://forums.alliedmods.net/showthread.php?t=333857)

LuqS 08-21-2021 05:50

Re: [INC] StudioHdr - Entity Model Information
 
Quote:

Originally Posted by Dragokas (Post 2755716)
wow, that is really great!

Hope you also found it useful :)

LuqS 08-21-2021 06:01

Re: [INC] StudioHdr - Entity Model Information
 
21/8/2021 Update:

From now on, constructing StudioHdr variables will be with model path and not with entities.
This has been changed because with the old method only entities derived from CBaseAnimating was able to get the StudioHdr variable.

For convenience, a stock function was added: "GetEntityStudioHdr()".
This works with all entities. (This takes the entity model and constructs a StudioHdr with it)

Currently only CS:GO signature are present in the gamedata file (Win & Linux but only Linux was tested).
If you want to use this include in other games please contact me via discord (if you are willing to test)!

1254871688 04-25-2022 22:53

Re: [INC] StudioHdr - Entity Model Information
 
i want to use SetBodyGroup(int entity, int part, int value) in your example but there is no CalculateNewBodyGroup in your inc

Alienmario 11-17-2022 20:03

Re: [INC] StudioHdr - Entity Model Information
 
Is there a way to get model's textures? There appears to be an inline function that returns a struct with some info.


All times are GMT -4. The time now is 22:37.

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