item_crate

From Valve Developer Community
Revision as of 15:01, 20 February 2024 by DavidSon713 (talk | contribs)
Jump to navigation Jump to search
Black Mesa Level Aesthetics

Stub

This article or section is a stub. You can help by expanding it.

Not to be confused with item_item_crate.

item_crate is a point available in Black Mesa Black Mesa. It can be configured to spawn items into the world when broken, like junk, tools, or electronics. They can also be used to spawn supplies such as ammo or an item_battery and item_healthkit.

Note.pngNote: The item_battery and item_healthkit from Half-Life 2 Half-Life 2 has the same function as the same two entities in Black Mesa Black Mesa, they just have different models.
Note.pngNote: item_crate is very similar to item_item_crate. The only difference is the "Script Preset" keyvalue, which allows you to have different groups of props fall out of the crate upon breaking. Two examples are the "Military_big" preset and the "military" preset. Once broken, the "military_big" preset would drop lots of military-related items, such as ammo crates, etc. that would only be able to fit into a larger type of crate.

Keyvalue

Item Type (ItemClass) ([todo internal name (i)]) <pointentityclass>
Classname of the entity to spawn when the crate is broken.