This article's documentation is for the "GoldSrc" engine. Click here for more information.

Weapon lightning (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{entity|weapon_lightning|<!--sprite=1-->|type=point|engine=gldsrc|game=DMC}} This entity is used to create the Lightning Gun Weapon. ==Key Values== {{Hl1_kv_targetname}} {{K...")
 
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{entity|weapon_lightning|<!--sprite=1-->|type=point|engine=gldsrc|game=DMC}} This entity is used to create the Lightning Gun Weapon.
{{this is a|point|<!--sprite=1-->|name=weapon_lightning|engine=gldsrc|game=DMC}} This entity is used to create the Lightning Gun Weapon.


==Key Values==
==Key Values==

Revision as of 12:18, 4 January 2024

weapon_lightning is a point available in Deathmatch Classic Deathmatch Classic.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{DMC}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Deathmatch Classic .
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc .
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

This entity is used to create the Lightning Gun Weapon.

Key Values

Name (targetname) <string>
The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Flags

Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.