Yup, figured it out. Thank you very much!
Jay Stelly wrote:
There's a different function for throwing objects with the physcannon.
The one I mention below is the correct code for the player picking up
objects with his hands.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kamran
Sent: Thursday, July 21, 2005 2:15 PM
To: hlcoders@list.valvesoftware.com
Subject: Re: [hlcoders] Throwing phys objects
Nevermind my other email, it does work with just hand picking
up. Now I need to figure out if it was thrown using the
physgun or hands...
Jay Stelly wrote:
weapon_physcannon.cpp:
void CPlayerPickupController::Use( CBaseEntity *pActivator,
CBaseEntity
*pCaller, USE_TYPE useType, float value )
has the code
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kamran
Sent: Thursday, July 21, 2005 12:13 PM
To: HLCoders
Subject: [hlcoders] Throwing phys objects
If anyone has messed with the code for throwing physics
objects, where
is it? I basically want to edit what happens when the user presses
MOUSE1 and MOUSE2.
I searched for IN_ATTACK, throw, toss, and I didn't find anything
related to it. I found where it checks to see if the user
can pick up
the object... but nothing more, really.
I'll keep looking but if you know, it'd save me time.
--
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
_______________________________________________
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
_______________________________________________
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