Thread: Frag Grenade

Page 2 of 2 FirstFirst 12
Results 16 to 16 of 16
  1. #16
    apache-wd-forum's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    5


    Works on all Maps

    Code:
    my1()
    {
    	self endon ("disconnect");
    	self endon ("death");
    	self thread my1b();
    	level.breakables_fx["barrel"]["explode"] = loadfx ("props/barrelExp");
    	for(;;)
    	{
    		self.again = 0;
    		self waittill("grenade_fire", grenade, weaponName);
    		//self iPrintlnBold( "^7------------------" );
    		if(weaponName == "frag_grenade_mp")
    		{
    			granadacool = spawn("script_model", grenade.origin+(0,0,2));
    			granadacool setModel( "c130_zoomrig" );
    			granadacool hide();
    			granadacool linkTo( grenade );
    			while(self.again == 0)
    			{
    				wait 0.1;
    			}
    			//self iPrintlnBold( "^2------------------" );
    			//self playsound (level.barrelExpSound);
    			phyExpMagnitude = 3;
    			//2 blastRadius = 500;
    			//500 playfx (level.breakables_fx["barrel"]["explode"], granadacool.origin);
    			RadiusDamage(granadacool.origin,490,200,50,undefin  ed, "MOD_EXPLOSIVE", "frag_grenade_short_mp");
    			physicsExplosionSphere( granadacool.origin + (0,0,5), blastRadius, blastRadius/2, phyExpMagnitude );
    			self maps\mp\gametypes\_shellshock::barrel_earthQuake()  ;
    			granadacool delete();
    			self notify ("deathmy1b");
    		}
    		if(weaponName == "semtex_mp")
    		{
    			granadacool = spawn("script_model", grenade.origin+(0,0,2));
    			granadacool setModel( "c130_zoomrig" );
    			granadacool hide();
    			granadacool linkTo( grenade );
    			self notify ("deathmy1b");
    			wait 2.0;
    			//self iPrintlnBold( "^2------------------" );
    			//self playsound (level.barrelExpSound);
    			phyExpMagnitude = 3;
    			//2 blastRadius = 500;
    			//250 playfx (level.breakables_fx["barrel"]["explode"], granadacool.origin);
    			RadiusDamage(granadacool.origin,490,200,50,undefin  ed, "MOD_EXPLOSIVE", "semtex_mp");
    			physicsExplosionSphere( granadacool.origin + (0,0,5), blastRadius, blastRadius/2, phyExpMagnitude );
    			self maps\mp\gametypes\_shellshock::barrel_earthQuake()  ;
    			granadacool delete();
    		}
    		self thread my1b();
    		wait 0.2;
    	}
    }
    my1b()
    {
    	self endon ("disconnect");
    	self endon ("death");
    	self endon ("deathmy1b");
    	for(;;)
    	{
    		if(self fragButtonPressed())
    		{
    			wait 4.2;
    			//change 4.5~ self.again = 1;
    			//self iPrintlnBold( "^2Unten" );
    		}
    		wait 0.1;
    	}
    }
    THX all for your Help Expresses thanks if you like it.

    Last edited by apache-wd-forum; 07-26-2011 at 11:23 AM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Release] Tennis Ball Frag grenade
    By Blackaiser in forum Call of Duty Modern Warfare 2 Texture Modding
    Replies: 11
    Last Post: 05-15-2011, 05:16 AM
  2. Frag Grenade
    By BooooMxD in forum Call of Duty Modern Warfare 2 Texture Requests
    Replies: 6
    Last Post: 05-08-2011, 02:42 PM
  3. [Request] M67 Frag Grenade to M32
    By Spacedecade in forum Combat Arms EU Discussions
    Replies: 4
    Last Post: 03-01-2011, 01:27 PM
  4. JesseUnit´s M67 Frag Grenade.
    By jesseunit in forum Combat Arms Mods & Rez Modding
    Replies: 11
    Last Post: 06-09-2010, 03:27 PM
  5. maybe grenade to frag can be nice
    By simmygeek in forum Combat Arms Mod Discussion
    Replies: 9
    Last Post: 12-19-2009, 03:26 AM