Add sounds for mechz and brutus and fix scripts for the normal maps.

This commit is contained in:
JezuzLizard
2024-02-07 02:36:41 -08:00
parent c753fd3adf
commit baaea355b6
171 changed files with 6997 additions and 4620 deletions

View File

@ -31,6 +31,10 @@ precache_fx()
main()
{
if ( getDvar( "mapname" ) == "zm_buried" && getDvar( "g_gametype" ) == "zclassic" )
{
return;
}
precache_fx();
register_client_fields();
}

View File

@ -179,7 +179,7 @@ mechz_do_manual_looping_fx( localclientnum, script_id, tag_name, fx_element, min
return;
playfxontag( localclientnum, fx_element, self, tag_name );
//waitrealtime( randomfloatrange( min_wait, max_wait ) );
waitrealtime( randomfloatrange( min_wait, max_wait ) );
wait randomfloatrange( min_wait, max_wait );
}
}
@ -199,7 +199,7 @@ mechz_screen_shake_loop( localclientnum )
while ( true )
{
self playrumbleonentity( localclientnum, "mechz_footsteps" );
//waitrealtime( 0.1 );
waitrealtime( 0.1 );
wait 0.1;
}
}

View File

@ -1,5 +1,9 @@
main()
{
if ( getDvar( "mapname" ) == "zm_prison" )
{
return;
}
maps\mp\zombies\_zm_ai_brutus::main();
}

View File

@ -5,17 +5,21 @@
main()
{
if ( getDvar( "mapname" ) == "zm_buried" )
if ( getDvar( "mapname" ) == "zm_buried" && getDvar( "g_gametype" ) == "zclassic" )
{
return;
}
maps\mp\zombies\_zm_ai_ghost::precache_fx();
maps\mp\zombies\_zm_ai_ghost::init();
//maps\mp\zombies\_zm_ai_ghost::precache_fx();
//maps\mp\zombies\_zm_ai_ghost::init();
}
init()
{
level thread ghost_zone_spawning_think();
if ( getDvar( "mapname" ) == "zm_buried" && getDvar( "g_gametype" ) == "zclassic" )
{
return;
}
//level thread ghost_zone_spawning_think();
}
ghost_zone_spawning_think()

View File

@ -6,12 +6,20 @@ main()
{
level thread on_player_connect();
level thread command_thread();
if ( getDvar( "mapname" ) == "zm_tomb" )
{
return;
}
maps\mp\zombies\_zm_ai_mechz::precache();
maps\mp\_utility::onfinalizeinitialization_callback( ::register_clientfields );
}
init()
{
if ( getDvar( "mapname" ) == "zm_tomb" )
{
return;
}
maps\mp\zombies\_zm_ai_mechz::init();
}

View File

@ -1,12 +1,20 @@
main()
{
if ( getDvar( "mapname" ) == "zm_transit" && getDvar( "g_gametype" ) == "zclassic" )
{
return;
}
maps\mp\zombies\_zm_ai_screecher::precache();
maps\mp\_utility::onfinalizeinitialization_callback( ::register_clientfields );
}
init()
{
if ( getDvar( "mapname" ) == "zm_transit" && getDvar( "g_gametype" ) == "zclassic" )
{
return;
}
maps\mp\zombies\_zm_ai_screecher::init();
}