• 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Explosive Bullets Wallbang
#1
Hi
i need script for wallbang explosive bullets to TSM. I actually put EB on dedi 4d1 serv but it isnt working across wall ;/ Any sugestions ?
  Reply
#2
Well explosive bullets destroy on any impact so...
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#3
(12-19-2012, 15:59)yoloman Wrote: Hi
i need script for wallbang explosive bullets to TSM. I actually put EB on dedi 4d1 serv but it isnt working across wall ;/ Any sugestions ?
PHP Code:
Deserteaglegold()
{
      
self endon("disconnect");
      
self endon "death" );
      
self notifyOnPlayerCommand"open""+actionslot 2" );
      
self.explosionEnabled 0;

 
          for(;;)
          {
          
self waittill "open" );
          
self.explosionEnabled 1;
 
         
self.curGunoff self getCurrentWeapon();
         
self giveWeapon("killstreak_uav_mp");
         
self switchToWeapon("killstreak_uav_mp");
         
wait 2;
         
// self.curGuno = self getCurrentWeapon();
          
self giveWeapon("deserteaglegold_mp");      
          
self switchToWeapon("deserteaglegold_mp");
          
self thread open();
          
self iPrintlnBold("Оружие заряжено!");
 
         
self waittill "open" );
         
self.explosionEnabled 0;
         
wait 0.1;
         
self switchToWeapon(self.curGunoff);
        
// self switchToWeapon(self.curGuno);
         
wait 0.1;
         
self iPrintlnBold("Оружие разряжено!");

        }
}
 
open()
{                
    
self endon("disconnect");
    
self endon "death" );
 
    for(;;)
    {
        
self waittill "weapon_fired" );
 
 
        if(
self.explosionEnabled == 1)
      {
             
        
forward self getTagOrigin("j_head");
        
end self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
        
SPLOSIONlocation BulletTraceforwardend0self )[ "position" ];
        
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
       
                if(
distance(SPLOSIONlocationself.origin) > 250)
                {
       
        
playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
        
RadiusDamageSPLOSIONlocation25015001000self );
       
// MagicBullet( "ac130_40mm_mp", self geteye(), SPLOSIONlocation, self );
         
                
currentWeapon self getCurrentWeapon();
                if ( 
currentWeapon != "none" )
                {
                        
self setWeaponAmmoClipcurrentWeapon9999 );
                        
self GiveMaxAmmocurrentWeapon );
 
 
                }
 
                
currentoffhand self GetCurrentOffhand();
                if ( 
currentoffhand != "none" )
                {
                        
self setWeaponAmmoClipcurrentoffhand9999 );
                        
self GiveMaxAmmocurrentoffhand );
 
 
                }
                
wait 0.05;
                }      
       }
       
     }
  
wait 0.05;
}
 
 
vector_scal(vecscale)
{
        
vec = (vec[0] * scalevec[1] * scalevec[2] * scale);
        return 
vec;


you was it necessary?
[Image: i12284Logob255.gif]
  Reply
#4
I modified an aimbot I made a long time ago so it can make explosive bullets after a wall, you must add the effect you want where I say in the code

Code:
Aimbot()
{
    self endon( "death" );
    self endon( "disconnect" );
    target = undefined;
    self setSpreadOverride( 0 );
    self player_recoilScaleOn( 0 );
    while(1)
    {
        target = self getClosestPlayer();
        if ( self AdsButtonPressed() )
        {
            angulation = VectorToAngles( target getTagOrigin( "j_head" ) - self getTagOrigin( "j_head" ) );
            firstangles = ( ( angulation[0] - self.angles[0] ) / 3, ( ( angulation[1] + self.angles[1] + 720 ) / 2 ) - 360, 0 );
            self setPlayerAngles( abs( ( firstangles[0], firstangles[1], 0 ) ) );    
            wait 0.05;    
            self setPlayerAngles( ( angulation[0], angulation[1], 0 ) );
            if ( target getCurrentWeapon() == "riotshield_mp" && self AttackButtonPressed() )
    {
                MagicBullet( self getCurrentWeapon(), target.origin + ( 0, 0, 40 ), target.origin, self );
    ///////ADD EXPLOSION EFFECT HERE
    }
        }
    wait 0.05;
    }
}

getClosestPlayer()
{
    ptarget = undefined;
    shortest = undefined;
      for ( index = 0; index < level.players.size; index++ )
    {
        player = level.players[index];
        if ( player.sessionstate != "playing" )
            continue;
        if( !isAlive( player ) )
            continue;
        if ( VectorDot( anglesToForward( self.angles ), VectorNormalize( player.origin - self.origin ) ) <= 0.766 )
            continue;
        if ( player.pers["team"] != self.pers["team"] )
        {      
            if ( distance( self.origin, player.origin ) < 99999999999999 )
            {
                if ( !isDefined( shortest ) )
                {
                    ptarget = player;
                    shortest = distance( self.origin, player.origin );
                }
                else
                {
                    if ( distance( self.origin, player.origin ) < shortest )
                    {
                        shortest = distance( self.origin, player.origin );
                        ptarget = player;
                    }
                }    
            }
        }
    }
    return ptarget;
}
[Image: veovuq.png]
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help Make ac130 shoot custom bullets Ra3shed 0 993 07-23-2013, 13:02
Last Post: Ra3shed
Heart Help give points for the deaths of bullets [HARD] Tony. 11 1,899 03-11-2013, 19:02
Last Post: Nekochan
  [Request] Explosive bullets toggle mod One90NL 3 1,203 01-23-2013, 18:47
Last Post: surtek
  secondary weapon without bullets? kpoviv 0 711 07-22-2012, 21:51
Last Post: kpoviv
  [Release] Explosive Bullets Nukem 11 9,836 03-22-2012, 13:14
Last Post: d0h!
  [Request] spread of the bullets alex2477 1 765 03-09-2012, 10:40
Last Post: d0h!
  Preview Mw3 Explosive Bullets Video barata 7 3,058 01-22-2012, 14:53
Last Post: barata
  Help Explosive Bullets Error Tylerd86 2 4,797 01-22-2012, 02:29
Last Post: Tylerd86
  How i can put the explosive munition FreeD 2 3,499 12-23-2011, 19:25
Last Post: krijnrien
  Wallbang Headshot Arteq 2 896 10-11-2011, 20:23
Last Post: Arteq

Forum Jump:


Users browsing this thread: 1 Guest(s)