Weapon lightning (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{this is a|point entity|<!--sprite=1-->|name=weapon_lightning|engine=GoldSrc|game=Deathmatch Classic}} This entity is used to create the Lightning Gun Weapon.
{{CD|CItemWeaponLightning|goldsrc=1}}
{{this is a|model entity|<!--sprite=1-->|name=weapon_lightning|game=Deathmatch Classic}} This entity is used to create the Lightning Gun Weapon.


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

Latest revision as of 06:08, 19 May 2025

C++ Class hierarchy
CItemWeaponLightning
CItemWeapon
CQuakeItem
CBaseEntity
C++ quake_items.cpp

weapon_lightning is a model entity available in Deathmatch Classic Deathmatch Classic. 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.