RE: [hlcoders] Is there such a thing as a NULL model?

2005-11-27 Thread Adrian Finol
You can always return false in C_BaseCombatWeapon::ShouldDraw if is not being carried by the local player. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Sent: Saturday, November 26, 2005 6:28 PM To: hlcoders@list.valvesoftware.com Subject: Re:

[hlcoders] Is there such a thing as a NULL model?

2005-11-26 Thread Imperio59
Hi, I'm faced with a problem right now, and i've been trying a few solutions but to no avail so far... I'm trying to create a weapon that has a first person view model, but no third person model at all (the character model will display the animation). I've tried SetModel(NULL); or putting as the

RE: [hlcoders] Is there such a thing as a NULL model?

2005-11-26 Thread Chris Janes
For early versions of hidden we just commented out the world model from the weapon script - it threw an error in the console, but didn't crash and the model was invisible (no error model either). Might be a good place to start looking. If that doesn't work for you, could you not maybe set the

Re: [hlcoders] Is there such a thing as a NULL model?

2005-11-26 Thread Teddy
I did this for the Fatman Fist weapon in dystopia. I modified the SetWeaponVisible() for the fist, so it would AddEffects( EF_NODRAW ); (which hides the world model) and then vm-RemoveEffects( EF_NODRAW ); so it shows the viewmodel On 11/27/05, Chris Janes [EMAIL PROTECTED] wrote: For early