Tremulous Forum
Mods => Modding Center => Topic started by: infestor1 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!
-
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?