Item cells (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{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|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.


==Key Values==
{{hl1 base CQuakeItem|ammo=y}}
This item doesnt have Key Values.
 
==Flags==
{{fl|1|Big|If ticked doubles the amount of ammo given.|nofgd=1}}{{workaround|Not in .FGD by default. Use [[Deathmatch Classic 3.0.0.3.fgd|this]] .FGD file to get this working.}}
{{Hl1_Appearflags}}

Revision as of 08:46, 18 March 2025

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

item_cells is a point 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.