Item suitcharger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(revert)
m (minoro)
Line 1: Line 1:
{{wrongtitle|title=item_suitcharger}}
{{wrongtitle|title=item_suitcharger}}
==Entity Description==
== Entity description ==
[[Image:item_suitcharger.jpg|thumb|200px|right|Suit Charger]]
[[Image:item_suitcharger.jpg|thumb|200px|right|Suit Charger]]


Gradually charges up [[item_suit|HEV suit]] energy on use, until empty.  
Gradually charges up [[item_suit|HEV suit]] energy on use, until empty.  


A suitcharger will contain the same total charge regardless of the difficulty setting.
A suit charger will contain the same total charge regardless of the difficulty setting.
* A normal suitcharger (without any flags checked) will be able to discharge a total of 75 Suit points.
* A normal suit charger (without any flags checked) will be able to discharge a total of 75 Suit points.
* A Citadel recharger will be able to discharge a total of 500 Suit points, overcharging the HEV suit to a maximum of 200 Suit points, and while recharging it will also heal Health for free.
* A Citadel recharger will be able to discharge a total of 500 Suit points, overcharging the HEV suit to a maximum of 200 Suit points, and while recharging it will also heal Health for free.
* Kleiner's recharger will be able to discharge a total of 25 Suit points.
* Kleiner's recharger will be able to discharge a total of 25 Suit points.
Line 12: Line 12:


{{Placement tip|
{{Placement tip|
*Rechargers are best placed with a height of around 48 units between the floor and the center of the recharger entity.  
* Re-chargers are best placed with a height of around 48 units between the floor and the center of the recharger entity.  
*To ensure that the player will gain battery rather than lose it, place them in areas occluded from immediate danger, like constant enemy fire from helicopters or tanks. Consider however that, since the player is required to stare at the wall while they are using the charger, they can be used to create tension by placing them where an enemy might still reach the player. Note that chargers could also add good or bad stress to the player if they have to exterminate a load of enemies in a room which a health charger is placed before using it.}}
* To ensure that the player will gain battery rather than lose it, place them in areas occluded from immediate danger, like constant enemy fire from helicopters or tanks. Consider however that, since the player is required to stare at the wall while they are using the charger, they can be used to create tension by placing them where an enemy might still reach the player. Note that chargers could also add good or bad stress to the player if they have to exterminate a load of enemies in a room which a health charger is placed before using it.}}




==Dedicated Console Variables==
== Dedicated CVARs ==
* '''sk_suitcharger''' (Default: 75)
* '''sk_suitcharger''' (Default: 75)
: <integer>
: <integer>
Line 24: Line 24:
: <integer>
: <integer>


==Keyvalues==
== Keyvalues ==
* {{kv targetname}}
* {{kv targetname}}
* {{kv angles}}
* {{kv angles}}
Line 30: Line 30:
: <float> Minimum light level
: <float> Minimum light level


==Flags==
== Flags ==
* 8192 : Citadel recharger
* 8192 : Citadel recharger
: Changes charge amount.
: Changes charge amount.
Line 36: Line 36:
: Changes charge amount.
: Changes charge amount.


==Inputs==
== Inputs ==
* {{i targetname}}
* {{i targetname}}
* '''Recharge'''
* '''Recharge'''


==Outputs==
== Outputs ==
* {{o targetname}}
* {{o targetname}}
* '''OutRemainingCharge <float>'''
* '''OutRemainingCharge <float>'''
Line 49: Line 49:
* '''OnPlayerUse'''
* '''OnPlayerUse'''


==See Also==
== See also ==
* [[func_recharge]] - A similar entity.
* [[func_recharge]] - an entity similar to <code>item_suitcharger</code>.


[[Category:Entities]] [[Category:Items]]
[[Category:Entities]]
[[Category:Items]]

Revision as of 07:14, 10 November 2007

Template:Wrongtitle

Entity description

Suit Charger

Gradually charges up HEV suit energy on use, until empty.

A suit charger will contain the same total charge regardless of the difficulty setting.

  • A normal suit charger (without any flags checked) will be able to discharge a total of 75 Suit points.
  • A Citadel recharger will be able to discharge a total of 500 Suit points, overcharging the HEV suit to a maximum of 200 Suit points, and while recharging it will also heal Health for free.
  • Kleiner's recharger will be able to discharge a total of 25 Suit points.
  • A Citadel/Kleiner's recharger combo (with both flags checked) will be able to discharge a total of 30 Suit points, overcharging the HEV suit to a maximum of 200 Suit points, and while recharging it will also heal (a total of 15) Health for free.
PlacementTip.gifPlacement Tip:
  • Re-chargers are best placed with a height of around 48 units between the floor and the center of the recharger entity.
  • To ensure that the player will gain battery rather than lose it, place them in areas occluded from immediate danger, like constant enemy fire from helicopters or tanks. Consider however that, since the player is required to stare at the wall while they are using the charger, they can be used to create tension by placing them where an enemy might still reach the player. Note that chargers could also add good or bad stress to the player if they have to exterminate a load of enemies in a room which a health charger is placed before using it.


Dedicated CVARs

  • sk_suitcharger (Default: 75)
<integer>
  • sk_suitcharger_citadel (Default: 500)
<integer>
  • sk_suitcharger_citadel_maxarmor (Default: 200)
<integer>

Keyvalues

<float> Minimum light level

Flags

  • 8192 : Citadel recharger
Changes charge amount.
  • 16384 : Kleiner's recharger
Changes charge amount.

Inputs

Outputs

Recharged to full.
  • OnPlayerUse

See also