func_recharge

From Sven Co-op
Revision as of 04:06, 28 January 2019 by GeckonCZ (talk | contribs) (Formatting, typos, links etc.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
func_recharge
Type

brush

Status

supported

 


The func_recharge is a visible, solid entity which can be used just as a func_button can and will refill 15 armor points per second while using it. Multiple players can use it at the same time, but the AP restored per second is distributed equally among them. Armor chargers refill themselves 15 seconds after being emptied.

CVars: sk_suitcharger (Default: 100): Sets how many armor points suit chargers store.

1 Keyvalues

Sound Replacement File : soundlist

Allows you to setup a sound replacement file for the func_recharge sounds. The path begins in 'svencoop/sound/mapname', whereas 'mapname' would be your map's name. You can go to the parent directory using '../'. A valid sound replacement file contains one or more lines with two sound-paths, which are separated by a space and wrapped into quotes. The first sound is the sound to be replaced. The second sound is the new sound. Sound-paths start in the sound directory. You cannot go to the parent directory using '../' in that case. These sounds do not need to be precached using a custom_precache point entity.

Custom Juice Amount : CustomJuice

Custom charges (max armor) amount. '0' for default.

Custom Recharge Time : CustomRechargeTime

Time, in seconds, for entity to replenish it's charges. '0' for default.

Trigger On Empty : TriggerOnEmpty

Entity to fire when charges are fully consumed.

Trigger on Recharged : TriggerOnRecharged

Entity to fire when entity recharge itself.

Custom Denied Sound : CustomDeniedSound

Custom sound file override to play when charger holds no more charges, but player is still attempting to drain more.

Custom Start Sound : CustomStartSound

Custom sound file override to play when player starts using this entity.

Custom Loop Sound : CustomLoopSound

Sound file to play (in a loop) when charging is in progress, just after "Custom Start Sound".

2 Changes

  • 5.0 Steam Release: Added 'Custom Juice Amount', 'Custom Recharge Time', 'Trigger On Empty', 'Trigger on Recharged', 'Custom Denied Sound', 'Custom Start Sound', 'Custom Loop Sound' keyvalues.