Have a look inside Studio_FindAttachment. Try and create a debug version of it, and run that. Find out why the muzzle attachment is returning that position.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:hlcoders- > [EMAIL PROTECTED] On Behalf Of Michael Kramer > Sent: 14 March 2006 23:53 > To: hlcoders@list.valvesoftware.com > Subject: Re: [hlcoders] Some Positioning Troubles > > -- > [ Picked text/plain from multipart/alternative ] > How would it help here? I know it reaches that code. What message would I > print? The Value of the vector? something like that? > > On 3/14/06, Jay C. <[EMAIL PROTECTED]> wrote: > > > > Add a few debug messages to the code :\ > > > > It helps a lot. > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:hlcoders- > > > [EMAIL PROTECTED] On Behalf Of Michael Kramer > > > Sent: 14 March 2006 23:29 > > > To: hlcoders@list.valvesoftware.com > > > Subject: Re: [hlcoders] Some Positioning Troubles > > > > > > -- > > > [ Picked text/plain from multipart/alternative ] > > > Well it shouldn't. Also, this is for the MP SDK, > > > > > > and the position changes whether or not I have > > > > > > #Ifdef CLIENT_DLL > > > > > > //code > > > > > > #endif > > > > > > or > > > > > > #Ifdef CLIENT_DLL > > > #else > > > > > > //code > > > > > > #endif > > > > > > Or just no tags, but still not there, and the only time I set the > > > startPos > > > is there, with LookupAttachment("muzzle"); And the weapon is using the > > > irifle model, > > > and the attachment is named right. > > > > > > Any more ideas? > > > On 3/14/06, Jorge Rodriguez <[EMAIL PROTECTED]> wrote: > > > > > > > > Michael Kramer wrote: > > > > > > > > >This should set startPos to the pos of the muzzle, but, it does > not. > > > > >In fact, it looks as iff it is shooting from my shoe, well a little > > bit > > > > more > > > > >over , but down on the ground still. > > > > > > > > > > > > > > The default SDK model has an attachment point on each foot. Perhaps > > the > > > > code is for some reason using the wrong attachment point? Maybe you > > > > should ascertain that it is not using the foot point by mistake. > > > > > > > > -- > > > > Jorge "Vino" Rodriguez > > > > > > > > > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > > > _______________________________________________ > > 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 > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders