Item spikes (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|CItemAmmoSpikes|goldsrc=1}}
{{cD|CItemAmmoSpikes|goldsrc=1}}
{{this is a|point entity|<!--sprite=1-->|name=item_spikes|game=Deathmatch Classic}} This entity is used to create Ammunition for the <code>[[weapon_supernailgun_(GoldSrc)|weapon_supernailgun]]</code> Weapon.
{{this is a|model entity|<!--sprite=1-->|name=item_spikes|game=Deathmatch Classic}} This entity is used to create Ammunition for the <code>[[weapon_supernailgun_(GoldSrc)|weapon_supernailgun]]</code> Weapon.


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

Latest revision as of 06:07, 19 May 2025

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

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

Keyvalues

Name (targetname) <string>
The targetname that other entities refer to this entity by, usually via the target, killtarget, and TriggerTarget KVs.
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.