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 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 models alpha to 0?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Imperio59
> Sent: 26 November 2005 20:20
> To: hlcoders@list.valvesoftware.com
> Subject: [hlcoders] Is there such a thing as a NULL model?
>
> 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 world model name in the
> script file, both those crash me... I've tried putting a bunch of
> AddEffect(EF_NODRAW) everywhere in my weapon class, no luck there, i've had
> a modeller make me an empty model, and that also crashes...
>
> Anyone got a simple solution for me to fix this problem?
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.13.8/183 - Release Date: 25/11/2005
>
>
>
> _______________________________________________
> 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

Reply via email to