Page 1 of 1
hide Hud display in spectate
Posted: Wed Feb 16, 2005 12:39 am
by fuhrer
hey just wondering how i can hide the compass, health bar, waiting for players, and the press e to follow player in spectate so i can take a loading screen picture.
also while on that, is there a way to have more than one loading pic, so it shows one waits a few seconds then shows the next one..
thx
Posted: Wed Feb 16, 2005 1:11 am
by Green Beret
make a script to check if a player is spec and give the command ui_hud 0
Posted: Wed Feb 16, 2005 1:17 am
by fuhrer
ty that got rid of the compass and bits, how bout the press e to follow player?
Posted: Wed Feb 16, 2005 5:20 am
by lizardkid
/forum/viewtopic.php?t=9724
Posted: Thu Feb 17, 2005 6:01 am
by fuhrer
ty lizard i had already read that tho i was hoping there was a simpler way like just a simple console command
Posted: Fri Feb 18, 2005 1:04 am
by MPowell1944
Removes all of the hud elements while in Spectator. Works 100%
Code: Select all
level waittill spawn
thread spec_hud
end
spec_hud:
for(local.i = 1; local.i <= $player.size; local.i++)
local.player = $player[local.i]
while(1)
{
while(local.player.dmteam == "spectator")
{
wait .001
local.player stufftext "ui_hud 0; cg_hud 0"
}
wait .001
local.player stufftext "ui_hud 1; cg_hud 1"
}
end
Posted: Fri Feb 18, 2005 1:51 am
by fuhrer
ty i will give that a shot
Posted: Fri Feb 18, 2005 6:27 am
by bdbodger
You can use an animated texture to show several pictures on a loading screen . Do a search for animap
Posted: Fri Feb 18, 2005 8:07 am
by fuhrer
after many a search and sifting thru stuff i managed to find how to do it and it works nicely
