model replacing help :S
i need a toggle that changes my weapon model and my "hands" model to hold that weapon..
now lets say i have a model of the CS hands holding claws. now when i turn a function on... ill see my hands using claws... and when i turn it off.. i want to see my hands using knife (normal) how i do that??? and can i make other ppl see the change too? (like my whole body holding claws insted of knife?) |
Try something like
EDIT: Oops, forgot reset. Code:
|
no dude.. it will change my player model into hands that fly in the air....
what i wanted to do is to change my hands model into other hands model and back.. i think it has something to do with entity_set_model :\ but i dont know how to use it.. |
Added the reset. That should work, unless I'm not understanding what you want.
|
in cs, every player is made out of 2 models
the man model (that every1 can see walking around) and the hands model (that only u can see.. the ones who hold the weapon) i want to change the hands model... not the man model... cs_set_user_model changes the man model |
Okay, well after looking at the Wolverine hero for SH.
I don't know how to get around the cs_set_user_model issue, but maybe something similar to this Code:
|
yep.. see.. i know how to do the function of the toggle it on and off... what i dont know is the command of removing a current model and placing another insted... its an engine thing
|
Code:
|
thanks!
|
np...
|
| All times are GMT -4. The time now is 23:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.