PDA

View Full Version : Hero: Jaws


K-OS
01-17-2006, 19:38
Summon Jaws
http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Jaws_DVD.jpg/200px-Jaws_DVD.jpg

Desciption
Summon Jaws from the depths of the sea to slaugther your enemies.

Jaws will find the nearest enemy and attack it from below.

shconfig.cfg CVARS
register_cvar("jaws_level", "9" )
register_cvar("jaws_cooldown", "90" ) // Time in seconds the player must wait before he can use the power again
register_cvar("jaws_range", "2000") // The maximum distance that jaws searches for an enemy

This hero took me a lot of time and effort, so please be gentle with it :)
But i still had a lot of fun with it. :wink:

This hero make use of the Ultimate Gore Enhancement plugin by jtp10181
http://forums.alliedmods.net/showthread.php?p=19346
The hero can work without the gore plugin, but i suggest you use it.

UPDATES:
- XP and frag count now get increased when jaws makes a kill for you
- When jaws get stuck behind a object, he tries to jump over it
( This also causes a strange bug where jaws swims straight up a wall sometimes )
- When jaws get stuck behind a wall, he will find a other enemy
- Fixed bug that jaws didn't know what to do when his target gets killed before he gets there
- Made jaws move in a more shark-like way when he approaches the enemy

Emp`
01-17-2006, 19:41
sounds good :D got a screenshot?

tip: start coding for module

roland
01-17-2006, 20:02
:lol: hi all
hi k-os it was nice to test jaws in jour server looks cool to me


:lol: :lol: :lol: :lol: nice job

enough
01-17-2006, 22:12
Woo!
Scary!
Going on my server^_^
Good Deal!

yang
01-18-2006, 02:05
very nice.

2 problems:

1, when u use shark to kill someone it doesn't register u as a killer thereby not giving you xp :P. that should b ezily fixed.

2, it kills you if u cast jaws and u get into the way of the shark when it dives. (dunno if it was meant to be like that but there u go.)

K-OS
01-18-2006, 03:44
Technicly you didn't kill the enemy, jaws did, So jaws should get some xp :)
And of course it's gona kill you if you're standing to close to your enemy, 'cause jaws is just gona open his big mouth and eat as much as posible.
He will also kill your teammates if theire standing to close to the enemy.
It's all been thought out :wink:

yang
01-18-2006, 04:27
so... if the caster of jaws don't get xp for the kill of jaws... what is the point of this being a superhero? o.O

The_One
01-18-2006, 05:14
yang has a point about the xp thing. but overall good job lol on starwars it dived and jumped as high as the cliff lol luv this hero :wink: but sometimes when you launch it it gets stuck and just points out the ground (the whole shark) and who ever walks into it dies.

and the extra gore plugin dont really want extra gore for everything just to make one hero look good :wink:

EDIT: dont code for module we need a good coder all new the heroes are rips except yours/yangs/and forums moderators and module is dying off anyway...

K-OS
01-18-2006, 06:04
It increases your chance of survival when fight the whole enemy team on your own. :)

I haven't had that bug yet where jaws gets stuck and i get killed when i walk into him.
I'll take another look at the code tonight.
You got any more info about when he got stuck and where?


Also you don't gain experience in driving a car when you see someone else doing it, right??

The_One
01-18-2006, 06:14
it has got stuck about 2 times in open area on cs_assault and starwars and this aint about a car :wink: its pretty boring not knowing if you have striked with jaws :wink: and it would be better if you gained XP it aint that hard to register a kill to the player?

yang
01-18-2006, 06:16
Also you don't gain experience in driving a car when you see someone else doing it, right??

dude, wtf is that suppose to mean lol... that's like me telling you "you don't gain any experience if you just watch porn and don't get any." but dude if you don't wanna hear my opinions thats fine. I already said your a good scripter. All I did was giving u some advise which seem pretty basic to superhero but you seem to contradict everytime i give u an advise even on the other hero. Great, you can do vector math on ur hero, bravo... there's a million ppl who took calculus.... Deal with it when someone gives you an opinion, don't have to listen to it, but no reason to try to make some lame ass example trying to contradict for no reason...

K-OS
01-18-2006, 08:36
I do appreciate your advice and comments, i'm just trying to explain why i have chosen not to add xp when jaws kills somebody.
There's no skill involved using jaws to kill someone, and my opinion is that you only gain xp if your really use your skills.

The_One
01-18-2006, 09:04
it is a very nice hero but XP gain would be better seeing as mine is a 3 minute cooldown :lol: it isnt going to hurt someone gaining 18/80 XP?

imported_SuperMan
01-18-2006, 10:10
Nice just fix that with xp..

The_One
01-18-2006, 12:05
when i use this hero when ther eis about 17+ poeple playing the shark stands... only his head is underground and it points up then it disapears just vanishes and when it does swim in the ground you see its fin then it just vanishes it dont dive and then no one gets killed by it :?

kILL-jOY
01-18-2006, 17:16
sometimes when i use this it kills me right when i lauch jaws...

can this be fixed or how can i prevent this from happening?

+could u also add a cvar so i can change the amout of damage jaws does???

enough
01-18-2006, 19:42
Do you think you could put a effect where it catches you in its mouth and drags you and spits you out making you do dmg and blood spurts out?

Maybe this can be a V.2 Jaws, and what will be cool is if you can direct the direction of jaws like you gcan guid lazer guided bazooka!

K-OS
01-18-2006, 20:05
UPDATES:
- XP and frag count now get increased when jaws makes a kill for you
- When jaws get stuck behind a object, he tries to jump over it
( This also causes a strange bug where jaws swims straight up a wall sometimes )
- When jaws get stuck behind a wall, he will find a other enemy
- Fixed bug that jaws didn't know what to do when his target gets killed before he gets there
- Made jaws move in a more shark-like way when he approaches the enemy

I dislike the fact that you gain xp for doing nothing.

I still can't believe you ppl didn't understood the example with the car.
Maybe because no one ever told you that xp stands for experience and that you only can get experience by doing something instead of seeing someone else doing it for you.

yang why did you got all pissed when i explained why i didn't used your advise???

Emp`
01-18-2006, 20:28
Maybe this can be a V.2 Jaws, and what will be cool is if you can direct the direction of jaws like you gcan guid lazer guided bazooka!

im liking this idea so ill expand on it :D

jaws swims to where your crosshare, and keeps following it until he eats someone, then he returns to the deep until summoned again o.O

enough
01-18-2006, 21:07
Yeah Yeah!
Go Go Go!
Woot my good idea!

And K-Os, nice, very nice update, again dl and go on my server ^_^

yang
01-19-2006, 04:00
I still can't believe you ppl didn't understood the example with the car.
Maybe because no one ever told you that xp stands for experience and that you only can get experience by doing something instead of seeing someone else doing it for you.

yang why did you got all pissed when i explained why i didn't used your advise???

i think we all get the example which was why i said thats like "you watching porn and practice with yourself all day and not getting any" which is probably true. What I don't like is your attitude when people give u constructive comments. If you don't want constructive comments/critisizm maybe you shouldn't post it here. From all I've seen from you is you just want people to tell you how great you are about how well you script so you can boost that low selfesteem and the funny thing is I didn't even say anything negative about your script. All I ask whats the point of having a superhero if you don't get any xp off it, and you dragged a whole fucking conversation about a fucking car. Deal with it, trust me, if you talk to anybody with that attitude in real life, you'll get knocked out, cause obviously u don't have enough social skills to realize when u try to talk down to people cause you think your some wise ass or using dumb ass examples like your car speech and say shit like "i still can't believe you guys don't get it..." you'll get punched out.

Oh, btw, I wasn't pissed, I just don't like people with your attitude.

K-OS
03-19-2006, 13:55
I love jaws :)

http://www.youtube.com/watch?v=92yHyxeju1U

CUTEOVERLOAD :P

Gods_apprentice
03-19-2006, 15:42
LOL!!!!!! Must love jaws LOL!!!!!

Da Meat
03-23-2006, 21:17
this kinda reminds me of the tentacle from half life :D

imported_Black Hawk
04-30-2006, 22:50
i love this hero :D , the server i play on has it

FaDe
04-30-2006, 23:44
It's on my server.
Only bad thing is when ur close to the enemy, and jaws comes up behind you, and eats you and the enemy both. :lol:

Werewolf
05-30-2006, 13:25
Well have you ever seen a shark only take one person when 2 people is in the way?

sytremelaker
05-30-2006, 21:35
I was just wondering if it is possible to change the jaws.mdl file with a different model. I was thinking of changing it to a chicken.

D o o m
05-31-2006, 04:16
I was just wondering if it is possible to change the jaws.mdl file with a different model. I was thinking of changing it to a chicken.
Why shouldn't it?
Just download a chicken model, call it jaws.mdl and replace it with the model in your models folder.
Or you can call it chicken.mdl and rename jaws.mdl in the .sma file into chicken.mdl and recompile it.

sytremelaker
06-02-2006, 19:11
Just wondering, if we want to change the model to something that wouldn't want underground, what do I have to change to and what do i have to change it to?

K-OS
06-03-2006, 12:59
delete or comment this:
@ line 162
// Small boundingbox so jaws is positioned just under the ground ( The origin is in his fin )
new Float:MinBox[3] = {-1.0, -1.0, 0.0}
new Float:MaxBox[3] = {1.0, 1.0, 1.0}
entity_set_vector(JawsEnt, EV_VEC_mins, MinBox)
entity_set_vector(JawsEnt, EV_VEC_maxs, MaxBox)

@ line 317
entity_set_int(JawsEnt, EV_INT_movetype, MOVETYPE_NOCLIP)

@ line 321
new Float:MinBox[3] = {-180.0, -40.0, -90.0}
new Float:MaxBox[3] = {180.0, 40.0, 20.0}
entity_set_vector(JawsEnt, EV_VEC_mins, MinBox)
entity_set_vector(JawsEnt, EV_VEC_maxs, MaxBox)

if(Velocity[2] > -100)
Velocity[2] -= 100.0 // Go down

@ line 368
// Get below the target
if(TargetOrigin[2] < SelfOrigin[2]+100)
Velocity[2] -= 100
else
Velocity[2] = 0.0

Add this line to the code:
@ line 377
entity_set_int(JawsEnt, EV_INT_movetype, MOVETYPE_NOCLIP)


This will stop jaws or your new model from diving under the ground,
but it will still drop thru the ground after it has made it's attack.

TheLinx
06-24-2006, 17:23
This is a sweet cool hero. i luv it lol

Killer Mc Killer
06-28-2006, 00:23
oh ya by the way if we dont get xp from jaws why do we get xp from cyclops? i mean were not doing eneything exept holding a botton donw to fie cyclops and we still get xp so why not get xp on jaws hero its realy not good when theres so many heros that give you xp when your not realy doing eneything. and you should make jaws swim around the whole map just stay on a box. make jaws not able to jump ontop a box and eat you and make him able to eat people useing ironman or eneyother flying hero also good point to make him swim around the whole map

-Cute- Bubbles
06-29-2006, 12:50
i like this hero, i think there is nothing rong with him, he is easly avoidable with some1 who can fly or moves really fast ;)
jaws is pritty cool. ive been useing him as like a watch dog or something on my brother, though sometimes he avoids it =P
i love the hero, hes on my top 6!
<3 good job <3
-Cute- Bubbles

MicDRAGON
07-24-2006, 21:26
I love superheros but I had to sign up just for this hero. I love it so much and I want to thank the creator of this hero for ... just an excellent hero :P

Its different I'll give ya that!

Not to long ago on my server I did a level 20 weekend where everyone who joined got automatic max level. This meant many had Jaws (oh man... he jumps incredibly high on jeepathon I tell ya) but what I noticed is that only one jaws can be out at a time. When someone had him summoned and another cast the power, the first one would be "erased" and the new one would spawn in. Was this intentional? If so, would it be possible so that more then one can be out at a time? I would really appreciate any information on this.

Keep up the good work!

CUB4NB0II
07-25-2006, 18:35
Should be approved as a hero, it works great.

badboyz
08-03-2006, 12:04
Great hero! Its going on my server and im sure everyone will enjoy it.

StevnJ9971
11-12-2006, 23:02
When I put this hero on my server, it takes about 5 or so minutes for me to get this fatal error on my server:

Host_Error: no precache: models/rpgrocket.mdl

I looked in the .sma file, and it doesn't look like that model is even mentioned. How can I fix this?

vittu
11-12-2006, 23:31
When I put this hero on my server, it takes about 5 or so minutes for me to get this fatal error on my server:

Host_Error: no precache: models/rpgrocket.mdl

I looked in the .sma file, and it doesn't look like that model is even mentioned. How can I fix this?This hero is not causing that error, it's either another hero or plugin that uses set_view. To fix just precache the model even if it is not used in code.

StevnJ9971
11-13-2006, 19:11
Okay, thanks Vittu.

ManWithThePlan
12-25-2006, 00:54
i noe this might as well be a late post late in the year but i have to agree that this hero is awsome. NS NS NS NS NS NS NS NS WORK Great job I LIKE YOUR WORK. I AM JUST SAYING ALL THESE NICE THINGS BECAUSE THIS IS ALL THAT YOU DESERVER

plasmoske
03-31-2007, 11:39
any chance of this hero being ported over to normal counterstrike without superheroes mod? lol. would be awesome :D

Msaad
05-23-2007, 16:38
Im getting trouble with setting up jaws level

deadlyaim142
11-12-2007, 07:08
how can i make this skill admin only?

stealth5706
11-12-2007, 16:49
just look at uncle sam or any other admin only hero and take the code for it...

Alfyan
12-03-2007, 14:24
somtimes its easily dodged

micke1101
03-04-2008, 14:30
couldnt it be like when jaws eat the enemy he leaves some sort of box or something and it contains the xp so anyone can take it if people want xp i mean and maybe could get something out of this http://forums.alliedmods.net/showthread.php?p=416962

michaelcousins
10-18-2009, 13:44
where is the fun addon i cant seem to find it and the .zip file i think (noob here) says to get that plugin

Jelle
10-19-2009, 16:37
The "fun addon" is a module. If you have sh 1.2 and amxx 1.8.1 you probably have it installed. Check your modules.ini

michaelcousins
10-19-2009, 22:33
The "fun addon" is a module. If you have sh 1.2 and amxx 1.8.1 you probably have it installed. Check your modules.ini
can i get a link would help me A LOT

Jelle
10-21-2009, 20:01
It is in the base package of the new amxx.

michaelcousins
10-22-2009, 18:33
how do i properly ftp this hero into my server? again im a HUGE noob
also TYVM for the help thus far

Jelle
10-22-2009, 23:04
How you ftp it into your server?

What do you mean by that?

If you are asking how to get in on your server, well, then, just install amx mod x and it will be installed default.

michaelcousins
10-23-2009, 11:37
How you ftp it into your server?

What do you mean by that?

If you are asking how to get in on your server, well, then, just install amx mod x and it will be installed default.
i use firezilla and i instll the hero to which files i mean

Jelle
10-23-2009, 18:37
If you do not know how to install a hero, there is plenty of guides in here. Use the search button.

If you are asking to get the fun module, well, I have already explained it for you.