Env citadel energy core: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(15 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{lang|Env citadel energy core}}
{{LanguageBar}}
{{distinguish|prop_coreball}} ''(The reactor core ball from Episode One)''
{{CD|CCitadelEnergyCore|file1=citadel_effects.cpp}}
{{distinguish|prop_combine_ball}} ''(Citadel/AR2 energy balls)''
{{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]]
[[File:EnergyCore.jpg|thumb|right|300px|A Citadel Energy Core with Particles]]
{{hl2 point|env_citadel_energy_core}} 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.
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.
These are also used by the elevators and unstationary scaffolds in Portal.


{{stray ent|{{portal2}}}}
{{stray ent|{{portal2}}}}
{{code class|CCitadelEnergyCore|citadel_effects.cpp}}


==Flags==
==Flags==
*1: No small particles
{{fl|1|No small particles}}
*2: Start on
{{fl|2|Start on}}


==Keyvalues==
==Keyvalues==
{{KV|Scale (scale)|float|Scale of the effect.  1 is the default size, 2 is twice that, etc.}}
{{KV Targetname}}
{{KV BaseEntity|l4d=1|l4d2=1}}
{{KV|Scale|intn=scale|float|Scale of the effect.  1 is the default size, 2 is twice that, etc.}}


==Inputs==
==Inputs==
{{IO|StartCharge|param=float|Start charging the core over specified number of seconds.}}
{{I|StartCharge|param=float|Start charging the core over specified number of seconds.}}
{{IO|StartDischarge|Start discharging the core.}}
{{I|StartDischarge|Start discharging the core.}}
{{IO|Stop|param=float|Makes particles fade away within a given number of seconds.}}
{{I|Stop|param=float|Makes particles fade away within a given number of seconds.}}
{{I BaseEntity|prel4d=1}}
 
==Outputs==
{{O BaseEntity}}

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.