-- [ Picked text/plain from multipart/alternative ] oh and the actual carry stuff, is in the weapon_physcannon file, jsyk.
On 3/22/07, Tobias Kammersgaard <[EMAIL PROTECTED]> wrote: > > -- > [ Picked text/plain from multipart/alternative ] > I believe the following functions, in hl2_player.cpp/hl2_player.h handles > the picking up. > > // physics interactions > virtual void PickupObject( CBaseEntity *pObject, bool bLimitMassAndSize > ); > virtual bool IsHoldingEntity( CBaseEntity *pEnt ); > virtual void ForceDropOfCarriedPhysObjects( CBaseEntity > *pOnlyIfHoldindThis ); > virtual float GetHeldObjectMass( IPhysicsObject *pHeldObject ); > > > Hope that helps > > /ProZak > > > On 22/03/07, Mukkan Yhtio <[EMAIL PROTECTED]> wrote: > > > > Thank you, if you could I would find this very helpfull. I am still > > attempting to get it working. > > > > Christopher Harris wrote: > > > I believe one of the functions associated with it was empty or > something > > > similar I messed with this a while ago and managed to get item pickup > > > working in hl2dm though it was a bit wonkers at times due to the way > > item > > > pickup was written I think. I sadly do not have the code anymore as I > > > reformatted multiple times since then (just a few days ago for Vista), > > > once > > > I get steam up and running I will look over it again. > > > ----- Original Message ----- > > > From: "Mukkan Yhtio" <[EMAIL PROTECTED]> > > > To: <hlcoders@list.valvesoftware.com> > > > Sent: Thursday, March 22, 2007 1:46 PM > > > Subject: [hlcoders] Player USE (Item Pickup) > > > > > > > > >> I have compaired the HL2 base and the HL2DM Base and I can't figure > out > > >> why in HL2 you can pickup small physics props with the USE Button and > > >> you can't in HL2 DM?! > > >> > > >> Could some one please help me with this? I would like to enable this > > >> feature in HL2DM but can't understand how. > > >> > > >> I have trawled through a lot of Item Pickup related code. > > >> > > >> 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 > > > > > > > > > > > > > > _______________________________________________ > > 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 > > -- -omega -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders