Author Topic: Granger spit trapper .patch?  (Read 6890 times)

DaylightDies

  • Posts: 57
  • Turrets: +2/-4
Granger spit trapper .patch?
« on: June 26, 2008, 06:43:44 am »
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

  • Guest
Re: Granger spit trapper .patch?
« Reply #1 on: June 26, 2008, 12:11:36 pm »
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

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Granger spit trapper .patch?
« Reply #2 on: June 26, 2008, 12:16:06 pm »
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

  • Guest
Re: Granger spit trapper .patch?
« Reply #3 on: June 26, 2008, 12:17:19 pm »
trem.h or tremulous.h? Just to clarify this for others.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Granger spit trapper .patch?
« Reply #4 on: June 26, 2008, 12:50:03 pm »
tremulous.h

Is there a 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

  • Guest
Re: Granger spit trapper .patch?
« Reply #5 on: June 26, 2008, 12:55:43 pm »
Nope. I was just asking you to clarify so people wouldn't get confused. ;)

DaylightDies

  • Posts: 57
  • Turrets: +2/-4
Re: Granger spit trapper .patch?
« Reply #6 on: June 26, 2008, 08:22:01 pm »
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

  • Guest
Re: Granger spit trapper .patch?
« Reply #7 on: June 26, 2008, 09:43:23 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

  • Posts: 57
  • Turrets: +2/-4
Re: Granger spit trapper .patch?
« Reply #8 on: June 27, 2008, 05:27:41 am »
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.
« Last Edit: June 27, 2008, 06:17:08 am by DaylightDies »

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Granger spit trapper .patch?
« Reply #9 on: June 27, 2008, 08:46:15 am »
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

  • Guest
Re: Granger spit trapper .patch?
« Reply #10 on: June 27, 2008, 11:35:23 am »
That looks interesting. I might actually implement something like it in Equilibrium QVM. Cheers!

DaylightDies

  • Posts: 57
  • Turrets: +2/-4
Re: Granger spit trapper .patch?
« Reply #11 on: June 27, 2008, 09:30:25 pm »
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

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Granger spit trapper .patch?
« Reply #12 on: June 27, 2008, 11:09:54 pm »
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. :)