hide Hud display in spectate

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

hide Hud display in spectate

Post 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
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

make a script to check if a player is spec and give the command ui_hud 0
Image
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

ty that got rid of the compass and bits, how bout the press e to follow player?
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

/forum/viewtopic.php?t=9724
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

ty lizard i had already read that tho i was hoping there was a simpler way like just a simple console command
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

Removes all of the hud elements while in Spectator. Works 100% :D

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
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

ty i will give that a shot
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

You can use an animated texture to show several pictures on a loading screen . Do a search for animap
Image
fuhrer
Captain
Posts: 253
Joined: Sun Mar 14, 2004 3:36 am

Post by fuhrer »

after many a search and sifting thru stuff i managed to find how to do it and it works nicely :)
Post Reply