Item rockets (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{cD|CItemAmmoRockets|goldsrc=1}}
{{cD|CItemAmmoRockets|goldsrc=1}}
{{this is a|point entity|name=item_rockets<!--sprite=1-->|game=Deathmatch Classic}} This entity is used to create Ammunition for the <code>[[weapon_rocketlauncher_(GoldSrc)|weapon_rocketlauncher]]</code> Weapon.
{{this is a|model entity|name=item_rockets<!--sprite=1-->|game=Deathmatch Classic}} This entity is used to create Ammunition for the <code>[[weapon_rocketlauncher_(GoldSrc)|weapon_rocketlauncher]]</code> Weapon.


== Keyvalues ==
{{hl1 base CQuakeItem|ammo=y}}
{{hl1 kv target}}
 
==Flags==
{{fl|1|Big|If ticked doubles the amount of ammo given, also changes the viewmodel.|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}}

Latest revision as of 06:06, 19 May 2025

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

item_rockets is a model entity available in Deathmatch Classic Deathmatch Classic. This entity is used to create Ammunition for the weapon_rocketlauncher 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.