This article's documentation is for the "GoldSrc" engine. Click here for more information.

item_weapon

From Valve Developer Community
Revision as of 08:19, 18 March 2025 by SirYodaJedi (talk | contribs) (Created page with "{{ent not in fgd}} {{cD|CItemAmmoWeapon|goldsrc=1}} {{this is a|point entity|name=item_weapon<!--sprite=1-->|engine=GoldSrc|game=Deathmatch Classic}} This entity can be used to spawn ammo. == Keyvalues == {{hl1 kv target}} ==Flags== {{fl|1|Big Shells|Same as spawning item_shells.}} {{fl|2|Rocket|Same as spawning item_rockets.}} {{fl|4|Spikes|Same as spawning item_spikes.}} {{fl|8|Big|Grant double the amount of ammunition.}} {{Hl1_Appearflags}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CItemAmmoWeapon
CItemAmmo
CQuakeItem
CBaseEntity
C++ quake_items.cpp

item_weapon is a point entity available in Deathmatch Classic Deathmatch Classic. This entity can be used to spawn ammo.

Keyvalues

Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.

Flags

Big Shells : [1]
Same as spawning item_shells.
Rocket : [2]
Same as spawning item_rockets.
Spikes : [4]
Same as spawning item_spikes.
Big : [8]
Grant double the amount of ammunition.
Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.