Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nade Throwback
#1
Does anybody know how to remove grenade throwback? I recall reading someplace a while ago to set the nade pickup radius to 0 but i can't remember the dvar to do so and can only find 1 in my dvarlist but not sure if it's it.
Reply

#2
bump

5char
Reply

#3
I think I found it but I am not able to test it now:
In your _weapons.gsc found in: maps/mp/gametypes
You should see a block something like this:
Code:
watchGrenadeUsage()
{
    self endon( "death" );
    self endon( "disconnect" );
    
    self.throwingGrenade = false;
    self.gotPullbackNotify = false;
        
    self thread beginOtherGrenadeTracking();
    
    self thread watchForThrowbacks();
    self thread watchForGrenadeDuds();
    self thread watchForGrenadeLauncherDuds();

    for ( ;; )
    {
        self waittill ( "grenade_pullback", weaponName );
        
        self setWeaponStat( weaponName, 1, "shots" );

        
        self.hasDoneCombat = true;
         
         /*if ( weaponName == "claymore_mp" )
            continue;*/
        
        self.throwingGrenade = true;
        self.gotPullbackNotify = true;
        
        if ( weaponName == "satchel_charge_mp" )
        {
            self thread beginSatchelTracking();
        }

        self thread beginGrenadeTracking();
    }
}
Now you should change this:
Code:
self thread watchForThrowbacks();
To this
Code:
//self thread watchForThrowbacks();
This way the thread won't start because it is a comment now.
Reply

#4
(07-11-2011, 07:55)Cyborgking Wrote: I think I found it but I am not able to test it now:
In your _weapons.gsc found in: maps/mp/gametypes
You should see a block something like this:
Code:
watchGrenadeUsage()
{
    self endon( "death" );
    self endon( "disconnect" );
    
    self.throwingGrenade = false;
    self.gotPullbackNotify = false;
        
    self thread beginOtherGrenadeTracking();
    
    self thread watchForThrowbacks();
    self thread watchForGrenadeDuds();
    self thread watchForGrenadeLauncherDuds();

    for ( ;; )
    {
        self waittill ( "grenade_pullback", weaponName );
        
        self setWeaponStat( weaponName, 1, "shots" );

        
        self.hasDoneCombat = true;
         
         /*if ( weaponName == "claymore_mp" )
            continue;*/
        
        self.throwingGrenade = true;
        self.gotPullbackNotify = true;
        
        if ( weaponName == "satchel_charge_mp" )
        {
            self thread beginSatchelTracking();
        }

        self thread beginGrenadeTracking();
    }
}
Now you should change this:
Code:
self thread watchForThrowbacks();
To this
Code:
//self thread watchForThrowbacks();
This way the thread won't start because it is a comment now.



Hum you know you can do that in 1 click on the asset manager? just uncheck the box for throwing back
Reply

#5
Lol I didn't know that. Smile
Well atleast modifying a script gives you more options than the asset manager. You could easely for example say that only player x has grenades that can't be thrown back or only player Y can throw back grenadesk.
Reply

#6
I'll try it out when i get back from work, ty for the help Smile
Reply

#7
(07-11-2011, 14:20)Cyborgking Wrote: Lol I didn't know that. Smile
Well atleast modifying a script gives you more options than the asset manager. You could easely for example say that only player x has grenades that can't be thrown back or only player Y can throw back grenadesk.

Yea probably, but I doubt any one would so such a thing execpt admin that need to be better than players XD, something that I dont need
Reply

#8
(07-11-2011, 21:25)Scripts18 Wrote:
(07-11-2011, 14:20)Cyborgking Wrote: Lol I didn't know that. Smile
Well atleast modifying a script gives you more options than the asset manager. You could easely for example say that only player x has grenades that can't be thrown back or only player Y can throw back grenadesk.

Yea probably, but I doubt any one would so such a thing execpt admin that need to be better than players XD, something that I dont need
It can also be used for others things I hope(I hate admin mods Tongue). You could use it for a mod that changes the game every minute(one minute headshots kill only, one minute no grenade throwback, etc) or make it a perk that players can buy in a gamemode. I guess it could even be used for a roll the dice mod.
Reply

#9
(07-12-2011, 14:06)Cyborgking Wrote:
(07-11-2011, 21:25)Scripts18 Wrote:
(07-11-2011, 14:20)Cyborgking Wrote: Lol I didn't know that. Smile
Well atleast modifying a script gives you more options than the asset manager. You could easely for example say that only player x has grenades that can't be thrown back or only player Y can throw back grenadesk.

Yea probably, but I doubt any one would so such a thing execpt admin that need to be better than players XD, something that I dont need
It can also be used for others things I hope(I hate admin mods Tongue). You could use it for a mod that changes the game every minute(one minute headshots kill only, one minute no grenade throwback, etc) or make it a perk that players can buy in a gamemode. I guess it could even be used for a roll the dice mod.


ok you win...

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Nade Training fookaa 3 2,745 03-13-2012, 16:48
Last Post: JariZ
  [Request] Nade Training r2range1 6 4,155 02-17-2012, 17:07
Last Post: JoSchaap
  nade training stil 1 2,413 12-08-2011, 17:44
Last Post: JariZ
  Problem with nade/hatchet in GunGame Dountill 17 7,162 11-02-2011, 13:23
Last Post: iMaster
  Help remove nade cooking rotceh_dnih 17 7,961 06-04-2011, 10:55
Last Post: koil
  [Release] Nade Training Killingdyl 8 5,815 04-06-2011, 08:04
Last Post: d0h!
  [Release] =BiG=Nade Training rotceh_dnih 10 7,116 04-01-2011, 01:59
Last Post: rotceh_dnih
  Nade mod jiMM 7 28,750 01-04-2011, 23:48
Last Post: jiMM
  Nade mod jiMM 1 1,697 01-04-2011, 17:13
Last Post: d0h!
  Nade damage? j6k4 0 1,367 12-05-2010, 17:29
Last Post: j6k4

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.