Raised This Month: $ Target: $400
 0% 

pev_body for different teams?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
WAR3DM
Senior Member
Join Date: Mar 2016
Old 06-28-2016 , 18:33   Re: pev_body for different teams?
Reply With Quote #12

Quote:
Originally Posted by OciXCrom View Post
I don't understand. What kind of an entity are we talking about here? Does each player have an entity attached to him or there's only one entity? Please attach the full plugin or explain better.
It's for a model on the ground.

Quote:
Originally Posted by Shattered Heart Lynx View Post
AFAIK you can't change the bodygroup for Players. (since it's reserved for cl_himodels in HLDM)
pev_groupinfo?

Quote:
Originally Posted by SpannerSpammer View Post
WAR3DM, what you need to do is hook AddToFullPack, then check the team of the player
the update us being sent to and check if it's your custom entity that is being updated and
modify pev->Body of your entity using set_es( ). This is the only way you can
modify the appearance of an entity for different players.
Thanks! Great job on NeoTF by the way, it's popularity was probably the reason TF2 exists.

Last edited by WAR3DM; 06-28-2016 at 18:37.
WAR3DM 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 23:26.


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