Page 1 of 1

Remove Avatar - weapon replacing

Posted: Tue Apr 28, 2009 11:11 pm
by BBmac
I have created alot of scripts that allow me to specifically remove certain events of the player from the game. I have not modded in years but have always been looking for a command to remove the avatar from my head while I turn myself invisible. Its annoying seeing the avatar while we are shooting a video. Would it be something like "self removeavatar"?


Also,
me not modding for a while has left me rusty in weapon replacing scripting. For instance when players spawn I want all the M1's changed to enfields and panzers to bazookas.

Posted: Wed Apr 29, 2009 6:41 am
by $oldier Of Ra
The avatar cannot be removed, it's hardcoded. But since it's clientside, why not let the cameraman, override the avatar texture with a total transparent texture or a microscopic small texture.

Posted: Wed Apr 29, 2009 7:38 am
by Rookie One.pl
"Microscopic small texture", as you called it, will be stretched to the size of the avatar anyway. Only way to get rid of it is to use a TGA with a blank alpha channel.

Posted: Wed May 06, 2009 6:16 pm
by BBmac
Thanks guys! Any suggestions on weapon switching?

Posted: Wed May 06, 2009 7:26 pm
by $oldier Of Ra
There are millions of threads about that do a search and you'll find plenty.