It uses a flag (EF_BONEMERGE from memory), which basically tells it to match up the bone in the weapon model to the player model (usually the ValveBiped_R_Hand)
On 8/10/05, Alex Thomson <[EMAIL PROTECTED]> wrote: > I think that's a contact point on the crowbar rather than where it > attaches to... but thanks anyway. I'll double-check. > > -----Original Message----- > From: Kamran [mailto:[EMAIL PROTECTED] > Sent: 09 August 2005 17:35 > To: hlcoders@list.valvesoftware.com > Subject: Re: [hlcoders] Weapon attachments > > Have you looked at the crowbar XSI file? It's in the > user_name\sourcesdk_content\hl2\modelsrc\weapons folder. > > It has little points that seem to reference bones, I haven't looked much > at it. > > Alex Thomson wrote: > > >This is a multi-part message in MIME format. > >-- > >[ Picked text/plain from multipart/alternative ] > >So... weapon attachments, the view model stuff is fairly well > >documented. But, say I had a completely new character model and a > >completely new weapon model. How do I go about telling the game where > >the weapon should attach to the character (normally the right hand)? > >I've tried FollowEntity, SetParent but no luck - is it an option hiding > >in a qc file somewhere? > > > >TIA > >Alex > > > > > >_______________________________________________________________________ > ___________________________________________________________________ > >Information contained in this e-mail is intended for the use of the > addressee only, and is confidential and may be the subject of Legal > Professional Privilege. Any dissemination, distribution, copying or use > of this communication without prior permission of the addressee is > strictly prohibited.The views of the author may not necessarily > constitute the views of Kuju Entertainment Ltd. Nothing in this email > shall bind Kuju Entertainment Ltd in any contract or obligation. > > > >The contents of an attachment to this e-mail may contain software > viruses which could damage your own computer system. While Kuju > Entertainment has taken every reasonable precaution to minimise this > risk, we cannot accept liability for any damage which you sustain as a > result of software viruses. You should carry out your own virus checks > before opening the attachment. > > > >_______________________________________________________________________ > ___________________________________________________________________ > >This email has been scanned by the MessageLabs Email Security System. > >For more information please visit http://www.messagelabs.com/email > >_______________________________________________________________________ > __________________________________________________________________ > >-- > > > >_______________________________________________ > >To unsubscribe, edit your list preferences, or view the list archives, > please visit: > >http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > > > > > > -- > Kamran A > Get Firefox! Safer, Faster, Better. > <http://www.spreadfirefox.com/?q=affiliates&id=0&t=85> > Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > __________________________________________________________________________________________________________________________________________ > Information contained in this e-mail is intended for the use of the addressee > only, and is confidential and may be the subject of Legal Professional > Privilege. Any dissemination, distribution, copying or use of this > communication without prior permission of the addressee is strictly > prohibited.The views of the author may not necessarily constitute the views > of Kuju Entertainment Ltd. Nothing in this email shall bind Kuju > Entertainment Ltd in any contract or obligation. > > The contents of an attachment to this e-mail may contain software viruses > which could damage your own computer system. While Kuju Entertainment has > taken every reasonable precaution to minimise this risk, we cannot accept > liability for any damage which you sustain as a result of software viruses. > You should carry out your own virus checks before opening the attachment. > > __________________________________________________________________________________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > _________________________________________________________________________________________________________________________________________ > > _______________________________________________ > 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