Env citadel energy core: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link)
No edit summary
 
(28 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{wrongtitle|title=env_citadel_energy_core}}
{{LanguageBar}}
{{CD|CCitadelEnergyCore|file1=citadel_effects.cpp}}
{{this is a|point entity|name=env_citadel_energy_core|game=Half-Life 2 series|game1=Portal}}
{{distinguish
|prop_coreball|desc1=The reactor core ball from Episode One
|prop_combine_ball|desc2=Citadel/AR2 energy balls
}}
[[File:EnergyCore.jpg|thumb|right|300px|A Citadel Energy Core with Particles]]
This is a simple particle effect not prominently displayed but frequently used in the [[Citadel]]. It's most common use is on weapon confiscation devices and ''some'' devices seen transporting energy balls.


==Entity Description==
These are also used by the elevators and unstationary scaffolds in Portal.
Special effect for the energy cores{{clarify}} in [[citadel]].


==Availability==
{{stray ent|{{portal2}}}}
{{in game|point}} {{game|HL2}}
 
In code it is represented by class CCitadelEnergyCore, defined in hl2_dll\citadel_effects.cpp.
==Flags==
{{fl|1|No small particles}}
{{fl|2|Start on}}


==Keyvalues==
==Keyvalues==
*{{KV Targetname}}
{{KV Targetname}}
*{{KV Parentname}}
{{KV|Scale|intn=scale|float|Scale of the effect.  1 is the default size, 2 is twice that, etc.}}
*{{KV Angles}}
*'''scale'''
:<float> Scale of the effect.  1 is the default size, 2 is twice that, etc.
 
==Flags==
*1 : No small particles
*2 : Start on


==Inputs==
==Inputs==
*{{i Targetname}}
{{I|StartCharge|param=float|Start charging the core over specified number of seconds.}}
*{{i Parentname}}
{{I|StartDischarge|Start discharging the core.}}
*'''StartCharge <float>'''
{{I|Stop|param=float|Makes particles fade away within a given number of seconds.}}
:Start charging the core over specified number of seconds.
*'''StartDischarge'''
:Start discharging the core over specified number of seconds.
*'''Stop <float>'''
:Stops the effect at any point.
 
==Outputs==
*{{o Targetname}}
 
[[Category:Entities]]
[[Category:Half-Life 2: Episode One Entities]]
[[Category:Half-Life 2: Episode Two Entities]]
[[Category:Portal Entities]]

Latest revision as of 18:04, 1 June 2025

English (en)Русский (ru)Translate (Translate)
C++ Class hierarchy
CCitadelEnergyCore
CBaseEntity
C++ citadel_effects.cpp

env_citadel_energy_core is a point entity available in Half-Life 2 series Half-Life 2 series and Portal Portal.

Not to be confused with prop_coreball (The reactor core ball from Episode One) or prop_combine_ball (Citadel/AR2 energy balls).
A Citadel Energy Core with Particles

This is a simple particle effect not prominently displayed but frequently used in the Citadel. It's most common use is on weapon confiscation devices and some devices seen transporting energy balls.

These are also used by the elevators and unstationary scaffolds in Portal.

Note.pngNote:This entity is also in the code for Portal 2. Its functionality is not guaranteed.


Flags

No small particles : [1]
Start on : [2]

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

Scale (scale) <float>
Scale of the effect. 1 is the default size, 2 is twice that, etc.

Inputs

StartCharge <floatRedirectInput/float>
Start charging the core over specified number of seconds.
StartDischarge
Start discharging the core.
Stop <floatRedirectInput/float>
Makes particles fade away within a given number of seconds.