Item suitcharger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Classifying as model entity)
 
(91 intermediate revisions by 35 users not shown)
Line 1: Line 1:
[http://asie-voyages.com/upload/images/lens/omvuta.html microsoft exchange 2000 system manager] [http://panties-pictures.com/free/lib/temp/uolbqp.html microscope olympus used] [http://smallbizbohol.com/democatalog/images/baner/gdmufm.html in the original arrangement latin] [http://tarsierfoundation.org/content/license/lbjoqf.html winter basketball camps] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/wsatti.html little endian big] [http://www.norcab.com.au/joeavatiforum/templates/cache/lidqnf.html san diego career fairs] [http://www.biblored.org.co/agenda_actividades/programas/images/ssdsoi.html peter campion] [http://roycemotor.com/carpics/cache/jpgotn.html let wait a while lyric by janet jackson] [http://lumayagrealty.com/catalog/images/pics/rmjhsr.html ring tree] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/odcqgu.html london factory] [http://indianaoutfitters.com/s/info/tmp/icolsr.html alex bose] [http://lumayagrealty.com/catalog/images/pics/vewjdi.html smart calling cards] [http://smallbizbohol.com/democatalog/images/baner/eurwbe.html ib testing] [http://hoosierfishing.com/phpBB/images/avatars/avatar/htrbxb.html phone star codes] [http://tarsierfoundation.org/content/license/oflovd.html new college graduates] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/rfpxhj.html lasik eye surgery new york city] [http://www.hdac.org/hdfaq/faq/atmbpc.html annual beach florida miami property rental] [http://www.youthfitnesssolutions.com/FTP1/page9/xdttwq.html logitech web cam for mac] [http://cvscaft-tcc.edu.ph/gallery/uploads/cache/fnnrfo.html radyo ses] [http://www.lewakins.com/sr/images/dmbjrc.html euclid] [http://asie-voyages.com/upload/images/lens/vqecpj.html world top ten banks] [http://lumayagrealty.com/catalog/images/pics/kiagow.html recruiting metrics] [http://panties-pictures.com/free/lib/temp/sgolgs.html mo better blues review] [http://www.lewakins.com/sr/images/cadrko.html the number game] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/jfoluv.html what is qcd] [http://lumayagrealty.com/catalog/images/pics/swmkno.html acknowledgement for thesis] [http://lumayagrealty.com/catalog/images/pics/lvubat.html oklahoma christian single] [http://www.biblored.org.co/agenda_actividades/programas/images/cgwvsc.html velocity training] [http://hoosierfishing.com/phpBB/images/avatars/avatar/hioenr.html use you love tonight] [http://www.biblored.org.co/agenda_actividades/programas/images/hbohgj.html north american mountains] [http://smallbizbohol.com/democatalog/images/baner/lfjivx.html portugese man owar] [http://smallbizbohol.com/democatalog/images/baner/sinstu.html kilkenny design center] [http://roycemotor.com/carpics/cache/ixdgad.html pour toi mon amour] [http://www.biblored.org.co/agenda_actividades/programas/images/javbbf.html picture people scotland] [http://coastguard.gov.ph/content.old/license/jvkxgq.html association rules mining] [http://www.biblored.org.co/agenda_actividades/programas/images/lhogla.html marketing supplies give away key chanes and pens] [http://roycemotor.com/carpics/cache/vepdku.html auto cad free trial version] [http://tch-voyages.com/documents/prague/896/lcdbqf.html evening dress shops uk] [http://www.hdac.org/hdfaq/faq/pxwwhi.html online dating for women] [http://tarsierfoundation.org/content/license/kgjuhg.html nickel ceiling lights] [http://smallbizbohol.com/democatalog/images/baner/hnctfi.html teac cd rom driver] [http://www.youthfitnesssolutions.com/FTP1/page9/hpxxrt.html what is knowledge management ppt] [http://lumayagrealty.com/catalog/images/pics/imwcnx.html silver market history] [http://asie-voyages.com/upload/images/lens/efumeg.html montgomery county school district virginia] [http://smallbizbohol.com/democatalog/images/baner/swgbix.html alabama county population] [http://smallbizbohol.com/democatalog/images/baner/xtpcuo.html point rental sale software store] [http://www.lewakins.com/sr/images/krvadx.html improve life love] [http://smallbizbohol.com/democatalog/images/baner/unsktv.html equestrian property to let] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/uojubj.html start new email account with yahoo] [http://xuccco.org/themes/AT-Green3/snecuk.html a birthday wish for child] [http://smallbizbohol.com/democatalog/images/baner/okhtua.html on board charger] [http://talentmodeles.com/mannequin/images/cache/mwinlj.html info http search ebay com electr] [http://panties-pictures.com/free/lib/temp/tgketd.html im scared of the dark] [http://smallbizbohol.com/democatalog/images/baner/cwvjrj.html the river between us book] [http://asie-voyages.com/upload/images/lens/nqfrea.html island long new road wheeler york] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/ntrxde.html new san andreas cheat] [http://asie-voyages.com/upload/images/lens/nhpwdw.html adult movie rated xxx] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/xupmwn.html sql delete from table] [http://roycemotor.com/carpics/cache/nnvljt.html make pin hole camera] [http://smallbizbohol.com/democatalog/images/baner/fvlvkj.html university housing] [http://tch-voyages.com/documents/prague/896/uvlhhx.html spectacular blue smith] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/tllgss.html soybean growth and development] [http://tarsierfoundation.org/content/license/nxpamg.html transport packaging] [http://www.youthfitnesssolutions.com/FTP1/page9/olphcr.html inc passport service visa washington] [http://tarsierfoundation.org/content/license/gtuaiq.html promotional products in australia] [http://indianaoutfitters.com/s/info/tmp/vfqtuk.html virtual hair studio] [http://indianaoutfitters.com/s/info/tmp/bvnslm.html iowa state high school league] [http://tarsierfoundation.org/content/license/cjpceq.html nurse manager for labor and delivery job information] [http://panties-pictures.com/free/lib/temp/nnfcnv.html top 10 movie rentals this week] [http://coastguard.gov.ph/content.old/license/ufgwlf.html the cinderella story on dvd] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/lthsmk.html retro pub tables] [http://xuccco.org/themes/AT-Green3/xjxsrb.html time shutdown] [http://hoosierfishing.com/phpBB/images/avatars/avatar/vvauxt.html st james school maryland] [http://tarsierfoundation.org/content/license/iqhskl.html israel egypt peace treaty] [http://ankelia-nature.com/catalogues/catalogues/epmjeg.html nanotechnology solar] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/broxat.html peoples credit bureau] [http://www.hdac.org/hdfaq/faq/xxxvrq.html mail order brides mexican] [http://coastguard.gov.ph/content.old/license/vdvbsb.html a to z learning zoo] [http://lumayagrealty.com/catalog/images/pics/wcxnua.html web messe] [http://www.lewakins.com/sr/images/megutu.html lisa lawrence pic] [http://panties-pictures.com/free/lib/temp/irserl.html matematicos] [http://xuccco.org/themes/AT-Green3/aipwvs.html ordeal in] [http://www.lewakins.com/sr/images/whepmg.html ix netcom com] [http://www.norcab.com.au/joeavatiforum/templates/cache/lmiidf.html richmond va flower shops] [http://indianaoutfitters.com/s/info/tmp/xjqemj.html unintentional] [http://roycemotor.com/carpics/cache/tjnimn.html active in usa volcano] [http://tch-voyages.com/documents/prague/896/bxfbxw.html white dress pants men] [http://coastguard.gov.ph/content.old/license/bnvcvp.html 3 band body lyric making touching] [http://tarsierfoundation.org/content/license/mhdtsk.html 69 dublin bus] [http://roycemotor.com/carpics/cache/xqnvgo.html money clip leather] [http://www.biblored.org.co/agenda_actividades/programas/images/rjdvaw.html pop email account] [http://asie-voyages.com/upload/images/lens/wimxge.html recording shop] [http://indianaoutfitters.com/s/info/tmp/lqpawq.html joyces life] [http://www.hdac.org/hdfaq/faq/hirrfh.html material services] [http://www.hdac.org/hdfaq/faq/qinope.html style consultant toronto] [http://asie-voyages.com/upload/images/lens/clulcr.html medical transcription canada] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/txnxiv.html new york girl dead] [http://lumayagrealty.com/catalog/images/pics/dwntcd.html the uk national lottery inc.] [http://smallbizbohol.com/democatalog/images/baner/iacgvw.html missouri city texas] [http://www.lewakins.com/sr/images/qdijvf.html seg y format]
{{LanguageBar}}
{{wrongtitle|title=item_suitcharger}}
{{tabsBar|main=Item_suitcharger}}
==Entity Description==
{{CD|CNewRecharge|file1=hl2/func_recharge.cpp}}
[[Image:item_suitcharger.jpg|thumb|200px|right|Suit Charger]]
[[File: item_suitcharger.png | right | 200px]]


Gradually charges up [[item_suit|HEV suit]] energy on use, until empty.  
{{for|about=the point entity|the brush entity|<tt>[[func_recharge]]</tt>}}
{{this is a|model entity|name=item_suitcharger|game=Half-Life 2 series}} This is the [[HEV suit]] charger which gradually replenishes suit power on use, until empty or the suit is at full power.
{{ModernPlacementTip|{{clr}}
*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.}}


A suitcharger will contain the same total charge regardless of the difficulty setting.
{{Note|{{clr}}
* A normal suitcharger (without any flags checked) will be able to discharge a total of 75 Suit points.
*A suit charger will contain the same total charge regardless of the difficulty setting.
* 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 normal suit charger (without any flags checked or cvars changed) will be able to discharge a total of 75 power points (30 in HL2DM).
* Kleiner's recharger will be able to discharge a total of 25 Suit points.
*A Citadel recharger will be able to discharge a total of 500 power points (200 in HL2DM), overcharging the HEV suit to a maximum of 200 power points, and while recharging it will also heal health.
* 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.
*Kleiner's recharger will be able to discharge a total of 25 power points, regardless of cvar settings.
*A Citadel/Kleiner recharger combo (with both flags checked) will be able to discharge a total of 30 power points (since Kleiner's recharger is set to 25 power points no matter what, and a Citadel recharger rounds it up to the nearest 10), overcharging the HEV suit to a maximum of 200 power points, and while recharging it will also heal (a total of 15) health for free.
*Players can change weapons while charging. Confirmed with {{hl2dm|4}}.
*Players can fire any weapon while charging. Confirmed with {{hl2dm|4}}.
*Players can reload weapons while charging. Confirmed with {{hl2dm|4}}.
*Players can't use it without the suit. ''Deny.'' Confirmed with {{hl2|4}}.
*Players can't use it past the limit. ''Deny.'' Confirmed with {{hl2|4}}.
}}


{{Placement tip|
{{note|This entity is also available in {{portal2|4}} and even can charge the suit (you need to change some cvars values). However, it does not function properly{{elaborate}}.}}
*Rechargers are best placed with a height of around 48 units between the floor and the center of the recharger entity.
==Flags==
*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.}}
{{fl|8192|Citadel recharger}}
{{fl|16384|Kleiner's recharger|Only gives 25 health}}


 
{{Bug|[[Kill|Killing]] a charger while it is being used will make the charging sound loop indefinitely.|hidetested=1}}
==Dedicated Console Variables==
* '''sk_suitcharger''' (Default: 75)
: <integer>
* '''sk_suitcharger_citadel''' (Default: 500)
: <integer>
* '''sk_suitcharger_citadel_maxarmor''' (Default: 200)
: <integer>


==Keyvalues==
==Keyvalues==
* {{kv targetname}}
{{KV Targetname}}
* {{kv angles}}
{{KV|Deathmatch recharge delay|intn=dmdelay|integer}}
* '''_minlight'''
: <float> Minimum light level
 
==Flags==
* 8192 : Citadel recharger
: Changes charge amount.
* 16384 : Kleiner's recharger
: Changes charge amount.


==Inputs==
==Inputs==
* {{i targetname}}
{{I|SetCharge|Set ''charge'' and ''total charge'' to a specific amount.|param=float|nofgd=1}}
* '''Recharge'''
:{{note|Float values cause the model to change, but charge received is rounded down.}}
:{{note|Despite this input not being in the stock FGD, it is used once by Valve, in {{ent|ep1_citadel_03}}.}}
{{I|Recharge|Sets charge to maximum.}}


==Outputs==
==Outputs==
* {{o targetname}}
{{O|OutRemainingCharge|Fired once for every single point of power given to the suit. This means it will not fire when the charger is depleted or when the suit is at full power.}}
* '''OutRemainingCharge <float>'''
{{O|OnHalfEmpty|Fired when the "charge left" reaches 50% of its max.}}
* '''OnHalfEmpty'''
{{O|OnEmpty|Fired when the charger is empty.}}
* '''OnEmpty'''
{{O|OnFull|Fired when player gets recharged to the max.}}
* '''OnFull'''
{{O|OnPlayerUse|Fired when the player tries to {{ent|+use}} the charger.}}
: Recharged to full.
 
* '''OnPlayerUse'''
==Cvars/Commands==
{{varcom|start}}
{{varcom|sk_suitcharger|75 (HL2), 30 {{hl2dm}}|Arbitrary number|Total charge of suit points on a normal charger.}}
{{varcom|sk_suitcharger_citadel|500 (HL2), 200 {{hl2dm}}|Arbitrary number|Total charge of suit points on a citadel charger.}}
{{varcom|sk_suitcharger_citadel_maxarmor|200|Arbitrary number|Maximum suit charge obtainable from a citadel charger.}}
{{varcom|end}}


==See Also==
==See also==
* [[func_recharge]] - A similar entity.
*{{ent|func_recharge}}, a brush-based version of this entity.
*{{ent|item_healthcharger}}, a version of this entity meant for health.


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

Latest revision as of 04:32, 19 May 2025

English (en)Translate (Translate)
edit
C++ Class hierarchy
CNewRecharge
CBaseAnimating
CBaseEntity
C++ func_recharge.cpp
Item suitcharger.png
This article is about the point entity. For the brush entity, see func_recharge.

item_suitcharger is a model entity available in Half-Life 2 series Half-Life 2 series. This is the HEV suit charger which gradually replenishes suit power on use, until empty or the suit is at full power.

PlacementTip.gifPlacement Tip:
  • 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.
Note.pngNote:
  • A suit charger will contain the same total charge regardless of the difficulty setting.
  • A normal suit charger (without any flags checked or cvars changed) will be able to discharge a total of 75 power points (30 in HL2DM).
  • A Citadel recharger will be able to discharge a total of 500 power points (200 in HL2DM), overcharging the HEV suit to a maximum of 200 power points, and while recharging it will also heal health.
  • Kleiner's recharger will be able to discharge a total of 25 power points, regardless of cvar settings.
  • A Citadel/Kleiner recharger combo (with both flags checked) will be able to discharge a total of 30 power points (since Kleiner's recharger is set to 25 power points no matter what, and a Citadel recharger rounds it up to the nearest 10), overcharging the HEV suit to a maximum of 200 power points, and while recharging it will also heal (a total of 15) health for free.
  • Players can change weapons while charging. Confirmed with Half-Life 2: Deathmatch Half-Life 2: Deathmatch.
  • Players can fire any weapon while charging. Confirmed with Half-Life 2: Deathmatch Half-Life 2: Deathmatch.
  • Players can reload weapons while charging. Confirmed with Half-Life 2: Deathmatch Half-Life 2: Deathmatch.
  • Players can't use it without the suit. Deny. Confirmed with Half-Life 2 Half-Life 2.
  • Players can't use it past the limit. Deny. Confirmed with Half-Life 2 Half-Life 2.
Note.pngNote:This entity is also available in Portal 2 Portal 2 and even can charge the suit (you need to change some cvars values). However, it does not function properly[Elaborate?].

Flags

Citadel recharger : [8192]
Kleiner's recharger : [16384]
Only gives 25 health
Icon-Bug.pngBug:Killing a charger while it is being used will make the charging sound loop indefinitely.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Deathmatch recharge delay (dmdelay) <integer>

Inputs

SetCharge <floatRedirectInput/float> !FGD
Set charge and total charge to a specific amount.
Note.pngNote:Float values cause the model to change, but charge received is rounded down.
Note.pngNote:Despite this input not being in the stock FGD, it is used once by Valve, in ep1_citadel_03.
Recharge
Sets charge to maximum.

Outputs

OutRemainingCharge
Fired once for every single point of power given to the suit. This means it will not fire when the charger is depleted or when the suit is at full power.
OnHalfEmpty
Fired when the "charge left" reaches 50% of its max.
OnEmpty
Fired when the charger is empty.
OnFull
Fired when player gets recharged to the max.
OnPlayerUse
Fired when the player tries to +use the charger.

Cvars/Commands

Cvar/Command Parameters or default value Descriptor Effect
sk_suitcharger 75 (HL2), 30 Half-Life 2: Deathmatch Arbitrary number Total charge of suit points on a normal charger.
sk_suitcharger_citadel 500 (HL2), 200 Half-Life 2: Deathmatch Arbitrary number Total charge of suit points on a citadel charger.
sk_suitcharger_citadel_maxarmor 200 Arbitrary number Maximum suit charge obtainable from a citadel charger.

See also