Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Chat *new*
» Poll Booth
» Memberlist
» Member Map

Site Info
» Community Rules
» Moderator List

» Buy Quake

Visit QuakeOne.com On Facebook!Visit QuakeOne
on Facebook

Log in
User Name:

Password:

Not a member yet?
Register Now!
Online Users: 202
7 members and 195 guests
Bloodshot, Focalor, Mathuzzz, QwertyKb, Six-Shoota
Most users ever online was 2,542, 06-04-2016 at 12:58 AM.
Go Back Home > Forum Search Forums

Thread: Regeneration
View Single Post
Unread 02-27-2017, 02:09 PM   #2 (permalink)
Mr.Burns
Chthon
Mr.Burns's Avatar
USER INFO »
Posts: 1,480
+/-  Reputation: Mr.Burns will become famous soon enough
Join Date: Jan 2006
Currently: Offline
If no QuakeC coder but I would probably experiment with something like the following:

Code:
local float increm, maxh; maxh = self.max_health increm=10 if (self.health < maxh) { self.health = self.health + increm; }
Obviously the above is untried, untested and probably wrong in a number of aspects but it might help

Kind regards
Monty
__________________
Mr.Burns
WWW: QuakeOne | Q1 File Repo | Quake Terminus|EuroQuake, You Tube: QuakeVoid
Servers: flanders.servequake.com | newyork.servequake.com ports 26000-6 & 10 | damage.servequake.com
NEWS : The new Quakeone file repo is now available, so click here to satisfy all your Quake 1 multiplayer needs
Reply With Quote
 

All times are GMT -6. The time now is 01:10 PM.


eXTReMe Tracker