Page 1 of 2

Hud..

Posted: Thu Jul 03, 2003 6:17 pm
by Cook
Hi

How remove the life bar, the compass and the timer ?

Posted: Thu Jul 03, 2003 6:39 pm
by jv_map
If you want to do this client side, just type 'ui_hud 0' in console :)

Posted: Thu Jul 03, 2003 6:45 pm
by Cook
jv_map wrote:If you want to do this client side, just type 'ui_hud 0' in console :)
thx man :) !

Posted: Thu Jul 03, 2003 6:50 pm
by Alcoholic
can u do it from script jv?

Posted: Thu Jul 03, 2003 6:55 pm
by jv_map
Yes.

For singleplayer:
setcvar ui_hud 0

For multiplayer:
for(local.i = 1; local.i <= $player.size; local.i++)
$player[local.i] stufftext "set ui_hud 0"

You may want to put this in a loop so the player(s) can't reactivate the(ir) hud(s).

Posted: Thu Jul 03, 2003 7:00 pm
by Alcoholic
haha thats funny their trying to reactivate it. so it doesnt need a 'restart' or anything to work?

Posted: Thu Jul 03, 2003 7:02 pm
by jv_map
Nope :)

Posted: Thu Jul 03, 2003 7:02 pm
by Alcoholic
cool. better cinematic sequences.

Posted: Thu Jul 03, 2003 7:06 pm
by jv_map
You can also do 'letterbox' I think.

Posted: Thu Jul 03, 2003 7:07 pm
by Alcoholic
whats that.

Posted: Thu Jul 03, 2003 7:15 pm
by jv_map
Just type 'letterbox 1' in the script (when the cinematic starts) and enjoy.

Posted: Thu Jul 03, 2003 7:16 pm
by Alcoholic
do you have to do it by gluing the player to something and making him the camera? i thought there were func_cameras but i guess i was thinking of hl.

Posted: Thu Jul 03, 2003 7:22 pm
by jv_map
Yes there is a func_camera in mohaa. I think tltrude has some example maps with cameras.

Posted: Thu Jul 03, 2003 9:21 pm
by Alcoholic
there is? it wasnt in my entity list! you sure its not for spearhead?

Posted: Fri Jul 04, 2003 6:07 am
by jv_map
Yes.