Garry's Mod

Garry's Mod

237 arvostelua
Simple Lootbox System [Customizable]
3
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Tiedostokoko
Julkaistu
Päivitetty
109.880 KB
13.3.2023 klo 1.12
17.3.2023 klo 18.56
4 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Simple Lootbox System [Customizable]

Kuvaus
This addon adds a lootbox that can be customized.

All settings are in Options -> Simple Lootbox System -> Options.

There you can change the parameter of the chance of drop an item, and also edit items that may drop from the lootbox (You can only add an entity, any vehicle or prop will create an error. In the future I will add support for transport and prop's).

I tested the support with Gredwitch Base, TFA Base, Arctic Night Vision, and everything worked stably without any errors. So I think any others will also work stably (Again, except for the prop's and vehicles)

Added 4 console commands:

lb_dropchance 1-100 (Changes the drop chance, the same as the slider in Options).
lb_menu (Opens the lootbox settings menu).
lb_enabledropnpc 0-1 (Allows you to enable or disable the drop of a lootbox with an npc after death)
lb_npcdropchance 1-100 (Changes the chance of dropping a lootbox from an npc)

The loot box itself is stylized with white edging and when pointing at it, an inscription appears showing the chance of falling out.

This is one of my first addons, and for sure there are bugs in it that I didn't notice, so I will be very grateful if you write about errors, I will try to fix them from time to time. (Also sorry for my bad english :D)
67 kommenttia
HVenom 10.8. klo 11.46 
can you add an option for the lootboxes dropped by NPCs to disappear over time?
SoftRoom 10.5. klo 9.24 
спасибо большое , крутой мужик
GamePad  [tekijä] 10.5. klo 8.46 
Механики для копирования и передачи конфигов внутри игры я не реализовывал, единственный вариант копирования и сохранения конфига это скопировать файл "lootboxdata.json", находящийся по пути GarrysMod\garrysmod\data. Их можно сохранить в отдельную папку и время от времени заменять эти файлы, главное оставлять имя как в изначальном файле чтобы аддон нашел файл.
SoftRoom 10.5. klo 8.16 
а можно скопировать конфиг предметов ?
🌸Дед Хаггис ® ⁴² 25.7.2024 klo 9.33 
И хотелось-бы чтобы можно было выбрать как будет отображаться коробка.
Типо вместо огромной коробки будет маленькая коробка.
Проще говоря чтобы в настройках можно было-бы изменить модель самой коробки.
🌸Дед Хаггис ® ⁴² 25.7.2024 klo 9.31 
Мод прикольный но нужно чтобы коробка не имела коллизии с NPC.
челол 7.6.2024 klo 14.35 
Как при заходе в игру сделать так чтобы лутбоксы были выключены? Не хочу постоянно заходить вручную выключать при заходе на карту а когда проходишь карты с телепортом на другие карты в сюжете халфы например сборник карт то очень раздражает.
[EGN] Blackfire 3.6.2024 klo 21.53 
hey gamerpad i have a question, can you change the model that the loot is or is it just a box
Малыш Камыш 20.5.2024 klo 10.58 
И было бы круто если бы дроп падал без коробки. (Или она сама открывалась)
Малыш Камыш 20.5.2024 klo 10.57 
А можно сделать авто-вставку конфига?