item_ammo_357

From Valve Developer Community
Revision as of 05:47, 13 May 2025 by MyGamepedia (talk | contribs) (Created page with "{{TabsBar|main=Item ammo 357}} right | 300px {{this is a|point entity|name=item_ammo_357|game=Black Mesa}} It's a box of .357 Magnum caliber ammo for the {{ent|weapon_357}}. Most inputs, outputs and properties are same as CBaseAnimating. {{note|No physics and collision for this entity in multiplayer.}} Represented by class <code>CItem_ammo_357</code>. ==Keyvalues== {{KV|Respawn Time|intn=respawntime|float|Time waited between respawns i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Source Engine ( General | Half-Life: Source | Black Mesa )
edit
Item ammo 357.png

item_ammo_357 is a point entity available in Black Mesa Black Mesa. It's a box of .357 Magnum caliber ammo for the weapon_357. Most inputs, outputs and properties are same as CBaseAnimating.

Note.pngNote:No physics and collision for this entity in multiplayer.

Represented by class CItem_ammo_357.

Keyvalues

Respawn Time (respawntime) <float>
Time waited between respawns in multiplayer mode.
Model (model) <model path> !FGD
Model to use for this entity.
Note.pngNote:Multiplayer mode will not override this value for models with animated sheen if the value isn't default.

Outputs

OnPlayerDenied <void>
Fires if the player has not picked it up when touched.
OnPlayerPickup <void>
Fires if the player picked it up.

Inputs

AttachTo <void>
Attaches this entity to !activator, makes it invisible in first person mode, the entity becomes impossible to pick up.
Respawn <void>
Respawn this entity in multiplayer. Fired by this entity after the amount of time from Respawn Time property.
Disable <void>
Make this item invisible and disable the ability to be picked up by players.
Icon-Important.pngImportant:Does not disable physics and collision.
Enable <void>
Make this item visible and enable the ability to be picked up by players.
Fall <void>
Doesn't seem to work.

Flags

Start Asleep : [1]
Motion Disabled : [2]
Hard Respawn : [4]
Respawn this entity even if it's already spawned. The timer will cycle throughout entire round. Picking up does not restart the timer.
Silent Pickup : [8]
Pick up this entity with no sound and HUD animation.

Dedicated Console Variables

Cvar/Command Parameters or default value Descriptor Effect
sk_item_"ammo_357""_pickup" 12 Integer The amount of ammo to give.
Icon-Bug.pngBug:Can't be changed with the console due to quotation marks.
PlacementTip.pngWorkaround:Use the addon (see below) to make it possible to change all the sk_item_" console variables by using new.

See also

External links