



Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
something = create_simple_hud( self );
something.sort = 1;
something.hidewheninmenu = true;
something.alignX = "left";
something.alignY = "top";
something.horzAlign = "fullscreen";
something.vertAlign = "fullscreen";
something SetShader( "shader", 640, 480 );
#include common_scripts\utility;
#include maps\_utility;
#include maps\_zombiemode_utility;
#include maps\_loadout;
init()
{
//Precache shader first.
PreCacheShader("nzr_combathigh");
level thread onPlayerConnect();
}
onPlayerConnect()
{
for( ;; )
{
level waittill( "connecting", player );
player thread onPlayerSpawned();
}
}
onPlayerSpawned()
{
self endon( "disconnect" );
for( ;; )
{
self waittill( "spawned_player" );
wait 1;
self thread spawnHUDElem();
}
}
spawnHUDElem()
{
//create_simple_hud is located in _zombiemode_utility
something = create_simple_hud( self );
something.sort = 1;
something.hidewheninmenu = true;
something.alignX = "left";
something.alignY = "top";
something.horzAlign = "fullscreen";
something.vertAlign = "fullscreen";
something SetShader( "nzr_combathigh", 640, 480 );
something.alpha = 1;
return something;
}