Modme Forums

No HUD Script?

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: Deanford
I Want to make a trailer for my map, but i dont want the HUD in the way? Any ideas? :)


ModmeBot:

Reply By: natesmithzombies
Add this too the bottom of your mapname.gsc:

function no_hud()
{
	flag::wait_till( "initial_blackscreen_passed" );
	wait(10); 
	getplayers()[0] SetClientUIVisibilityFlag( "hud_visible", 0 ); 
}



Thread it under function main() {

level thread no_hud(); 



When you are done comment it out:

// level thread no_hud(); 


ModmeBot:

Reply By: Deanford

natesmithzombiesAdd this too the bottom of your mapname.gsc:

function no_hud()
{
	flag::wait_till( "initial_blackscreen_passed" );
	wait(10); 
	getplayers()[0] SetClientUIVisibilityFlag( "hud_visible", 0 ); 
}



Thread it under function main() {

level thread no_hud(); 



When you are done comment it out:

// level thread no_hud(); 



Thats great!

Cheers Nate! :)