Post: Moddify Jug?
02-20-2012, 08:35 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Is there a way to it so jug reduces your health if a person has it selected as a perk or even disables it?
(adsbygoogle = window.adsbygoogle || []).push({});
02-20-2012, 09:14 AM #2
Karoolus
I'm the W@W Menu Guy !
Originally posted by chrisgascoigne View Post
Is there a way to it so jug reduces your health if a person has it selected as a perk or even disables it?


yes there is :carling:
02-20-2012, 10:53 AM #3
Curious as to what i would need to add to a patch and where to put it all. I am very very new to C++
02-20-2012, 10:57 AM #4
Karoolus
I'm the W@W Menu Guy !
Originally posted by chrisgascoigne View Post
Curious as to what i would need to add to a patch and where to put it all. I am very very new to C++


add something like this on spawn:

    if(self HasPerk("juggernaut")) //add the CORRECT name for the jugg perk
{
self.maxhealth = 20;
self.health = self.maxhealth;
}
02-20-2012, 01:46 PM #5
247Yamato
< ^ > < ^ >
Originally posted by Karoolus View Post
add something like this on spawn:

    if(self HasPerk("juggernaut")) //add the CORRECT name for the jugg perk
{
self.maxhealth = 20;
self.health = self.maxhealth;
}


"Optimized" and added the perk name, :carling:

    if( self hasperk( "specialty_armorvest" ) )
self.health = 20;

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo