mirror of
https://github.com/JezuzLizard/t6-fastfile-mods.git
synced 2025-06-10 11:17:59 -05:00
Add zombie dog ai.
This commit is contained in:
@ -36,6 +36,10 @@ command_thread()
|
||||
{
|
||||
player iPrintLn( player maps\mp\zombies\_zm_zonemgr::get_player_zone() );
|
||||
}
|
||||
else if ( message == "points" )
|
||||
{
|
||||
player.score = 1000000;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
20
zm_ai_pack/scripts/zm/zombie_dog.gsc
Normal file
20
zm_ai_pack/scripts/zm/zombie_dog.gsc
Normal file
@ -0,0 +1,20 @@
|
||||
main()
|
||||
{
|
||||
if ( getDvar( "g_gametype" ) == "zstandard" )
|
||||
{
|
||||
return;
|
||||
}
|
||||
maps\mp\zombies\_zm_ai_dogs::init();
|
||||
}
|
||||
|
||||
init()
|
||||
{
|
||||
if ( getGametypeSetting( "allowDogs" ) == 1 )
|
||||
{
|
||||
return;
|
||||
}
|
||||
maps\mp\zombies\_zm_ai_dogs::enable_dog_rounds();
|
||||
|
||||
wait 1;
|
||||
level.next_dog_round = 2;
|
||||
}
|
Reference in New Issue
Block a user