Item spikes (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{entity|item_spikes|<!--sprite=1-->|type=point|engine=gldsrc|game=Deathmatch Classic}} This entity is used to create Ammunition for the <code>[[weapon_supernailgun_(GoldSrc)|weapon_supernailgun]]</code> Weapon.
{{cD|CItemAmmoSpikes|goldsrc=1}}
{{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.


==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, also changes the viewmodel.|nofgd=1}}{{ModernWorkaround|Not in .FGD by default. Use [[Deathmatch Classic 3.0.0.3.fgd|this]] .FGD file to get this working.}}
{{Hl1_Appearflags}}

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.