Incomplete SP dump provided by Louvenarde

This commit is contained in:
reaaLx
2024-09-05 17:14:53 +10:00
parent 1ea2370337
commit e5de1d5d55
784 changed files with 340494 additions and 0 deletions

29
maps/_cagedchickens.gsc Normal file
View File

@@ -0,0 +1,29 @@
#include common_scripts\utility;
#include maps\_utility;
#include maps\_anim;
initChickens()
{
// wait until the end of the frame so that maps can init their cages
// in their _anim instead of only above _load
waittillframeend;
cages = getentarray( "caged_chicken", "targetname" );
array_thread( cages, ::spawnChicken );
}
spawnChicken()
{
chicken = spawn_anim_model( "chicken" );
self thread anim_single_solo( chicken, "cage_freakout" );
anime = chicken getanim( "cage_freakout" );
starttime = RandomFloatRange( 0, 1.0 );
chicken SetAnimTime( anime, starttime );
for ( ;; )
{
chicken playsound( "animal_chicken_idle", "sounddone" );
chicken waittill( "sounddone" );
}
}