Garry's Mod

Garry's Mod

Not enough ratings
Tood's ALCS Lootboxes v3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
18.774 KB
2 Dec, 2019 @ 7:49pm
21 Feb, 2023 @ 7:56am
5 Change Notes ( view )

Subscribe to download
Tood's ALCS Lootboxes v3

Description


ALL SUPPORT IS NOW HANDLED VIA MY NEW DISCORD: discord.gg/YSzU6MY2Yb

These lootboxes are specifically made for ALCS[wiltostech.com] meaning you need ALCS for these lootboxes to work.
If you already own an ALCS version then you are good to go with this.

Tood's ALCS Lootboxes v3
- 1 lootbox.
- Damage system to stop players getting free loot for doing nothing.
- Uses the rarity value you set your items to in your ALCS items folder.
- Set what specific NPC's can drop a lootbox when killed.
- Give your players XP for opening the lootbox.
- Custom chat messages showing what items was received.

Looking for my other lootbox system? Get it here
_____________________________________________________________________



Extract the addon and navigate to toods_alcs_lootboxes_v3/lua/autorun/sh_wos_t_config.lua
______________________________________________________________________



Tood - Coding, designing and creating the lootbox script itself.
King David - Creating ALCS and allowing me to use the code involved.
_______________________________________________________________________



The project pictured within this addon are not associated with the creations of wiltOS Technologies and is my own personal project. Any similarities are purely coincidental and are not representations of works produced by wiltOS Technologies.

You have full permission to edit my code to preference but must be kept at personal use only for your own server.

You do not have permission to reupload this or claim this script as your own.
If you wish to use my script in another script then do not merge the files with your own, simply add my script as "Required Content".
________________________________________________________________________

Update v1.1

- Cleaned up the code.
- Switched out UserID() with SteamID().

________________________________________________________________________

Update v1.1 Patch

- Something went wrong when pushing the last update, all of my entity code magically vanished except the config, this patch has fixed that and everything should be good with it now.
________________________________________________________________________

Update v2

Refer to attached YouTube video for a quick showcase.

- Boss lootbox added in. Credit to Ricky/Stbrawler for suggesting the addition.
- Cam3D2D showing the name of the lootbox spawned with a nice color to the name added to each lootbox.
- Table added to the config to allow the Developer or server owner to choose what NPCs will drop the boss lootbox.
- Table added to the config for adding in items the player can receive from the boss lootbox.
- Table added to the config for how much XP the boss lootbox gives when opening.
- Table added to the config to allow the Developer or server owner to choose what NPCs will drop the random lootbox. The random lootbox will no longer drop from any random NPC, you can now define what NPCs.

________________________________________________________________________

Update v3

Refer to the attached YouTube video for a showcase of the v3 update!

- All lootboxes removed and replaced with a single global lootbox.
- Damage system added.
- Lootbox despawn code changed.
- Tables of XP replace with a single value.
- Tables of items removed (now uses the items you have in your ALCS items folder internally.)
- Lootbox model option added.
- Custom chat messages added.
________________________________________________________________________

Want to donate and support my Development Progression? Click the image below <3
[paypal.me]
_________________________________________________________________________


Enjoy!!
34 Comments
Tood  [author] 7 Mar, 2023 @ 6:39am 
Join my support discord listed in the addon description and I can check your code in the support channel
Vaughn 7 Mar, 2023 @ 5:59am 
Hi seem to be having a isuse i have changed the NPC's that will drop them however not dropping any of the lockboxes
Tood  [author] 1 Jul, 2022 @ 1:56pm 
Oh you talking about gmpublisher by Billy? Nah never have used it and never will, I'll stick with what I prefer and that's why I've said gmad in the configuration :)
MENSCHLICH「人間性」 30 Jun, 2022 @ 9:13am 
manually choose a path? You just enter a workshop URL and it download and extracts it automatically XD
no clue what ur talking about lol
Tood  [author] 30 Jun, 2022 @ 6:11am 
I personally prefer to use gmad because I find it quicker to just "drag n drop" to extract rather than having to manually find the path to the gma then manually choose a path to extract it to but in the end it's just preference on what people want to use :)
MENSCHLICH「人間性」 30 Jun, 2022 @ 5:25am 
Small hint, instead of telling people to use a gma extractor, just link gmpublisher, a lot easier and no need of manual extracting a gma :)
Tood  [author] 20 Sep, 2021 @ 1:22am 
You would need to have someone custom code it, not really something I have on my list so I won't personally be looking into it
Bond 19 Sep, 2021 @ 6:21pm 
Hello, anyway we can make the rarity options in the wos items be implemented into the lootbox system
Tood  [author] 31 Aug, 2021 @ 10:31am 
Zip your entire lootbox folder and send it to me on discord @The Toodster#0001 and I'll check it out
Mochi 31 Aug, 2021 @ 9:52am 
i get XP, i get items. But it's like the config is not there. lootboxes don't disappear after the amount of time i setup, custom items won't show up, and none of the configs values seem to have an effect on the addon