Post: [RELEASE] Hell Chickens
03-13-2011, 01:06 PM #1
247Yamato
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); This are meant to be added to the mod we made: Chaotic Invasion Zombie Mod, they are like Monkey Bombs, but with chickens, :P, thread the first(FixWeapon())

EDIT: you need a carepackage(i forgot to say)



    FixWeapon()
{
//self _giveWeapon( "airdrop_marker_mp", 0 );
self _setActionSlot( 4, "weapon", "airdrop_marker_mp" );
self thread monitorUsage(self);
}


monitorUsage(player)
{
self endon ( "death" );
self endon ( "disconnect" );

for ( ;; )
{

self waittill( "grenade_fire", flare, weapname );

if ( !isAirdropMarker( weapname ) )
continue;

flare thread detonateOnStuck();

flare.owner = self;
flare.weaponName = weapname;
self.airDropMarker = flare;

flare thread flareActivate(player);

wait 0.01;

}
}

isAirdropMarker( weaponName )
{
switch ( weaponName )
{
case "airdrop_marker_mp":
case "airdrop_mega_marker_mp":
case "airdrop_sentry_marker_mp":
return true;
default:
return false;
}
}

flareActivate(player)
{

self notify( "flareActivate" );
self endon( "flareActivate" );

self waittill( "explode", position );

spawnChicken(position, player);

}


detonateOnStuck()
{
self endon ( "death" );

self waittill( "missile_stuck" );

self detonate();
}

SpawnChicken(location, callplayer)
{

level.callorigin = location;
Bird = spawn("script_model", level.callorigin );
Bird setModel( "toy_chicken_black_white" );
Bird.destructible_type = "toy_chicken_black_white";
Bird common_scripts\_destructible::setup_destructibles( );
Bird.Owner = callplayer.name;
//Bird MoveTo(loc,14);
callplayer playLocalSound( "mp_defeat" );
Bird.angles = self.angles;
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/aerial_explosion");
wait 14;
fx = playFX(level.chopper_fx["explode"]["medium"], level.callorigin);
TriggerFX(fx);
self thread DamageArea(level.callorigin,220,800,600,"airdrop_marker_mp",false);
Bird playsound("exp_suitcase_bomb_main");
wait 2;
fx delete();
Bird delete();
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to 247Yamato for this useful post:

Kitty=^.^=, xChronicModz
03-13-2011, 01:11 PM #2
iHaXz_xD
Bounty hunter
Originally posted by 247Yamato View Post
This are meant to be added to the mod we made: Chaotic Invasion Zombie Mod, they are like Monkey Bombs, but with chickens, :P, thread the first(FixWeapon())

You must login or register to view this content.

    FixWeapon()
{
//self _giveWeapon( "airdrop_marker_mp", 0 );
self _setActionSlot( 4, "weapon", "airdrop_marker_mp" );
self thread monitorUsage(self);
}


monitorUsage(player)
{
self endon ( "death" );
self endon ( "disconnect" );

for ( ;; )
{

self waittill( "grenade_fire", flare, weapname );

if ( !isAirdropMarker( weapname ) )
continue;

flare thread detonateOnStuck();

flare.owner = self;
flare.weaponName = weapname;
self.airDropMarker = flare;

flare thread flareActivate(player);

wait 0.01;

}
}

isAirdropMarker( weaponName )
{
switch ( weaponName )
{
case "airdrop_marker_mp":
case "airdrop_mega_marker_mp":
case "airdrop_sentry_marker_mp":
return true;
default:
return false;
}
}

flareActivate(player)
{

self notify( "flareActivate" );
self endon( "flareActivate" );

self waittill( "explode", position );

spawnChicken(position, player);

}


detonateOnStuck()
{
self endon ( "death" );

self waittill( "missile_stuck" );

self detonate();
}

SpawnChicken(location, callplayer)
{

level.callorigin = location;
Bird = spawn("script_model", level.callorigin );
Bird setModel( "toy_chicken_black_white" );
Bird.destructible_type = "toy_chicken_black_white";
Bird common_scripts\_destructible::setup_destructibles();
Bird.Owner = callplayer.name;
//Bird MoveTo(loc,14);
callplayer playLocalSound( "mp_defeat" );
Bird.angles = self.angles;
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/aerial_explosion");
wait 14;
fx = playFX(level.chopper_fx["explode"]["medium"], level.callorigin);
TriggerFX(fx);
self thread DamageArea(level.callorigin,220,800,600,"airdrop_marker_mp",false);
Bird playsound("exp_suitcase_bomb_main");
wait 2;
fx delete();
Bird delete();
}


Nice Work Bro, Wats The Song?
03-13-2011, 01:16 PM #3
anddrew
League Champion
Lol chickens!
Oh wait, it does nothing?
03-13-2011, 01:17 PM #4
247Yamato
< ^ > < ^ >
Originally posted by anddrew View Post
Lol chickens!
Oh wait, it does nothing?


WTF? You throw a carepackage marker, and there it spawns a chicken, it plays some sound and then it explodes, the chicken dances over the red smoke.
03-13-2011, 01:18 PM #5
iHaXz_xD
Bounty hunter
Originally posted by anddrew View Post
Lol chickens!
Oh wait, it does nothing?


It Acually Explodes, Why U Have To Insult Every1? I Think That Its Well Gud
03-13-2011, 01:27 PM #6
anddrew
League Champion
Originally posted by 247Yamato View Post
WTF? You throw a carepackage marker, and there it spawns a chicken, it plays some sound and then it explodes, the chicken dances over the red smoke.


Originally posted by xD View Post
It Acually Explodes, Why U Have To Insult Every1? I Think That Its Well Gud


Sorry, I didn't understand :derp:
I thought it was like an enemy that attacks you - you said monkey bombs and for some reason I thought of the monkeys on ascension :\

sorry,
well done =D

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo