Author Topic: Slowly Regenerating Health  (Read 3373 times)

infestor1

  • Posts: 142
  • Turrets: +6/-28
    • 345356745i624567
Slowly Regenerating Health
« on: May 10, 2009, 03:20:07 am »
How would I make it so that humans slowly regenerate health, just like the aliens.

That would probably be the simple part of my question though.

I also want to make it so that the telenode acts as a medistation. It just boosts the humans regeneration. But it is still slower than a medistation.

Thanks!

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Slowly Regenerating Health
« Reply #1 on: May 10, 2009, 01:23:30 pm »
Look in the HMedistat_Think function, and copy the relevant bits to HSpawn_Think.  Or you could just make HSpawn_Think call HMedistat_Think but that would probably count as an uber-ugly hack.

For regen, go find where aliens do it?
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.