[hlcoders] temporarily freezing animations

2009-01-28 Thread Yorg Kuijs
Hey list, recently been trying to freeze weapon animations while a bool is set to true, I'm not really sure what needs to be done and where though, I believe StudioFrameAdvance should not be called, but animation still continue, there's also the playbackrate but I'm not sure if setting it to

[hlcoders] FW: Key activated grenade throw

2009-01-28 Thread Scott Robson
Hi list, I have this code for creating a new keyboard command for throwing a grenade, the issue i'm having with it is when I include the commented code (to revert back the the previous player weapon) it only starts to change to the grenade then reverts back to the previous weapon, if i leave

Re: [hlcoders] FW: Key activated grenade throw

2009-01-28 Thread Tony Sergi
What I've done for off-hand grenade (using a key to do it) throwing is, I don't switch weapons, but rather do all the logic in base code and throw the grenade there. That way it's truly offhand, and our weapons have animations for the throwing in them. Eliminates all problems with weapon

[hlcoders] GoldSource ragdolls

2009-01-28 Thread Tom Schumann
I'm making a mod for Half-Life and apparently there is some ragdoll code already in the Half-Life SDK's code. I've had a look on Google, but the only tutorial is no longer being hosted, so does anyone here know anything about this ragdoll code, or, if not, whether it's a client side/server side