News:

Come Chat with us live! Learn how HERE!

Main Menu

Granger spit trapper .patch?

Started by DaylightDies, June 26, 2008, 06:43:44 AM

DaylightDies

Is there such a patch that any1 has made?
If so may I have the link? I've googled, used mercguild patch tracker, and searched all over here.

When I try to go through all other .patch files that INCLUDE the granger spit trapper ' lock blob' and implement ONLY that, it doesnt work :(

Bomb

Why doesn't it work? Is the patch's SVN revision completely different than the source code's? If so, you should do one of three things: port it, find a newer version, or give up. I recommend the first one.

How, exactly, did you extract that feature from the rest of the patch?

David

Fixed in SVN: http://svn.icculus.org/tremulous?view=rev&revision=888
I think you just need the bits in g_active.c and trem.h
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Bomb

trem.h or tremulous.h? Just to clarify this for others.

David

Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Bomb

Nope. I was just asking you to clarify so people wouldn't get confused. ;)

DaylightDies

Bomb, i went through the .patch (opened in a text editor) and picked out anything that looked relevent to blobs, lock blobs, and grangers.
also, david it didnt work. the granger spit didnt do anything except hit to person i hit with it.
No slow, No lock.

Bomb

Quote from: DaylightDies on June 26, 2008, 08:22:01 PM
the granger spit didnt do anything except hit to person i hit with it.
No slow, No lock.
Are you sure? The effects aren't obvious. Granger spit does not "lock" the person in place like trappers, it merely slows them down. This probably isn't noticeable to anyone but the victim.

DaylightDies

#8
Yup he moves like the human normally would.
\\edit i took what u said into consideration, as the blob 'slows humans' well i found slowblob_time_mod is the definition of how slow humans run when hit by the blob, so i made it 0.1ft.

it stops the humans, for a short while, but the human is still able to turn. i will look into how the basi and trapper deal with this and update it a bit more.

Lakitu7

Search the source for SS_BLOBLOCKED and you'll find your answer.

Granger spit is SS_SLOWLOCKED. Basy and Trapper is SS_BLOBLOCKED.

Specifically, look at g_missle.c. Now search for "SS_SLOWLOCKED". Make that section of code look like the one directly above it. :)

Bomb

That looks interesting. I might actually implement something like it in Equilibrium QVM. Cheers!

DaylightDies

thnx lakitu :) figured it was something like that from the stuff ive looked at.

all done, it works but needs tweaking.

also SS_GRABBED is basi.

Lakitu7

Ah. I know I remember some places where those two were handled together, but I guess that wasn't one of them. Oh well. Close enough to get it. :)