Item crate: Difference between revisions
Jump to navigation
Jump to search
Note: The item_battery and item_healthkit from
Half-Life 2 has the same function as the same two entities in
Black Mesa, they just have different models.
Note: 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.
DavidSon713 (talk | contribs) mNo edit summary |
DavidSon713 (talk | contribs) mNo edit summary |
||
Line 6: | Line 6: | ||
{{note | [[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.}} | {{note | [[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== | ==Keyvalue== | ||
{{KV| | {{KV|Script Preset (ItemClass)|pointentityclass|[[Classname]] the preset props that will fall out of the crate upon breaking.}} |
Revision as of 15:03, 20 February 2024
Not to be confused with item_item_crate.
item_crate
is a point available in 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.




Keyvalue
- Script Preset (ItemClass) ([todo internal name (i)]) <pointentityclass>
- Classname the preset props that will fall out of the crate upon breaking.