Garry's Mod

Garry's Mod

369 ratings
Real Mystery Box - BO3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
76.114 MB
4 May, 2019 @ 5:23pm
15 May, 2021 @ 10:38am
16 Change Notes ( view )

Subscribe to download
Real Mystery Box - BO3

Description
UNOFFICAL COD Zombie Mystery Box!

[github.com]

Release Control/Changes:
Mystery Box Replica - GitHub[github.com]

Replica from Call of Duty: Black Ops 3
Originally made for the My Base Defence Gamemode

*Only tested in Garry's Mod 32-bit (default)


Fully working!
You can configure your weapons, or ignore it and have all of the weapons you have added in-game as a possible outcome; you will also be able to get the dredde teddy bear after a few uses (default setting).

NEW: Access the Context Menu Settings Panel
Use the Context Menu ( Hold 'C' ) → Mystery Box [ADMIN] to access the SWEP Settings Panel and ConVar Settings Panel.

+--------------------------------------------------------
Print name: Mystery Box (BO3)
Category: ravo Norway
+--------------------------------------------
Actually my first self-made model!

Bewear; because of a high particle count, spawning allot of mystery boxes can crash the game from client side. If you need many, try disabling the particles with one of the ConVar options.

Configuration:
ConVars:
------------------------------------------------------------------ SERVER PROTECTED CONSOLE VARIABLES : ------------------------------------------------------------------ bo3ravo_mysterybox_bo3_ravo_exchangeWeapons bo3ravo_mysterybox_bo3_ravo_strictExchange bo3ravo_mysterybox_bo3_ravo_teddybearGetChance (higher than 0 == no teddy bear - Will adjust automatically if ConVar "..._TotallyCustomValueAllowed" is turned off. A static value of -0.325 will work pretty good with medium amount of SWEPs) bo3ravo_mysterybox_bo3_ravo_teddybearGetChance_TotallyCustomValueAllowed (needs to be set to allow totally custom "teddy bear get chance") bo3ravo_mysterybox_bo3_ravo_MysteryBoxTotalHealth bo3ravo_mysterybox_bo3_ravo_hideAllNotificationsFromMysteryBox bo3ravo_mysterybox_bo3_ravo_disableAllParticlesEffects

(Optional) To configure spesific weapons only:
Use the control panel under the "Options" tab to the right. Open it up by holding "Q" ( or using the Panel in the Context Menu ) (the default Garry's Mod menu).

Or, go into ...\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\data
and edit/create a new file called bo3_mysterybox_ravo.txt.
Copy the default layout provided underneath in (if you want). You will then write the weapon classes; one per new line. That's it! Everything else is automated. Another example is in the album.

Using the control panel to remove classes, will delete all comments in the .txt-file.

I.e. ignoring configuration, will include all weapons; if this isn't clear. (some comments asking about it)
Comment system: ------------------------ /*comment_here*/ //comment_here
//////////////////////////////////////////////////////////////////////////////////// /* Made by: ravo Norway You should not have comments within comments... Just keep it simple, so you don't not break the not-so-solid-algorithm. **This file will load on server start; so you need to restart the server if you want to update the allowed weapon classes. **If you don't have any weapon classes in here, then every weapon on the server will get added. (Just know that if you are playing singleplayer, then you are both the client and the server) **Only valid weapons for the server will get added. E.g. if you don't have it installed, it will be ignored. /* /////////////////////////////////////////////////////////////////////////////// /* ----------------------- -- Weapon Classes -- - ----------------------- */ // ///////////////////////////////////////// // Half-Life 2 //////////////////////////////////////// /*weapon_pistol weapon_smg weapon_shotgun weapon_ar2 weapon_rpg weapon_crossbow weapon_frag weapon_357 weapon_crowbar weapon_slam weapon_stunstick*/ // ///////////////////////////////////////// // Custom Weapons (self-made) //////////////////////////////////////// // ///////////////////////////////////////// // Other Weapons //////////////////////////////////////// // ////////////////////////////////////////


To get all the weapon classes available in-game (including addons), you can create a .lua file in a temp. autorun folder with this simple code:
-- Will return all weapons installed on server (local and global servers) -- in a .lua file that is ran server side. It is printed out in console. PrintTable(list.Get("Weapon"))

License:
This addon is created by ravo (Norway) or the uploader of this current viewed Gamemode site on Steam Workshop.
All of the custom code created by the creator/uploader (this site), that is given for Real Mystery Box - BO3, is supplied under the: CC BY-NC-SA 4.0 Licence[creativecommons.org] If not specified otherwise.

*The sounds used for the Mystery Box belongs to the rightful owner(s) within the COD Zombie Series.
*The wood texture is from: valeria_aksakova[www.freepik.com].

Weapons in picture(s):

[paypal.me]

Made in Norway, by ravo Norway 🏔.
Popular Discussions View All (3)
2
26 Oct, 2023 @ 3:52pm
Settings tab is empty
SinoKa
0
8 Nov, 2024 @ 7:52pm
Cost money to use the box?
Officer Diggler
154 Comments
Eunji 14 Jun @ 3:56am 
Options menu won't load.
VinierAardvark1 29 May @ 4:52am 
The sounds don't play and the weapon configuration menu no longer functions.
Daniilka 24 Mar, 2024 @ 9:41am 
funny
m♥♥t 16 Feb, 2024 @ 1:10pm 
no sound for me, cannot change options either
reikerdude 20 Jan, 2024 @ 2:25pm 
I don’t know why this mod stops the game loading In
FilipFoxy87 22 Dec, 2023 @ 5:20pm 
Why do most people have problems with this addon it works fine for me
flatscreenmf92 17 Sep, 2023 @ 3:07pm 
no sound
cumpuddle228 25 Aug, 2023 @ 4:51am 
PLEASE make a smaller file size version.
CrazyO 15 Jun, 2023 @ 4:58pm 
plz add a points system to go with the box
mackkings 11 Feb, 2023 @ 5:47am 
keeps crashing out of nowhere