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, backpacks, etc. that would only be able to fit into a larger type of crate.
computer_supplies - Spawns supplies for computers.
--> "tools" - Spawns tools, (pliers, wrenches, hammers, etc.)
DavidSon713 (talk | contribs) |
DavidSon713 (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
{{KV|Script Preset |choices| The preset props that will fall out of the crate upon breaking.}} | {{KV|Script Preset |choices| The preset props that will fall out of the crate upon breaking.}} | ||
:<ol start="0"><!-- | :<ol start="0"><!-- | ||
--><li> '''"canteen"''' - Spawns canteen related items, (water bottles, vacuum flasks, etc.) <!-- | |||
--><li> '''"joke"''' - Spawns eyeballs and prank toys. <!-- | --><li> '''"joke"''' - Spawns eyeballs and prank toys. <!-- | ||
--><li> '''"junk"''' - Spawns a bunch of junk, (broken vent covers, locks, and other junk.) <!-- | --><li> '''"junk"''' - Spawns a bunch of junk, (broken vent covers, locks, and other junk.) <!-- | ||
--><li> '''"lab"''' - Spawns lab related items. <!-- | --><li> '''"lab"''' - Spawns lab related items. <!-- | ||
--><li> '''"lab2"''' - Spawns other types of lab related items <!-- | --><li> '''"lab2"''' - Spawns other types of lab related items <!-- | ||
--><li> '''"military"''' - Spawns military related items, (tools, etc.) <!-- | --><li> '''"military"''' - Spawns military related items, (tools, etc.) <!-- | ||
--><li> '''"military_big"''' - Spawns military related items for a bigger type of crate, (backpacks, tools, ammo crates.) <!-- | --><li> '''"military_big"''' - Spawns military related items for a bigger type of crate, (backpacks, tools, ammo crates.) <!-- | ||
--><li> '''" | --><li> '''"office"''' - Spawns office related items, (copy paper, books, etc..) <!-- | ||
--><li> '''" | --><li> '''"tech"''' - Spawns electronics, (motherboards, soldering irons, etc.) <!-- | ||
--><li> '''"tech2"''' - Spawns a variety of electronics. <!-- | |||
--><li> '''"cleaning_products"''' - Spawns cleaning products, (spray bottles, spray cleaners, etc.) <!-- | |||
--><li> '''"paint_supplies"''' - Spawns paint cans and buckets. <!-- | --><li> '''"paint_supplies"''' - Spawns paint cans and buckets. <!-- | ||
--><li> '''"books_small"''' - Spawns small amounts of books. <!-- | |||
--><li> '''"books_large"''' - Spawns large amounts of books. <!-- | |||
--><li> '''snacks''' - Spawns all kinds of snacks, (chips, candy, juice boxes.) | |||
--><li> '''computer_supplies''' - Spawns supplies for computers. | |||
--><li> '''"tools"''' - Spawns tools, (pliers, wrenches, hammers, etc.) <!-- | --><li> '''"tools"''' - Spawns tools, (pliers, wrenches, hammers, etc.) <!-- | ||
</ol> | </ol> | ||
(See [[item_item_crate]] for the rest of the keyvalues) | (See [[item_item_crate]] for the rest of the keyvalues) | ||
{{note | {{bms|4}} does not have [[item_dynamic_resupply]], instead, you will have to manually input what items you want under the "Spawn on break" keyvalue.}} | {{note | {{bms|4}} does not have [[item_dynamic_resupply]], instead, you will have to manually input what items you want under the "Spawn on break" keyvalue.}} |
Revision as of 17:16, 22 March 2024

This article or section needs additional screenshots.
You can upload screenshots at Special:Upload. For help, see the Help:Images.
You can upload screenshots at Special:Upload. For help, see the Help:Images.
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.




Commonly used models for the item_crate are models\props_generic\bm_supplycrate01.mdl, models\props_generic\crate_48x48.mdl, and models\props_blackmesa\tarp_crate.mdl.
Keyvalue
- Script Preset ([todo internal name (i)]) <choices>
- The preset props that will fall out of the crate upon breaking.
- "canteen" - Spawns canteen related items, (water bottles, vacuum flasks, etc.)
- "joke" - Spawns eyeballs and prank toys.
- "junk" - Spawns a bunch of junk, (broken vent covers, locks, and other junk.)
- "lab" - Spawns lab related items.
- "lab2" - Spawns other types of lab related items
- "military" - Spawns military related items, (tools, etc.)
- "military_big" - Spawns military related items for a bigger type of crate, (backpacks, tools, ammo crates.)
- "office" - Spawns office related items, (copy paper, books, etc..)
- "tech" - Spawns electronics, (motherboards, soldering irons, etc.)
- "tech2" - Spawns a variety of electronics.
- "cleaning_products" - Spawns cleaning products, (spray bottles, spray cleaners, etc.)
- "paint_supplies" - Spawns paint cans and buckets.
- "books_small" - Spawns small amounts of books.
- "books_large" - Spawns large amounts of books.
- snacks - Spawns all kinds of snacks, (chips, candy, juice boxes.)
-->