Jump to content

[Knowledge] SourcePawn plugin Experiment

J_Oyl Jaa

Recommended Posts

  • 1 month later...

Multiple Bodygroups Experiments

In source engine game, Player Model  can have multiple bodygroups and Texture skin. This advanatage allow us to have one model files with many various of cloth or texture without putting the same model files but just different appearance. For Example.

This is simple, and the function already include in sourcemod.inc
Here is the simple code to change bodygroups

public void ApplyBodyCloth(int client, int index)
	// change bodygroups
    SetEntProp(client, Prop_Send, "m_nBody", index);

	// change skin texture
	SetEntProp(client, Prop_Send, "m_nSkin", index);

the bodygroups only work with player model, meaning you still need to have multiple arms model in csgo to change it.

Ps. This two models is made by Toppi when RAZE still open. They are designed to experiment this bodygroup in the first place.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...