Garry's Mod

Garry's Mod

85 ratings
Mystery Boxes
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
1.877 KB
6 Jul, 2018 @ 10:50am
7 Jul, 2018 @ 4:28am
8 Change Notes ( view )

Subscribe to download
Mystery Boxes

In 1 collection by Gorakh
All my addons
145 items
Description
NOTE: THIS ADDON WILL MOST LIKELY BE REWRITTEN AT SOME POINT AS I HAVE LOST THE SOURCE CODE TO THE PROJECT, THIS ADDON WILL NO LONGER BE UPDATED UNTIL I REWRITE IT OR PERHAPS I FIND THE SOURCE CODE. EITHER WAY THE ADDON WILL BE REUPLOADED, A LINK WILL BE POSTED HERE WHEN ITS DONE.

Have you ever wanted to know what is inside the wooden crates from Half-life 2?

Well now you can!


This was just a quick little experiment I did just to see if I could do it. (It was made from start to finish in a single day)

The Mystery Box is found in the "Fun + Games" Tab in the "Entities" tab

Once you've spawned the Mystery Box, press your 'USE' key while aiming on it (default 'E') to open it.

The Mystery Box can spawn pretty much every spawnable entity in the game (That are visible AND don't give script errors when spawned).

The Mystery Box will spawn one of the following:

Small Revolver Ammo
Large Revolver Ammp
Small Combine Rifle Ammo
Alt-Fire Combine Rifle Ammo
Large Combine Rifle Ammo
Crossbow Ammo
Small Pistol Ammo
Large Pistol Ammo
Small SMG Ammo
Alt-Fire SMG Ammo
Large SMG Ammo
HEV Suit Battery
Shotgun Ammo
Dynamic Resupply (This entity is spawned when a supply crate is destroyed)
Large Health Pack
Small Health Pack
RPG Ammo
Combine Mine
Helicopter Grenade
Alyx
Antlion
Antlion Guard
Barney
Breen
Citizen
Combine Clawscanner
Combine Soldier
Combine Dropship
Combine Gunship
Crow
City Scanner
Dog
Eli
Fast Zombie
Fast Zombie Torso
Gman
Armed Grenade
Headcrab
Poison Headcrab
Fast Headcrab
Combine Helicopter
Kleiner
Manhack
Combine Police
Father Grigory
Mossman
Pigeon
Poison Headcrab
Rollermine
Seagull
Stalker
Strider
Combine Turret
Vortigaunt
Zombie
Zombie Torso
Revolver
Alyx's Gun
Father Grigory's Gun
Combine Rifle
Bugbait
Crossbow
Crowbar
Grenade
Gravity Gun
Physics Cannon
Pistol
Rocket Launcher
Shotgun
SMG
Stunstick

And even a Mystery Box itself.

All NPCs that are spawned have a chance of getting a random weapon that is compatible it.
13 Comments
Sealife Fan 3 15 Jan, 2022 @ 1:56pm 
Look For the Lower Case 'L' And You
Will Be Kissed Tomorrow:
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLlLLLLLLLLLLLLLLLLLLLLL LLLLL
*Now Look For The Q And Your Wish
Will Come True:
... ... ... ... ... OOOOOOOOOOOOOOOOOOOQOOOOOOOOOOOOOOOOOOOOOOOOO O.. .OOOOOOOO
*This Is Really Hard, Now Find The 'N':
MMMMMMMMMMMMMMMMMMMMMMMMMNMM
*Now Find The Mistake:
ABCDEFGHIJKLNMOPQRSTUVWQYZ
*Something You Really Want, After the
countdown!!!!!
10 9 8 7 6 5 4 3 2 1 Now Close Your
Eyes And Make A Wish! ;*;*;*;*;*;* Now
Paste This On 9 pages And Your Wish
Will Come True! Hurry, You Have 20
minutes! Or What You Wished For Will
Be The Opposite
Eldritch Whore(or) 23 Oct, 2019 @ 12:37pm 
I tried running it through gmad to try and add weapons I downloaded or made but the entity didn't show up afterwards. ?
Eldritch Whore(or) 13 May, 2019 @ 6:50pm 
is it customiseable? If not, I would like to see this entity with a notepad document in it with all the weapons. That way players can add sweps like the Bubble Gun to the npc's and add gbombs 5 things too.
Soldier 15 Apr, 2019 @ 2:15pm 
Finally i have been looking for an add-on like this
Snorp 7 Apr, 2019 @ 11:44am 
you should make a box that has all you need for warfare. it could have like 2 teams of random things like dinosaurs.:cozycsgoctwhite:
Terror-antula🕷 10 Nov, 2018 @ 7:48pm 
can you add the car (half life 2 jeep) plz
Gorakh  [author] 19 Jul, 2018 @ 1:43pm 
@zorich_michael

I've answered part of this question before. Making it spawn NPC's/Weapons/Entities that are downloaded is definitely possible (Several addons I've seen have done things like it), but I have absolutley no clue how they do it, as for color and material, that's also definitely possible, again, I just don't know how.
IntellectualPotato 14 Jul, 2018 @ 12:40am 
itd be coo if you made it also spawn modded npcs, weapons, entitys also :D and maybe with 50/50 chance for it to have a random color or material so 50% of the tiem you get a random material or color or both but normal ones come also.
em 11 Jul, 2018 @ 12:28am 
Cool gorakh but change the thumbnail and maybe rename it Pandora’s box or sumthin
RedCo-op 10 Jul, 2018 @ 5:35pm 
Good job