Difference between revisions of "Func recharge"

From Sven Co-op
Jump to navigation Jump to search
(Import of converted entguide pages from Sven Manor.)
 
m (Formatting, typos, links etc.)
 
Line 4: Line 4:
 
}}
 
}}
  
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. Armorchargers refill themselves 15 seconds after being emptied. CVars:
+
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.
  
sk_suitcharger# (Default: 100, 100, 100): Sets how many armor points suit chargers store.
+
CVars: <code>sk_suitcharger</code> (Default: 100): Sets how many armor points suit chargers store.
  
 
== Keyvalues ==
 
== Keyvalues ==
  
{{Entity_keyvalue|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  
+
{{Entity_keyvalue|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.}}
 
 
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.}}
 
 
{{Entity_keyvalue|Custom Juice Amount|CustomJuice|Custom charges (max armor) amount. '0' for default.}}
 
{{Entity_keyvalue|Custom Juice Amount|CustomJuice|Custom charges (max armor) amount. '0' for default.}}
 
{{Entity_keyvalue|Custom Recharge Time|CustomRechargeTime|Time, in seconds, for entity to replenish it's charges. '0' for default.}}
 
{{Entity_keyvalue|Custom Recharge Time|CustomRechargeTime|Time, in seconds, for entity to replenish it's charges. '0' for default.}}
Line 23: Line 21:
 
== Changes ==
 
== Changes ==
  
5.0 Steam Release: Added 'Custom Juice Amount', 'Custom Recharge Time', 'Trigger On Empty', 'Trigger on Recharged',
+
* 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.
 
 
'Custom Denied Sound', 'Custom Start Sound', 'Custom Loop Sound' keyvalues.
 
 
 
  
 
{{entity_title}}
 
{{entity_title}}

Latest revision as of 05:06, 28 January 2019

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.