Project Zomboid

Project Zomboid

66 个评价
Loot Box - Making probabilistic items
3
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
131.184 KB
2022 年 7 月 15 日 下午 1:10
2022 年 7 月 17 日 上午 9:28
2 项改动说明 ( 查看 )

订阅以下载
Loot Box - Making probabilistic items

在 서논(Sunon) 的 1 个合集中
Sunon's Collection
3 件物品
描述

This is a mod to create a box that randomly acquires items with a certain probability.


There are 4 loot boxes in the form of items.

The item.id of each box is
lootBox.lootBox_Random
lootBox.lootBox_Bronze
lootBox.lootBox_Silver
lootBox.lootBox_Gold


You can easily specify which items will appear in the sandbox settings.
The rule is "item.id/naturalNumber/item.id/naturalNumber..."
A natural number is a value to control the probability.
The concept is to put as many items as the input natural number into the box and take out one of them.
For example, if you enter "Base.Axe/999/Base.Crowbar/1"
When you open the box, there is a chance of "Axe 99.9%" and "Crowbar 0.1%".

By default, if you open "Loot Box(Random)"

"Loot Box(Bronze) 60%", "Loot Box(Silver) 30%", "Loot Box(Gold) 10%"
You get one of them, and in each box, a rare melee weapon that matches the grade will appear randomly.

Also, there is no path to obtain the loot box item in this mode other than taking it out with the admin.


https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2832260390
If you use this mod to set that chest to appear, you have a chance to get it from zombies.


https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2825127488
This mod allows you to directly specify the timeframes in which zombies can acquire.

It also supports real-time control. It recognizes sandbox settings changed every 10 minutes for game time and applies them in real time.

! Copy or modify this mode arbitrarily or
It cannot be added to the server pack.

[toon.at]
Donate (helps maintain and update the mod)

Workshop ID: 2835681621
Mod ID: LootBox
43 条留言
ชำนาญศึก 9 月 25 日 上午 9:14 
hello. I just found out that someone is steal your mod to put in there server to make profit from your mod https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3569210564 if you want more information just contact me.
七夜向日葵 6 月 4 日 下午 10:51 
Hello, can you add a function to get the number of items?
Soraka 3 月 26 日 下午 8:35 
혹시 빌드 42와도 호환이 되는지 궁금합니다.
700$ For Desert Eagle 1 月 30 日 上午 10:21 
It is possible to add vehicle into the loot box?
서논(Sunon)  [作者] 2024 年 11 月 28 日 下午 2:08 
@XiaZia
Thank you for your report.
XiaZia 2024 年 11 月 26 日 下午 4:02 
@서논(Sunon) a user named "Franek" has completely copied your mod.
BOKHAK14 2024 年 11 月 16 日 上午 4:46 
0.1보다 더 낮은 확률 설정이 가능한가요?
서논(Sunon)  [作者] 2024 年 9 月 30 日 下午 4:42 
@G.Scvanger
이 모드는 기본적으로 드랍되는 아이템은 아니고
설명란에 기입된 것과 같이 디버그 상태 및 치트 상태에서
아이템을 소환 하시거나 설명에 기입된
좀비 드랍 모드를 활용해서 나오게 해야합니다.

굳이 기본적으로 드랍되지 않게한 이유는
이 모드는 멀티 서버를 위한 모드라서 그렇습니다.
(우측에 통계를 보시면 서버에서 구독하기 떄문에
구독자 수가 방문 수 보다 많은 것을 볼 수 있죠.)

본문을 자세 확인한 후 다시 시도해보시기 바랍니다.
G.Scvanger 2024 年 9 月 28 日 下午 5:28 
방금, 본 애드온을 적용하여 사용해봤는데 싱글모드에서 별 짓을 다했는데 랜덤박스가 등장하지 않았습니다. 설명에 나와있는 그대로 했음에도 랜덤 박스가 적용되지 않았습니다. 코드를 다시 확인해 주시겠습니까?
서논(Sunon)  [作者] 2024 年 9 月 5 日 上午 7:43 
@Piang
Yes, you can add it by entering the ID of the mod item in the sandbox menu.
If you want to know the item ID, I personally recommend using debug mode to find the ID of the mod item or opening the item script directly.