Post: [SCRIPT] Specnade Mod
12-24-2011, 02:47 PM #1
IVI40A3Fusionz
Former Gaming Squad Member
(adsbygoogle = window.adsbygoogle || []).push({}); Similar to the MW2 version of Specnade however i couldn't make it so you could actually see the grenade so until then this is it for now.

Script's Here:
    SpecNade()
{
self endon( "disconnect" );
self endon( "death" );
for(;Winky Winky
{
self waittill( "grenade_fire", Grenade );
self AllowAds( false );
self DisableWeapons();
self freezeControls(true);
self.maxhealth = 999999999;
self.health = self.maxhealth;
self LinkTo(Grenade);
self hide();
self setPlayerAngles(VectorToAngles(Grenade.origin - self.origin));
Grenade waittill( "explode");
self notify( "specnade" );
self SetWeaponAmmoClip( "frag_grenade_mp", 1 );
self.maxhealth = 100;
self.health = self.maxhealth;
self unlink();
self show();
self AllowAds( true );
self EnableWeapons();
self freezeControls(false);
}
}


Video:


Basically what it is, is you throw a grenade of any type and you get linked to the grenade and where ever it explodes you could say you 'teleport' or 'spawn' there. However it's best to throw a frag grenade as I've included in the script that when the grenade explodes you get another frag grenade.

Thanks to xYARDSALEx for the video!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to IVI40A3Fusionz for this useful post:

247Yamato, JamesSwagger, x_DaftVader_x
01-05-2012, 09:04 PM #11
xKtF
In my man cave
Originally posted by IVI40A3Fusionz View Post
Similar to the MW2 version of Specnade however i couldn't make it so you could actually see the grenade so until then this is it for now.

Script's Here:
    SpecNade()
{
self endon( "disconnect" );
self endon( "death" );
for(;Winky Winky
{
self waittill( "grenade_fire", Grenade );
self AllowAds( false );
self DisableWeapons();
self freezeControls(true);
self.maxhealth = 999999999;
self.health = self.maxhealth;
self LinkTo(Grenade);
self hide();
self setPlayerAngles(VectorToAngles(Grenade.origin - self.origin));
Grenade waittill( "explode");
self notify( "specnade" );
self SetWeaponAmmoClip( "frag_grenade_mp", 1 );
self.maxhealth = 100;
self.health = self.maxhealth;
self unlink();
self show();
self AllowAds( true );
self EnableWeapons();
self freezeControls(false);
}
}


Video:


Basically what it is, is you throw a grenade of any type and you get linked to the grenade and where ever it explodes you could say you 'teleport' or 'spawn' there. However it's best to throw a frag grenade as I've included in the script that when the grenade explodes you get another frag grenade.

Thanks to xYARDSALEx for the video!

can you please show me how to add option to a menu like how do i link it with gsc if you can help me ill plus rep :embarrassed:
01-05-2012, 10:01 PM #12
Originally posted by IVI40A3Fusionz View Post
Similar to the MW2 version of Specnade however i couldn't make it so you could actually see the grenade so until then this is it for now.

Script's Here:
    SpecNade()
{
self endon( "disconnect" );
self endon( "death" );
for(;Winky Winky
{
self waittill( "grenade_fire", Grenade );
self AllowAds( false );
self DisableWeapons();
self freezeControls(true);
self.maxhealth = 999999999;
self.health = self.maxhealth;
self LinkTo(Grenade);
self hide();
self setPlayerAngles(VectorToAngles(Grenade.origin - self.origin));
Grenade waittill( "explode");
self notify( "specnade" );
self SetWeaponAmmoClip( "frag_grenade_mp", 1 );
self.maxhealth = 100;
self.health = self.maxhealth;
self unlink();
self show();
self AllowAds( true );
self EnableWeapons();
self freezeControls(false);
}
}


Video:


Basically what it is, is you throw a grenade of any type and you get linked to the grenade and where ever it explodes you could say you 'teleport' or 'spawn' there. However it's best to throw a frag grenade as I've included in the script that when the grenade explodes you get another frag grenade.

Thanks to xYARDSALEx for the video!
It's easy to make it so you can see the grenade. the LinkTo() function has three other variables that you haven't used. It allows you to link to something from any tag,distance and angle...

The following user thanked x_DaftVader_x for this useful post:

IVI40A3Fusionz
01-05-2012, 10:17 PM #13
xKtF
In my man cave
Originally posted by x. View Post
It's easy to make it so you can see the grenade. the LinkTo() function has three other variables that you haven't used. It allows you to link to something from any tag,distance and angle...
im sorry but i em bit of noob ok so you said link it so lets use ur patch for example so if i wanted to add the specnade code what shall i do first?You must login or register to view this content. is that correct and than go to bottom and paste in code?
01-05-2012, 10:30 PM #14
Jacob-And-Britt
I’m too L33T
Originally posted by infinitycl View Post
im sorry but i em bit of noob ok so you said link it so lets use ur patch for example so if i wanted to add the specnade code what shall i do first?You must login or register to view this content. is that correct and than go to bottom and paste in code?
Ya that will work Winky Winky
01-05-2012, 10:43 PM #15
xKtF
In my man cave
Originally posted by jbglitching View Post
Ya that will work Winky Winky
thanks ill test and if it works ill plus rep you.. so this will work fine no error You must login or register to view this content.
01-05-2012, 10:52 PM #16
Jacob-And-Britt
I’m too L33T
Originally posted by infinitycl View Post
thanks ill test and if it works ill plus rep you.. so this will work fine no error You must login or register to view this content.
no you need to move specnade() of to the left like this

specnade()
{
01-05-2012, 11:06 PM #17
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by x. View Post
It's easy to make it so you can see the grenade. the LinkTo() function has three other variables that you haven't used. It allows you to link to something from any tag,distance and angle...


Ahh i never knew that thanks bro Winky Winky, i just thought LinkTo() just allowed you to tell the game what to link to (tag) which in this case was a grenade.
01-05-2012, 11:07 PM #18
Originally posted by jbglitching View Post
no you need to move specnade() of to the left like this

specnade()
{


No you don't. It might look neater but it doesn't make any difference so long as it is in front of the first brace
01-05-2012, 11:08 PM #19
xKtF
In my man cave
Originally posted by jbglitching View Post
no you need to move specnade() of to the left like this

specnade()
{

this better

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo