Tremulous Forum
Mods => Modding Center => Topic started by: DaylightDies 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 :(
-
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?
-
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
-
trem.h or tremulous.h? Just to clarify this for others.
-
tremulous.h
Is there a trem.h?
-
Nope. I was just asking you to clarify so people wouldn't get confused. ;)
-
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.
-
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.
-
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.
-
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. :)
-
That looks interesting. I might actually implement something like it in Equilibrium QVM. Cheers!
-
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.
-
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. :)