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

@ -11384,3 +11384,12 @@
"origin" "-168 473 16" "origin" "-168 473 16"
"guid" "B6A85D0D" "guid" "B6A85D0D"
} }
{
"classname" "actor_zombie_dog"
"model" "zombie_wolf"
"export" "1"
"spawnflags" "17"
"origin" "0 0 0"
"script_noteworthy" "zombie_dog_spawner"
"guid" "10894F27"
}

View File

@ -36,6 +36,10 @@ command_thread()
{ {
player iPrintLn( player maps\mp\zombies\_zm_zonemgr::get_player_zone() ); 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;
}

View File

@ -29,4 +29,4 @@ include,tomb/zm_tomb_mech_zombie
//include,transit/zm_transit_avogadro //include,transit/zm_transit_avogadro
include,transit/zm_transit_basic_no_anims include,transit/zm_transit_basic_no_anims
include,transit/zm_transit_screecher include,transit/zm_transit_screecher
//include,transit/zombie_dog include,transit/zombie_dog

View File

@ -12,4 +12,4 @@ include,tomb/zm_tomb_mech_zombie
//include,transit/zm_transit_avogadro //include,transit/zm_transit_avogadro
include,transit/zm_transit_basic include,transit/zm_transit_basic
include,transit/zm_transit_screecher include,transit/zm_transit_screecher
//include,transit/zombie_dog include,transit/zombie_dog

View File

@ -51,3 +51,26 @@ material,mc/mtl_nazi_hellhound_eyes
xmodel,zombie_wolf xmodel,zombie_wolf
script,character/clientscripts/character_sp_zombie_dog.csc script,character/clientscripts/character_sp_zombie_dog.csc
script,aitype/clientscripts/zombie_dog.csc script,aitype/clientscripts/zombie_dog.csc
image,fxt_env_lightning_bolt_trail2
material,gfx_fxt_env_lightning_bolt_trail
image,fxt_env_lighting_bolt_ground
material,gfx_fxt_env_lightning_bolt_ground
fx,maps/zombie/fx_zombie_dog_lightning_spawn
material,gfx_fxt_light_flare2
material,gfx_fxt_env_lightning_bolt_streak
fx,maps/zombie/fx_zombie_dog_lightning_buildup
techniqueset,effect_jqj65q53
material,gfx_fxt_light_flare2_eyeglow
material,gfx_fxt_light_flare2_eyeglow2
fx,maps/zombie/fx_zombie_dog_eyes
fx,maps/zombie/fx_zombie_dog_explosion
fx,maps/zombie/fx_zombie_dog_fire_trail
image,fxt_exp_ember_omni2
material,gfx_fxt_exp_ember_omni2
image,fxt_exp_ember_omni3
material,gfx_fxt_exp_ember_omni3
fx,maps/zombie/fx_zombie_dog_ash_trail
rawfile,shock/dog_bite.shock
script,scripts/zm/zombie_dog.gsc