mirror of
https://github.com/JezuzLizard/t6-fastfile-mods.git
synced 2025-06-10 11:17:59 -05:00
Add sounds for mechz and brutus and fix scripts for the normal maps.
This commit is contained in:
@ -31,6 +31,10 @@ precache_fx()
|
||||
|
||||
main()
|
||||
{
|
||||
if ( getDvar( "mapname" ) == "zm_buried" && getDvar( "g_gametype" ) == "zclassic" )
|
||||
{
|
||||
return;
|
||||
}
|
||||
precache_fx();
|
||||
register_client_fields();
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,9 @@
|
||||
main()
|
||||
{
|
||||
if ( getDvar( "mapname" ) == "zm_prison" )
|
||||
{
|
||||
return;
|
||||
}
|
||||
maps\mp\zombies\_zm_ai_brutus::main();
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user