charger

charger

Re: charger Posted by agoaj on Fri May 27th 2005 at 8:05pm
agoaj
8 posts
Posted 2005-05-27 8:05pm
agoaj
member
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 omegaslayer on Fri May 27th 2005 at 9:01pm
omegaslayer
2481 posts
Posted 2005-05-27 9:01pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Explain a bit more please, whet do you mean?

Do you mean you want the items respawned slowly? If so then set the respawn rates then

Or have it so that the player's health slowly rises as they walk
around? If thats the case then place a large trigger hurt in your map,
and give it a negative hurt value.
Posting And You
Re: charger Posted by agoaj on Fri May 27th 2005 at 9:13pm
agoaj
8 posts
Posted 2005-05-27 9:13pm
agoaj
member
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.
Re: charger Posted by Natus on Fri May 27th 2005 at 10:31pm
Natus
570 posts
Posted 2005-05-27 10:31pm
Natus
member
570 posts 76 snarkmarks Registered: Jan 28th 2005 Location: Denmark
ehm....they already do that, you just have to wait long enough.
Boo f**king Hoo
Re: charger Posted by omegaslayer on Sat May 28th 2005 at 12:51am
omegaslayer
2481 posts
Posted 2005-05-28 12:51am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
No, I mean the chargers, the machines you press E on to heal health or energy. I want them recharge overtime.
lol. I guess you didnt noice they reharged on their own in deathmatch
:razz: , and
you probably didn't even look at any of the sample sdk
maps (sdk_dm_lockdown). Just as a rule of thumb, try putting some
effort into solving you own problem beofore making a post here...
Posting And You
Re: charger Posted by Addicted to Morphine on Sat May 28th 2005 at 1:59am
Posted 2005-05-28 1:59am
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
agoaj
8 posts
Posted 2005-05-28 1:37pm
agoaj
member
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
13860 posts
Posted 2005-05-28 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
13860 posts
Posted 2005-05-28 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 Natus on Sat May 28th 2005 at 9:20pm
Natus
570 posts
Posted 2005-05-28 9:20pm
Natus
member
570 posts 76 snarkmarks Registered: Jan 28th 2005 Location: Denmark
Re: charger Posted by ReNo on Sat May 28th 2005 at 9:24pm
ReNo
5457 posts
Posted 2005-05-28 9:24pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Note that they only recharge in HL2DM - if you have been testing your
maps in HL2 single player, they will not recharge. There wasn't any way
to vary any of the properties of a charger in HL1 and I doubt there is
in HL2, but I haven't actually checked.
[img]http://card.mygamercard.net/sig/Default/reno84.png[/img]
Designer @ Haiku Interactive | ReNo-vation.net
Re: charger Posted by Leperous on Sat May 28th 2005 at 9:44pm
Leperous
3382 posts
Posted 2005-05-28 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.
Re: charger Posted by Campaignjunkie on Sat May 28th 2005 at 9:51pm
Campaignjunkie
1309 posts
Posted 2005-05-28 9:51pm
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.