Env particle beam: Difference between revisions
Jump to navigation
Jump to search
Bug:The burn trail doesn't work in current versions of the game.
Important:Original FGD uses choices for some reason, any particle system can be used which can work as a beam,
Note:If entity (that the beam ends at) is killed via
Bug:Does not disable particle effects, only damage.
MyGamepedia (talk | contribs) (Created page with "{{this is a|point entity|name=env_particle_beam|game=Black Mesa}} It creates a particle beam between itself and a given target. Similar to {{ent|env_laser}}. {{bug|The bu...") |
MyGamepedia (talk | contribs) (→Flags) |
||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{CDA|CEnvParticleBeam|CBaseEntity|}} | |||
{{this is a|point entity|name=env_particle_beam|game=Black Mesa}} It creates a [[particle]] beam between itself and a given target. Similar to {{ent|env_laser}}. | {{this is a|point entity|name=env_particle_beam|game=Black Mesa}} It creates a [[particle]] beam between itself and a given target. Similar to {{ent|env_laser}}. | ||
{{bug|The burn trail doesn't work in current versions of the game.}} | |||
{{bug|hidetested=1|The burn trail doesn't work in current versions of the game.}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Particle Beam Name|intn=particlebeam|particlesystem|Particle system to use for the beam. | {{KV|Particle Beam Name|intn=particlebeam|particlesystem|Particle system to use for the beam. | ||
{{important|Original [[FGD]] uses choices for some reason, | {{important|Original [[FGD]] uses choices for some reason, any [[particle system]] can be used which can work as a beam, {{code|lc_beam}} or {{code|hev_crystal_glow}} for example.}} | ||
}} | }} | ||
{{KV|Beam Target|intn=target|target_destination|Entity that the beam ends at. If omitted, the entity will instead use <code>0 0 0</code> position and will not do any damage. | {{KV|Beam Target|intn=target|target_destination|Entity that the beam ends at. If omitted, the entity will instead use <code>0 0 0</code> position and will not do any damage. | ||
| Line 11: | Line 13: | ||
{{KV|Damage|intn=damage|float|The amount of damage.}} | {{KV|Damage|intn=damage|float|The amount of damage.}} | ||
{{KV|Damage Tick|intn=damagetick|float|Determines the frequency of damage.}} | {{KV|Damage Tick|intn=damagetick|float|Determines the frequency of damage.}} | ||
{{KV|Burn Trail Material|intn=burntrail|material| | {{KV|Burn Trail Material|intn=burntrail|material|[[Material]] for burn trail to use. Not in the game code.|deprecated=1}} | ||
{{KV|Burn Trail Life|intn=burntrail_life|float| | {{KV|Burn Trail Life|intn=burntrail_life|float|Burn trail life time. Not in the game code.|deprecated=1}} | ||
{{KV|Burn Trail Size|intn=burntrail_size|float| | {{KV|Burn Trail Size|intn=burntrail_size|float|Burn trail size. Not in the game code.|deprecated=1}} | ||
{{KV|Burn Trail Textile|intn=burntrail_text|float| | {{KV|Burn Trail Textile|intn=burntrail_text|float|Burn trail textile. Not in the game code.|deprecated=1}} | ||
{{KV|Burn Trail Flags|intn=burntrail_flags|choices| | {{KV|Burn Trail Flags|intn=burntrail_flags|choices|Burn trail behavior. Not in the game code. | ||
:*-1: Disabled | :*-1: Disabled | ||
:*0: None | :*0: None | ||
| Line 21: | Line 23: | ||
:*2: Fade | :*2: Fade | ||
:*3: Shrink + Fade|deprecated=1}} | :*3: Shrink + Fade|deprecated=1}} | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|TurnOn|param=void|Turns beam on.}} | ||
{{ | {{I|TurnOff|param=void|Turns beam off. | ||
{{ | {{bug|hidetested=1|Does not disable particle effects, only damage.}} | ||
}} | |||
== | ==Flags== | ||
{{ | {{Fl|1|Start on|Enable beam on spawn.}} | ||
== | ==See also== | ||
{{ | *{{ent|env_particle_tesla}} | ||
Latest revision as of 15:26, 7 October 2025
| CEnvParticleBeam |
env_particle_beam is a point entity available in
Black Mesa. It creates a particle beam between itself and a given target. Similar to env_laser.
Keyvalues
- Particle Beam Name (particlebeam) <particlesystem>
- Particle system to use for the beam.
lc_beam or hev_crystal_glow for example.- Beam Target (target) <targetname>
- Entity that the beam ends at. If omitted, the entity will instead use
0 0 0position and will not do any damage.
Kill input - beam will not disappear, but also will not do any damage.- Damage (damage) <float>
- The amount of damage.
- Damage Tick (damagetick) <float>
- Determines the frequency of damage.
Burn Trail Material (burntrail) <material>
- Deprecated.
Material for burn trail to use. Not in the game code.
Burn Trail Life (burntrail_life) <float>
- Deprecated.
Burn trail life time. Not in the game code.
Burn Trail Size (burntrail_size) <float>
- Deprecated.
Burn trail size. Not in the game code.
Burn Trail Textile (burntrail_text) <float>
- Deprecated.
Burn trail textile. Not in the game code.
Burn Trail Flags (burntrail_flags) <choices>
- Deprecated.
Burn trail behavior. Not in the game code.- -1: Disabled
- 0: None
- 1: Shrink
- 2: Fade
- 3: Shrink + Fade
Inputs
- TurnOn <void>
- Turns beam on.
- TurnOff <void>
- Turns beam off.
Flags
- Start on : [1]
- Enable beam on spawn.