ive been woring on a map and ive been trying different cod scripts to make a weapon drop power up and i cant seem to find one that works ive been using
http://ugx-mods.com/script/#core.Animation.useAnimtree for add weapon scripts and dont really know which one to use
also Death_reaper()"s tut on simple bonus point works amazing but i try to modify it
http://www.zombiemodding.com/index.php?topic=19007.0 and the drop wouldnt apear as the weapon model view the i changed. so if you follow his tut you will under stand what i have replace in the script here
include_powerup( "gun" ); add_zombie_powerup( "gun", "weapon_rus_reznov_knife", "gun");case "gun":
players thread gun_powerup( self );
break;and instead on this
bonus_powerup( drop_item )
{
players = Get_Players();
points = randomint(2000); // change the 2000 to the highest amount possible to recieve
// give the points funtion
for(i=0;i<players.size;i++) //gives points to all players
{
if(level.zombie_vars["zombie_point_scalar"] == 1) // if double points is off
{ {
players maps\_zombiemode_score::add_to_player_score( points );
} }
else // if double points is on
{
points = points * 2;
players maps\_zombiemode_score::add_to_player_score( points );
}
}
for (i = 0; i < players.size; i++)
{
players playsound ("points_vox");
}
}i tryed thisgun_powerup(drop_item)
{
level.player giveWeapon("zombie_ppsh_upgraded");
}andadd_weapon ( "zombie_ppsh_upgraded");
or something like that if any one has any suggestions on what script type i should use i would love to know and if is kind of a long script then just comment that it is and ill just not try to add it no big deal