Re: charger
Posted by agoaj on
Fri May 27th 2005 at 8:05pm
8 posts
21 snarkmarks
Registered:
Apr 11th 2005
Occupation: Game Designer
Location: U.S.A
I want the health and battery chargers to respawn health slowly for HL2 Multiplayer.
Re: charger
Posted by agoaj on
Fri May 27th 2005 at 9:13pm
8 posts
21 snarkmarks
Registered:
Apr 11th 2005
Occupation: Game Designer
Location: U.S.A
No, I mean the chargers, the machines you press E on to heal health or energy. I want them recharge overtime.
3012 posts
529 snarkmarks
Registered:
Feb 15th 2005
The chargers go from being unusable to giving you 30 health after a set
period of time. I think he wants it to give you varying amounts
of health depending on the last time it was used.
So -- say the original charger takes 30 seconds to charge back up and
at any point before its fully charged you can't use it... he wants you
to be able to use the charger after only 15 seconds of inactivity for
15 hp.
Am I right agoaj? If I am, I still don't know how to get that to
work. But at least other people will understand what you want.
Re: charger
Posted by agoaj on
Sat May 28th 2005 at 1:37pm
8 posts
21 snarkmarks
Registered:
Apr 11th 2005
Occupation: Game Designer
Location: U.S.A
I've played around in my maps and never noticed them regenerating. It
must be too slow, so is there a way to control the regeneration, like Morphine said.
Re: charger
Posted by Orpheus on
Sat May 28th 2005 at 1:53pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
you can set a func_hurt (or whatever its called now) to a negative number and it will heal.
shrugs
will that suffice?
The best things in life, aren't things.
Re: charger
Posted by Orpheus on
Sat May 28th 2005 at 8:36pm
Orpheus
member
13860 posts
2024 snarkmarks
Registered:
Aug 26th 2001
Occupation: Long Haul Trucking
Location: Long Oklahoma - USA
Guess not. shrugs
I never dreamed that someone would ask a charger to do whats it already does. :/
The best things in life, aren't things.
Re: charger
Posted by Leperous on
Sat May 28th 2005 at 9:44pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
Further to what Orph said, making trigger_hurt's with negative damage values was a much-used trick in HL1DM to make 'healing pools' and the like, though I don't know if it works in HL2DM still.
1309 posts
329 snarkmarks
Registered:
Feb 12th 2002
Occupation: Student
Location: West Coast, USA
You could probably rig a "fake" health charger with some entities. Just
use a prop_dynamic_override for the charger model, have a func_button
that plays a looping ambient_generic for the sounds and the trigger,
then just put a trigger_hurt in front of it that is enabled/disabled
with the button.