Raised This Month: $ Target: $400
 0% 

Can change model, but how to I specify the model submodel?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Trp. Jed
Member
Join Date: Aug 2004
Old 09-19-2004 , 11:37   Can change model, but how to I specify the model submodel?
Reply With Quote #1

Subject kind of says it all. I can change the players viewmodel using:

entity_set_string( id, EV_SZ_viewmodel, "models/new_weapon.mdl" )

But how do I then tell it to use a specific part/submodel or sequence?

For example, my model has two bodygroups, "weapon" and "hands". What I would like to do is after setting the viewmodel to the new model is specify that from group "hands" that I want to use submodel 1.

As the second part states, how can I set the specific sequence for the viewmodel also?
Trp. Jed is offline
Reply



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 17:15.


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