Re: [hlcoders] Attaching a weapon to an entity's model

2004-10-23 Thread BUzer
Look at CStudioModelRenderer::StudioDrawPlayer function in client dll. Search it for 
if (pplayer-weaponmodel), and look, how it renders additional model.
But using submodels will be easier i think..



 OK basically I can spawn a model and can get it to follow me or whatever.
 Only bad part is that I'm trying to give the model a weapon and I'm not sure
 how to do it.  Setting the weaponmodel string does nothing.

 Anyone have any ideas?

 Thanks,
 Josh (Pimp Daddy)


___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



[hlcoders] Attaching a weapon to an entity's model

2004-10-22 Thread Josh
OK basically I can spawn a model and can get it to follow me or whatever.
Only bad part is that I'm trying to give the model a weapon and I'm not sure
how to do it.  Setting the weaponmodel string does nothing.

Anyone have any ideas?

Thanks,
Josh (Pimp Daddy)


___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Re: [hlcoders] Attaching a weapon to an entity's model

2004-10-22 Thread NuclearFriend
The only way I can think of doing it is using submodels (look at HL's Barney).


On Fri, 22 Oct 2004 21:11:01 -0400, Josh [EMAIL PROTECTED] wrote:
 OK basically I can spawn a model and can get it to follow me or whatever.
 Only bad part is that I'm trying to give the model a weapon and I'm not sure
 how to do it.  Setting the weaponmodel string does nothing.

 Anyone have any ideas?

 Thanks,
 Josh (Pimp Daddy)

 ___
 To unsubscribe, edit your list preferences, or view the list archives, please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlcoders



___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders