05-21-2012, 11:41
Hello
This is something I found on the files of the Zombies 2 I was making, I used it to make Zombie Drops , it works like this:
MP default scavenger bag spawn is:
But you can of course make your own pick up system:
One thing I havent tried is to change the "scavenger_bag_mp" inside the command, maybe by changing it to another weapon it changes the model or something.
Thanks, @Yamato
This is something I found on the files of the Zombies 2 I was making, I used it to make Zombie Drops , it works like this:
Code:
dropScavengerBag( "scavenger_bag_mp" )
MP default scavenger bag spawn is:
Code:
dropBag = self dropScavengerBag( "scavenger_bag_mp" );
dropBag thread maps\mp\gametypes\_weapons::handleScavengerBagPickup( self );
But you can of course make your own pick up system:
Code:
dropbag = self dropScavengerBag( "scavenger_bag_mp" );
dropbag thread PickUpDrops( "oma" );
PickUpDrops( type )
{
self waittill( "scavenger", player );
player playLocalSound( "scavenger_pack_pickup" );
player maps\mp\gametypes\_damagefeedback::updateDamageFeedback( "scavenger" );
switch( type )
{
case "thumper":
self giveWeapon( "m79_mp", 0, false );
break;
case "oma":
self giveWeapon( "onemanarmy_mp", 0, false );
break;
}
}
One thing I havent tried is to change the "scavenger_bag_mp" inside the command, maybe by changing it to another weapon it changes the model or something.
Thanks, @Yamato