Try adjusting this value:

Vector( 0, 0, 64 ),        //m_vView

It can be found in your gamerules files (i.e. hl2mp_gamerules.cpp 75)

I adjusted ours for our new weapons and effects and it seemed to straighten
it out.

Keeper

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Slaughter
Sent: Saturday, August 25, 2007 1:56 PM
To: [email protected]
Subject: [hlcoders] New weapon effects not aligned to weapon world model

Hi list,

I'm in the process of adding some new weapons to our mod which have new
firing effects.

I'm currently getting the muzzle position of the first person model by
using the named muzzle attachement, and the effect is created in the
right location at the end of the gun in first person.

However, to other players, the effect is in the wrong position to the
world model.

My question is, is there a way of positioning the effects differently
based on whether you're the player that fired the shot, or is it simply
a case of aligning the first person and world models so that they have
the same muzzle position in game?

I've looked at how tracers are done as they seem to be created in the
right places (both in first person and in the world), but I couldn't see
if the origin is altered anywhere, so are the first person and world
models simply lined up better for the included weapons?
Thanks!

_______________________________________________
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

Reply via email to