I think you want GetVehicleEyeOffest or something similar.

Then adjust the players offset bases on that?
Not looking at the code right now but in a few I will look at it...

r00t 3:16
CQC Gaming
www.cqc-gaming.com
----- Original Message -----
From: "<SB> Childe Roland" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 02, 2005 6:25 PM
Subject: Re: [hlcoders] ThirdPerson View in Vehicle


I found the following section of code:
=====================================================
void CPropJeep::GetCannonAim( Vector *resultDir )
{
Vector muzzleOrigin;
QAngle muzzleAngles;
GetAttachment( LookupAttachment("gun_ref"), muzzleOrigin, muzzleAngles );
AngleVectors( muzzleAngles, resultDir );
}
=====================================================
Does anyone know how the "gun_ref" attachment works?
Is it looking at the player's gun's direction?  If so, why, there
isn't supposed to even be a gun while in the vehicle??  I do have one
showing up, so if anyone knows how to get rid of it, I would
appreciate it.

--
=============================
<SB> Childe Roland
"I will show you fear in a handful of jellybeans."

_______________________________________________
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