DayZ
69 个评价
Plus200_Mining
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
16.081 KB
2019 年 12 月 18 日 上午 2:14
2020 年 3 月 23 日 下午 2:30
5 项改动说明 ( 查看 )

订阅以下载
Plus200_Mining

描述
This mod allows server admin to configure the items that appear when mining rocks or interact with building with a tool (Pickaxe or Sledgehammer, can be extended)
This mod is compatible with any item added by any other mods. It may not be compatible with mods modifying mining. Please tell me if you find mod incompatibilities

Useful mod to use with (Veins and ore models) : https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2023281114

[ SERVER INSTALLATION ]

This mod is required both client & server side.

Drag the @Plus200_Mining folder into your servers directory where all your other mods are located.
Open the @Plus200_Mining folder and locate the keys folder open that folder and copy the key inside of it into your servers key folder.
Add @Plus200_Mining to your servers launch line :
> "DayZServer_x64.exe" -mod=F:\Steam\steamapps\common\DayZServer\!Workshop\@Plus200_Mining;

Then:
- Run the server with the mod
- Go to "your_server_profile_directory\Plus200\Mining"
- Open file config.json
- Modify the config file as you want
- restart server

[CONFIGURATION]

{ "buildings": [ { "actionText": "Configurable Action Text", "enabledTypes": [ "Land_Train_Wagon_Box", "Land_Boat_Small3", ], "itemsProbabilities": [ { "item": "Pipe", "probability": 50 }, { "item": "Stone", "probability": 50 } ], "max_mine": -1 }, { "actionText": "#cut", "enabledTypes": [ ... ], "itemsProbabilities": [ .... ], "max_mine": 10 } ], "minedItemsProbabilities": { "Stone": 200, "SomeOre": 50, "SomeOtherOre": 150 } }

RockBase part (minedItemsProbabilities) :
In this example, you will get 2 stone each time you mine. "Some Ore x1" 1/2 time and at least 1 "Some Other Ore".
"SomeOre" and "SomeOtherOre" doesn't exists in this mod, it could be items added by another mod.
Keep this part at the end of the config file or the mod will not work.

Building part (buildings):
You can add actions on Building. The action label is on "actionText", you can use existing translated sentence (start with #) or a custom text.
"itemsProbabilities" is different than Rockbase part. For compatibilité reason I will not change this. The principle still the same. Its just a list of Tuple instead of a map<>
"enabledTypes" is a list of building types your action will interact with.
"max_mine": the object can be mine x times. After that, nothing will drop. The object may disapear

If you want to add tool to interact with building you can create a modded class :
modded class Pipe { override void SetActions() { super.SetActions(); AddAction(ActionMineBuilding); } }

[SUPPORT]

Support me : https://fr.tipeee.com/plus200
Even a small amount can encourage me to continue :) Thanks!

[LICENSE]

http://www.wtfpl.net/txt/copying/
热门讨论 查看全部(2)
2
2021 年 11 月 21 日 下午 3:28
Servers running this amazing mod!
BeeDub
0
2020 年 1 月 21 日 下午 1:20
requires RPCFramework (((CF))) to run
Dave
78 条留言
morph (TIGRAN) 4 月 22 日 下午 1:38 
buildings mine is broken, animation stop after start mining...
BigWhiteGiant 2024 年 10 月 27 日 下午 10:59 
Is this mod still working or is it broken? it briefly worked, but now I cannot complete a mining action.
husekpetr111 2022 年 11 月 28 日 上午 3:46 
Hi :-) This mod is awesome :-) thank you... any advise, how to add another tool please?
Dr. Green 2022 年 4 月 27 日 下午 10:23 
Would anyone have a expansion market file for this mod?
Crv 2022 年 4 月 16 日 下午 6:10 
Hey Bleme!

I am using this mod throught DayzOreandGemz but the config part to set probability of vanilla stone mining is not working propely, can you help us please?
Rick 2022 年 3 月 3 日 上午 8:28 
why does the object from which we extract disappear?
PAHAN 2022 年 2 月 17 日 上午 6:41 
{
"buildings": [
{
"actionText": "Configurable Action Text",
"max_mine": 100,
"enabledTypes": [
"bldr_misc_gcontainer_big",
"vbldr_train_wagon_flat",
],
"itemsProbabilities": [
{
"item": "Nugget_Small",
"probability": 30
},
{
"item": "Nugget_Middle",
"probability": 15
},
{
"item": "Nugget_Big",
"probability": 7
}
]
}
],
"minedItemsProbabilities": {
"Stone": 200
}
}

Wagon is ok, container isnt working.
PAHAN 2022 年 2 月 17 日 上午 6:33 
Hello, i have a problem. I add new building and its dont work. I can mine onle when spawn this objects by admin panel.
LimpnAintEzy 2021 年 12 月 31 日 下午 6:32 
{
"buildings": [
{
"actionText": "Mine Gold",
"max_mine": 2,
"enabledTypes": [
"FKN_Gold_Boulder1"
],
"itemsProbabilities": [
{
"item": "Goldnugget",
"probability": 40
},
{
"item": "Stone",
"probability": 60
}
]
}
],
"minedItemsProbabilities": {
"Stone": 200
}
}
LimpnAintEzy 2021 年 12 月 31 日 下午 6:01 
Has any got the "max_mine" to work correctly?