UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: Fire Level One on June 27, 2016, 03:17:34 am

Title: how to fix wunderwaffe glitch
Post by: Fire Level One on June 27, 2016, 03:17:34 am
you know that glitch where if you shoot yourself with the wunderwaffe it makes jugg not work?
How do you fix it?!
It ruins the wunderwaffe and really gets under my skin >:(
Title: Re: how to fix wunderwaffe glitch
Post by: ihmiskeho on June 27, 2016, 03:27:11 pm
Open up _zombiemode_tesla.gsc

Find a function 'tesla_pvp_thread()'

You should see something like this there:
Code Snippet
Plaintext
	if ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}

Change it to this:
Code Snippet
Plaintext
/*if ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}
*/
And that should be it! Hope it helps  :)
Title: Re: how to fix wunderwaffe glitch
Post by: Fire Level One on June 29, 2016, 01:01:32 am
Open up _zombiemode_tesla.gsc

Find a function 'tesla_pvp_thread()'

You should see something like this there:
Code Snippet
Plaintext
	if ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}

Change it to this:
Code Snippet
Plaintext
/*if ( self == attacker )
{
damage = int( self.maxhealth * .25 );
if ( damage < 25 )
{
damage = 25;
}
if ( self.health - damage < 1 )
{
self.health = 1;
}
else
{
self.health -= damage;
}
}
*/
And that should be it! Hope it helps  :)
It works thank you! If only treyarch could spend two moments of their time to fix this in the stock maps.
Title: Re: how to fix wunderwaffe glitch
Post by: Promnigy on June 29, 2016, 07:01:52 am
It's a nearly Decade old game. I'm sure their not touching WAW especially with working on BO3 Mod Tools  :P