Add zombie dog ai.

This commit is contained in:
JezuzLizard
2024-01-09 20:39:51 -08:00
parent 047834cd80
commit 01b08e0e78
6 changed files with 59 additions and 3 deletions

View File

@ -36,6 +36,10 @@ command_thread()
{
player iPrintLn( player maps\mp\zombies\_zm_zonemgr::get_player_zone() );
}
else if ( message == "points" )
{
player.score = 1000000;
}
}
}

View 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;
}