Env citadel energy core: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(portal note)
Line 5: Line 5:
{{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.
{{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.


{{stray ent|{{portal}} {{portal2}}}}
These are also used by the elevators in Portal.
 
{{stray ent|{{portal2}}}}


{{code class|CCitadelEnergyCore|citadel_effects.cpp}}
{{code class|CCitadelEnergyCore|citadel_effects.cpp}}

Revision as of 14:49, 18 September 2018

English (en)Русский (ru)Translate (Translate)
Not to be confused with prop_coreball.

(The reactor core ball from Episode One)

Not to be confused with prop_combine_ball.

(Citadel/AR2 energy balls)

A Citadel Energy Core with Particles

Template:Hl2 point 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 in Portal.

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


C++ In code, it is represented by theCCitadelEnergyCoreclass, defined in thecitadel_effects.cppfile.

Flags

  • 1: No small particles
  • 2: Start on

Keyvalues

Scale (scale) ([todo internal name (i)]) <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.


Outputs