View Single Post
SVC
Junior Member
Join Date: Mar 2021
Old 05-18-2023 , 01:48   Re: Some pev_body information
Reply With Quote #38

Quote:
Originally Posted by okbede_123 View Post
Hello. I have a question. If i have more if groupbody like hat_id, example backpack_id. So if i want a model player have hat id and backpack id so what is recipe it is?
Each bodygroup have a base param that tell the engine from where it starts (to use for the "pev->body" var).

So, let's say you have a model with 3 bodygroups, like:
Spoiler


So, let's do it we manually to see:
Spoiler


On the other hand, I've make this stock to do the job more easily (port of SetBodyGroup from HLSDK):
Spoiler


Finally, i've upload a modified version of the model used on this thread, so you can check for yourself
Attached Files
File Type: zip svc.zip (2.13 MB, 90 views)

Last edited by SVC; 05-18-2023 at 11:40.
SVC is offline