Post: [SCRIPT RELEASE] The Hulk v2
12-10-2014, 06:10 AM #1
EternalHabit
Former Staff
(adsbygoogle = window.adsbygoogle || []).push({});
Today I'm releasing my "Hulk" function/script, I got the idea from codybenti's cod4 patch. And no i didn't port it, I made it myself =p



One thing I would like to note, you cannot use the DPAD unless you turn the hulk off. This is done on purpose because the default weapon will cause freezes otherwise


Originally posted by another user
changelog:
v2
added blood to the screen
made it seem like your "turning" into the hulk by getting angry


    
//MAKE SURE TO CALL IT LIKE THIS [COLOR="#FF0000"]self addOption("admin", "The Hulk v2", ::[COLOR="#0000FF"]hulktoggle[/COLOR]); [/COLOR]

init()
{
precacheModel("veh_t6_drone_overwatch_light");
precacheModel("defaultactor");
}

hulktoggle()
{
self endon("death");
self endon("disconnect");
self endon("koral");

if(level.hulkamania == 0)
{
level.hulkamania = 1;
self iprintlnBold( "^1Your Getting ANGRY!" );
self EnableInvulnerability();
self exitMenu();
wait 1.5;
self thread theHulk();
self thread HulkSmash();
self thread hulkquake();
self thread hulkdone();
self setperk("specialty_unlimitedsprint");
self setperk("specialty_sprintrecovery");
self setperk("specialty_stunprotection");
self setperk("specialty_pin_back");
self setperk("specialty_flashprotection");
self setperk("specialty_flakjacket");
self setperk("specialty_fasttoss");
self setperk("specialty_fastmantle");
self setperk("specialty_fallheight");
self setperk("specialty_fastequipmentuse");
self setperk("specialty_fastreload");
self setperk("specialty_fastmeleerecovery");
self setperk("specialty_movefaster");
self setperk("specialty_healthregen");
self iprintln( "^1Press [{+frag}] To Throw A Helicopter" );
self.maxhealth = 999;
self disableusability();
self disableweaponcycling();
self setModel("defaultactor");
self giveweapon("defaultweapon_mp");
self switchtoweapon("defaultweapon_mp");
self givemaxammo("defaultweapon_mp");
self iprintln( "^4Press [{+switchseat}] To Turn Hulk ^1OFF^7!!!" );
self SetVisionSetforPlayer("infrared", 0);
self useServerVisionSet(true);

}
else
{
self iPrintlnbold("There can only be one Hulk!");
}
}
theHulk()
{
self endon( "death" );
self endon( "disconnect" );
self endon( "koral" );

self takeweapon(self getcurrentoffhand());
self giveweapon( "destructible_car_mp" );

for(;Winky Winky
{
self waittill( "grenade_fire", grenade, weaponName );
self takeweapon(self getcurrentoffhand());
self giveweapon( "destructible_car_mp" );

if(weaponName == "destructible_car_mp")
{
grenade hide();
self.boom = spawn( "script_model", grenade.origin );
self.boom SetModel( "veh_t6_drone_overwatch_light" );
self.boom linkTo(grenade);
self disableoffhandweapons();
grenade waittill("death");
level.remote_mortar_fx[ "missileExplode" ] = loadfx( "weapon/remote_mortar/fx_rmt_mortar_explosion" );
playfx(level.remote_mortar_fx[ "missileExplode" ], self.boom.origin );
RadiusDamage( self.boom.origin, 400, 400, 300, self, "MOD_EXPLOSIVE" );
self.boom delete();
self enableoffhandweapons();
}
continue;
wait 0.05;
}
}

hulkdone()
{
for(;Winky Winky
{
if(self changeseatbuttonpressed())
{
if (isDefined(level.hulkamania))
{
level.hulkamania = 0;
}
self enableusability();
self.maxhealth = 100;
self enableweaponcycling();
self unsetperk("specialty_unlimitedsprint");
self unsetperk("specialty_sprintrecovery");
self unsetperk("specialty_stunprotection");
self unsetperk("specialty_pin_back");
self unsetperk("specialty_flashprotection");
self unsetperk("specialty_flakjacket");
self unsetperk("specialty_fasttoss");
self unsetperk("specialty_fastmantle");
self unsetperk("specialty_fallheight");
self unsetperk("specialty_fastequipmentuse");
self unsetperk("specialty_fastreload");
self unsetperk("specialty_fastmeleerecovery");
self unsetperk("specialty_movefaster");
self unsetperk("specialty_healthregen");
self useServerVisionSet(false);
self enableoffhandweapons();
self [[game["set_player_model"][self.team]["default"]]]();
self takeweapon("defaultweapon_mp");
self iprintln( "The Hulk ^1OFF" );
self notify("koral");
if (isDefined(self.boom))
{
self.boom delete();
}
wait 0.05;
break;
}
wait 0.05;
}
}

HulkSmash()
{
self endon("disconnect");
self endon("death");
self endon("koral");

if(!isDefined(self.isEarthQuake))
{
self.isEarthQuake = true;
}

while(isDefined(self.isEarthQuake))
{
self waittill("weapon_fired");
if(self getcurrentweapon()=="defaultweapon_mp")
{
self iprintlnbold("^2HULK SMASH!");
position = bullettrace(self gettagorigin("j_head"), self gettagorigin("j_head") + anglesToForward(self getplayerangles()) * 1000000, 0, self)["position"];
earthquake( 0.9, 0.9, self.origin, 400 );
PlayRumbleOnPosition( "grenade_rumble", self.origin );
foreach(person in level.players)
{
person playsound("wpn_rocket_explode_rock");
}
wait 0.05;
}
}
}

hulkquake()
{
self endon("disconnect");
self endon("death");
self endon("koral");

for(;Winky Winky
{
self waittill ("weapon_fired");
forward = self getTagOrigin("j_head");
end = vectorScale(anglestoforward(self getPlayerAngles()), 1000000);
ExpLocation = BulletTrace( forward, end, false, self )["position"];
RadiusDamage(ExpLocation, 300, 500, 400, self);
wait 0.05;
}
}


Credits
    
codybenti for the idea
Loz for ideas and help
OpenlyLegit for help with testing
(adsbygoogle = window.adsbygoogle || []).push({});

The following 9 users say thank you to EternalHabit for this useful post:

AutoModder, codybenti, Killer Be, LegitGamer264, sissi92, Synergy, xDebugKiller, Zambie, ZnZx
12-11-2014, 03:32 PM #11
EternalHabit
Former Staff
Originally posted by LegitGamer264 View Post
Did you edit the original code or is the v2 in a pastebin link?


i edited the original code
12-11-2014, 03:33 PM #12
LegitGamer264
Vault dweller
Originally posted by xTurntUpLobbies View Post
i edited the original code


Ok. I will add the updated code to the menu I am making. this is a really good script. Good job on making it.

The following user thanked LegitGamer264 for this useful post:

EternalHabit
12-11-2014, 04:01 PM #13
azooz121
Big Daddy
Originally posted by xTurntUpLobbies View Post
i edited the original code


add this to your menu plz if you can
12-11-2014, 04:48 PM #14
migjack
Can’t trickshot me!
Hi,

Script work for zombie ?
12-11-2014, 04:57 PM #15
Originally posted by xTurntUpLobbies View Post
i edited the original code


Looks great!!!Tustin

The following user thanked codybenti for this useful post:

EternalHabit
12-11-2014, 04:58 PM #16
EternalHabit
Former Staff
Originally posted by migjack View Post
Hi,

Script work for zombie ?

it should, you will have to change the model from the helicopter to something else in zombies
12-11-2014, 04:59 PM #17
EternalHabit
Former Staff
Originally posted by codybenti View Post
Looks great!!!Tustin


thanks bro Smile
12-11-2014, 05:03 PM #18
migjack
Can’t trickshot me!
Originally posted by xTurntUpLobbies View Post
it should, you will have to change the model from the helicopter to something else in zombies


Ok i test it Smile
12-13-2014, 10:52 AM #19
xDebugKiller
Climbing up the ladder
Originally posted by xTurntUpLobbies View Post
Today I'm releasing my "Hulk" function/script, I got the idea from codybenti's cod4 patch. And no i didn't port it, I made it myself =p



One thing I would like to note, you cannot use the DPAD unless you turn the hulk off. This is done on purpose because the default weapon will cause freezes otherwise




    
//MAKE SURE TO CALL IT LIKE THIS [COLOR="#FF0000"]self addOption("admin", "The Hulk v2", ::[COLOR="#0000FF"]hulktoggle[/COLOR]); [/COLOR]

init()
{
precacheModel("veh_t6_drone_overwatch_light");
precacheModel("defaultactor");
}

hulktoggle()
{
self endon("death");
self endon("disconnect");
self endon("koral");

if(level.hulkamania == 0)
{
level.hulkamania = 1;
self iprintlnBold( "^1Your Getting ANGRY!" );
self EnableInvulnerability();
self exitMenu();
wait 1.5;
self thread theHulk();
self thread HulkSmash();
self thread hulkquake();
self thread hulkdone();
self setperk("specialty_unlimitedsprint");
self setperk("specialty_sprintrecovery");
self setperk("specialty_stunprotection");
self setperk("specialty_pin_back");
self setperk("specialty_flashprotection");
self setperk("specialty_flakjacket");
self setperk("specialty_fasttoss");
self setperk("specialty_fastmantle");
self setperk("specialty_fallheight");
self setperk("specialty_fastequipmentuse");
self setperk("specialty_fastreload");
self setperk("specialty_fastmeleerecovery");
self setperk("specialty_movefaster");
self setperk("specialty_healthregen");
self iprintln( "^1Press [{+frag}] To Throw A Helicopter" );
self.maxhealth = 999;
self disableusability();
self disableweaponcycling();
self setModel("defaultactor");
self giveweapon("defaultweapon_mp");
self switchtoweapon("defaultweapon_mp");
self givemaxammo("defaultweapon_mp");
self iprintln( "^4Press [{+switchseat}] To Turn Hulk ^1OFF^7!!!" );
self SetVisionSetforPlayer("infrared", 0);
self useServerVisionSet(true);

}
else
{
self iPrintlnbold("There can only be one Hulk!");
}
}
theHulk()
{
self endon( "death" );
self endon( "disconnect" );
self endon( "koral" );

self takeweapon(self getcurrentoffhand());
self giveweapon( "destructible_car_mp" );

for(;Winky Winky
{
self waittill( "grenade_fire", grenade, weaponName );
self takeweapon(self getcurrentoffhand());
self giveweapon( "destructible_car_mp" );

if(weaponName == "destructible_car_mp")
{
grenade hide();
self.boom = spawn( "script_model", grenade.origin );
self.boom SetModel( "veh_t6_drone_overwatch_light" );
self.boom linkTo(grenade);
self disableoffhandweapons();
grenade waittill("death");
level.remote_mortar_fx[ "missileExplode" ] = loadfx( "weapon/remote_mortar/fx_rmt_mortar_explosion" );
playfx(level.remote_mortar_fx[ "missileExplode" ], self.boom.origin );
RadiusDamage( self.boom.origin, 400, 400, 300, self, "MOD_EXPLOSIVE" );
self.boom delete();
self enableoffhandweapons();
}
continue;
wait 0.05;
}
}

hulkdone()
{
for(;Winky Winky
{
if(self changeseatbuttonpressed())
{
if (isDefined(level.hulkamania))
{
level.hulkamania = 0;
}
self enableusability();
self.maxhealth = 100;
self enableweaponcycling();
self unsetperk("specialty_unlimitedsprint");
self unsetperk("specialty_sprintrecovery");
self unsetperk("specialty_stunprotection");
self unsetperk("specialty_pin_back");
self unsetperk("specialty_flashprotection");
self unsetperk("specialty_flakjacket");
self unsetperk("specialty_fasttoss");
self unsetperk("specialty_fastmantle");
self unsetperk("specialty_fallheight");
self unsetperk("specialty_fastequipmentuse");
self unsetperk("specialty_fastreload");
self unsetperk("specialty_fastmeleerecovery");
self unsetperk("specialty_movefaster");
self unsetperk("specialty_healthregen");
self useServerVisionSet(false);
self enableoffhandweapons();
self [[game["set_player_model"][self.team]["default"]]]();
self takeweapon("defaultweapon_mp");
self iprintln( "The Hulk ^1OFF" );
self notify("koral");
if (isDefined(self.boom))
{
self.boom delete();
}
wait 0.05;
break;
}
wait 0.05;
}
}

HulkSmash()
{
self endon("disconnect");
self endon("death");
self endon("koral");

if(!isDefined(self.isEarthQuake))
{
self.isEarthQuake = true;
}

while(isDefined(self.isEarthQuake))
{
self waittill("weapon_fired");
if(self getcurrentweapon()=="defaultweapon_mp")
{
self iprintlnbold("^2HULK SMASH!");
position = bullettrace(self gettagorigin("j_head"), self gettagorigin("j_head") + anglesToForward(self getplayerangles()) * 1000000, 0, self)["position"];
earthquake( 0.9, 0.9, self.origin, 400 );
PlayRumbleOnPosition( "grenade_rumble", self.origin );
foreach(person in level.players)
{
person playsound("wpn_rocket_explode_rock");
}
wait 0.05;
}
}
}

hulkquake()
{
self endon("disconnect");
self endon("death");
self endon("koral");

for(;Winky Winky
{
self waittill ("weapon_fired");
forward = self getTagOrigin("j_head");
end = vectorScale(anglestoforward(self getPlayerAngles()), 1000000);
ExpLocation = BulletTrace( forward, end, false, self )["position"];
RadiusDamage(ExpLocation, 300, 500, 400, self);
wait 0.05;
}
}


Credits
    
codybenti for the idea
Loz for ideas and help
OpenlyLegit for help with testing


For less freezing do the weird knife that looks nice two

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo