Pages

Monday, September 28, 2020

GTA 5 Secret Box (Lucky box) script mod

This is a simple mod requested by Skorpion Gamer that lets you spawn some secret/lucky boxes that brings random surprises like all game weapons, turn you into a animal, rocket bicycle, game vehicles, shoot rockets at you lol, and other crazy things.






***
If you want share or make videos of this mod, please use the following link as reference in description:

https://gtaxscripting.blogspot.com/2020/09/gta-5-secret-box-lucky-box-script-mod.html

Thanks
***

Installation

This mod uses OpenIV Package Installer, see how to install here

-Install the script:"1-SecretBox.oiv"
-Install the props package: "2.0-Boxes setup (Add method).oiv"
Case the added props doesn't works in game, install the replace props package: "2.1-Boxes setup (Replace props).oiv"

Case your game crash at loading story mode, you need to apply this FIX for added peds/props:

Don't forget to install the NIBShDotNet plugin


Hotkeys


Menus:


Ctrl + N - Show mods menu

Up/Down/Left/Right (also numpads 2, 4, 6 and 8) - Navigate
Enter/Numpad5 - Select item
Numpad0/Backspace - Previous menu/Close menu

In controller:


Hold DPad Left and press X to show the NIBMods menu

Up/Down/Left/Right - Navigate
A (Sprint) - Select item
B - Previous menu/Close menu

Gameplay:

Ctrl+One - Spawn small box
Ctrl+Two - Spawn small box with custom face
Ctrl+Three - Spawn medium box
Ctrl+Four - Spawn big box
Ctrl+Nine to start a secret box "rain"

Obs.: The numbers mentioned are the normal ones, not the Numpad ones.

Shoot the boxes to break them and reveal the surprise

You can edit the hotkeys using the mod Controls menu in the mod Options

Explore the mod Options menu, there is few customization options there


Customizing the Box Faces

After installing the mod, to edit the textures, in OpenIV with Edit Mode On, go to:

mods\x64c.rpf\levels\gta5\props\lev_des\v_minigame.rpf

Then double click the YTD files of the boxes and replace the textures you wish, then click in Save.
I recommend using 512x512 images to avoid issues.

The YTD files are:

(For added props)
secret_box_small.ytd (Small Box, this one only have one face type)
secret_box_small_face.ytd (Small Box with 3 face types)
secret_box_med.ytd (Medium Box  with 3 face types)
secret_box_big.ytd (Big Box with 3 face types)

(For replaced props)
prop_drug_package.ytd (Small Box, this one only have one face type)
prop_mp_drug_pack_blue.ytd (Small Box with 3 face types)
prop_drug_package_02.ytd (Medium Box  with 3 face types)
prop_mp_drug_package.ytd (Big Box with 3 face types)


Credits

Script by JulioNIB
Requested by Skorpion Gamer
ASI Loader + ScripthookV by Alexander blade