Item cells (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{CD|CItemAmmoCells|goldsrc=1}}
{{CD|CItemAmmoCells|goldsrc=1}}


{{this is a|point entity|<!--sprite=1-->|name=item_cells|game=Deathmatch Classic}} This entity is used to create Ammunition for the <code>[[weapon_lightning_(GoldSrc)|weapon_lightning]]</code> Weapon.
{{this is a|model entity|<!--sprite=1-->|name=item_cells|game=Deathmatch Classic}} This entity is used to create Ammunition for the <code>[[weapon_lightning_(GoldSrc)|weapon_lightning]]</code> Weapon.


{{hl1 base CQuakeItem|ammo=y}}
{{hl1 base CQuakeItem|ammo=y}}

Latest revision as of 06:06, 19 May 2025

C++ Class hierarchy
CItemAmmoCells
CItemAmmo
CQuakeItem
CBaseEntity
C++ quake_items.cpp

item_cells is a model entity available in Deathmatch Classic Deathmatch Classic. This entity is used to create Ammunition for the weapon_lightning Weapon.

Keyvalues

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.
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

Big : [1] !FGD
If ticked doubles the amount of ammo given and changes the world model.
PlacementTip.pngWorkaround:Not in FGD by default. Use this FGD file to get this working.
Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.