PDA

View Full Version : Hero: Juggernaut (Non-Stop Version)


1sh0t2killz
07-08-2010, 04:40
Juggernaut (Non-Stop Version) version 1.0

Description
Unstoppable! - You do not feel the knockback from bullets.

//Juggernaut
juggernaut_level 2

G-Dog
07-08-2010, 11:53
might want to consider the method used here since ham damage is called alot less often than prethink/postthink and is therefore not as resource intensive

1sh0t2killz
07-08-2010, 12:34
ohh nice, lol I didn't know that you already made a hero list this. I updated the code for this hero in my server, but I probably won't upload it here since it'd basically be your code haha.

Fr33m@n
07-11-2010, 09:27
ohh nice, lol I didn't know that you already made a hero list this. I updated the code for this hero in my server, but I probably won't upload it here since it'd basically be your code haha.

Think to people who will download your hero. As he said consider the method. It's better for everybody to have an updated hero. Sh mod use a lot of ressource. and those Think is one of the reason. (old heroes)

Forget your proud (or something like that, don't know), Just add a credit.
I'm sure it can be approved.

Exploited
07-11-2010, 11:47
What exactly does this do? Remove recoil? If not, whats knockback? :s

Fr33m@n
07-11-2010, 12:50
the speed you loose when you are attacked

DarkGod
07-11-2010, 17:15
"Pain shock" is what it's commonly referred to as.

Fr33m@n
07-11-2010, 20:08
haha True. he fail at naming it.

SkiesOFF
07-12-2010, 00:11
You don't even need prethink to use this.

You just need this:

const fPainShock = 108

RegisterHam(Ham_TakeDamage, "player", "Player_TakeDamage", 1)

so:

public Player_TakeDamage(id)
{
if ( !shModActive() || !is_user_alive(id) || !gHasJuggernaut[id] ) return

set_pdata_float(id, fPainShock, 1.0, 5)
}

:wink:

Fr33m@n
07-12-2010, 10:45
same as G-Dog version SkyOFF.

SkiesOFF
07-12-2010, 11:48
sry, didn't see the link :oops:

vittu
07-13-2010, 16:24
A better method is preferred especially when dealing with any "thinks". G-Dog I wish you would have posted it as it is a decent Idea. In fact I had an inkling to make it but never got around to it, I don't recall why.

Fr33m@n
07-13-2010, 19:23
But there is still an useful question. What would be the best hero name for something like that ?

D.P!
07-14-2010, 10:55
good hero

The Art of War
07-14-2010, 11:28
Not knockback for sure. Theres a server with "Knockback" and thats when youre pushed back a little when hit.

Jelle
07-14-2010, 12:25
knockback is like dirty harry.

mydas
10-26-2021, 04:58
Not juggernaut either, I already made one xD