maint: cleanup code
This commit is contained in:
parent
0848badc74
commit
351039652b
@ -105,10 +105,11 @@ function main()
|
||||
system::wait_till( "all" );
|
||||
|
||||
level thread load::art_review();
|
||||
SetDvar("scr_firstGumFree",1); // First GobbleGum free
|
||||
SetDvar("zm_private_rankedmatch",1); // Ranked private match
|
||||
|
||||
level flagsys::set( "load_main_complete" );
|
||||
|
||||
SetDvar("scr_firstGumFree",1); // First GobbleGum free
|
||||
SetDvar("zm_private_rankedmatch",1); // Ranked private match
|
||||
}
|
||||
|
||||
function footsteps()
|
||||
|
@ -4,8 +4,7 @@
|
||||
#using scripts\shared\system_shared;
|
||||
|
||||
#using scripts\shared\flag_shared;
|
||||
#using scripts\shared\array_shared;
|
||||
#using scripts\zm\_zm_perks;
|
||||
// #using scripts\shared\array_shared;
|
||||
|
||||
#insert scripts\shared\shared.gsh;
|
||||
|
||||
@ -17,20 +16,20 @@ function __init__()
|
||||
{
|
||||
callback::on_start_gametype( &init );
|
||||
callback::on_connect( &on_player_connect );
|
||||
// callback::on_spawned( &on_player_spawned ); // Spawn message function
|
||||
// callback::on_spawned( &on_player_spawned ); // Call message function on init
|
||||
}
|
||||
|
||||
function init()
|
||||
{
|
||||
// this is now handled in code ( not lan )
|
||||
// see s_nextScriptClientId
|
||||
// This is now handled in code ( not lan )
|
||||
// See s_nextScriptClientId
|
||||
level.clientid = 0;
|
||||
// Set Client Dvars
|
||||
SetDvar("r_fog", "0"); // Disable fog
|
||||
SetDvar("r_dof_enable", "0"); // Disable depth of field
|
||||
SetDvar("r_lodbiasrigid", "-1000"); // Increase draw distance
|
||||
SetDvar("r_modellodbias", "10"); // Increase model draw distance
|
||||
level.perk_purchase_limit = 25; // Remove perk limit on most maps
|
||||
level.perk_purchase_limit = 50; // Remove perk limit on most maps
|
||||
// level.player_starting_points = 500000; // DEBUG: Set player starting points
|
||||
}
|
||||
|
||||
@ -42,18 +41,17 @@ function on_player_connect()
|
||||
self.clientid = level.clientid;
|
||||
level.clientid++; // Is this safe? What if a server runs for a long time and many people join/leave
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
function on_player_spawned()
|
||||
{
|
||||
// Spawn Message
|
||||
level flag::wait_till("initial_blackscreen_passed");
|
||||
self iPrintLnBold("Follow ^2@thahrimdon ^7on ^1YouTube ^7& ^6Twitch^7!");
|
||||
//self thread print(); // Print message on knife
|
||||
self thread print(); // Print message on knife
|
||||
}
|
||||
|
||||
/*
|
||||
function print()
|
||||
{
|
||||
for(;;)
|
||||
|
Loading…
Reference in New Issue
Block a user