UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

anyone good a scripts

broken avatar :(
Created 9 years ago
by tobin_g1213
0 Members and 1 Guest are viewing this topic.
854 views
broken avatar :(
×
broken avatar :(
Location: usbristol ri
Date Registered: 7 May 2015
Last active: 3 years ago
Posts
22
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
tobin_g1213's Groups
tobin_g1213's Contact & Social Links
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 this
gun_powerup(drop_item)
{         
        
      level.player giveWeapon("zombie_ppsh_upgraded");
      
      

}

and
add_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  :-\

 
Loading ...