DayZ
88 evaluări
ZenOpenCansRock
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Type: Mod
Mod Type: Mechanics
Dimensiunea fișierului
Postat
Actualizat
10.978 KB
27 aug. 2022 la 6:05
8 oct. 2023 la 17:29
4 jurnale de actualizare ( vizionare )

Abonează-te pentru a descărca
ZenOpenCansRock

Descriere
What Is This?

This simple mod adds the ability to break open cans of food on rocks.

Just walk up to any rock (one that you can mine with a pickaxe or create a bone knife out of) and use your can on it to break it open. Just be aware that you will lose somewhere between 50-80% of the contents by doing this and it will severely damage the can, so it should really only be used as a last resort.

To change the % lost when breaking the can open on rocks you can modify the code in ActionOpenCanEnv.c - specifically MIN_LOSS and MAX_LOSS which are the limits used when the script randomly calculates how much food to spill.

As with all my mods, this mod is open-source and repacking is allowed - do what you want with it.

Installation Instructions:

Install this mod like any other mod - copy it into your server folder and add it to your mods list. Make sure to copy the .bikey into your server keys.

Known Issues:
- Currently makes no sound when banging the can on the rock - will look into adding sound effects when I have time.
- Only works on vanilla food cans that require opening to consume - feel free to modify & repack for modded items.

Repack & Source Code:

Unfortunately due to lack of time I can't maintain all of my mods all of the time. I do my best, but these mods are offered as-is. If there's a problem, you have the source code and my permission to fix it yourself and upload a fixed version to the workshop without any credit necessary. It's all free.

You may repack this mod if you like, and do anything else you want with it for that matter. The source code is on my GitHub at www.zenarchist.io

Buy Me A Coffee:

All my mods are free and open source, but it takes an enormous amount of time to put some of these mods together. If I've helped you out, please consider helping me buy my next coffee! I don't expect it, but I very much appreciate it.

https://buymeacoffee.com/zenarchist

Enjoy!
22 comentarii
coco 13 dec. 2024 la 6:08 
the smacking sound plays nonstop when you open a can on a rock.
Хохол_Нолыныч 4 dec. 2024 la 15:01 
@Zenarchist the smacking sound plays nonstop when you open a can on a rock.
KOVSH. 22 oct. 2024 la 22:27 
The sound playing when opening canned food on rocks are going non stop, is there anyway to fix this issue? :) sounds like a crackhead mining for rocks with a pickaxe tbh
🆅🅰🆉🅾 14 iul. 2024 la 3:07 
thank you for your work, this is my L-C-T message. works fine on my server.
v0vassiN 9 mai 2024 la 13:29 
Ти герой!:luv:
Чекаю такої функції в Dayz 10 років:lunar2019piginablanket:
R.Z 7 dec. 2023 la 9:02 
The sound playing when opening canned food on rocks are going non stop, is there anyway to fix this issue? :) sounds like a crackhead mining for rocks with a pickaxe tbh
randoAFK 14 oct. 2023 la 13:21 
Hey Zen, I messaged you in Discord... I need permissions and a little help
⎝⧹ xscr33m ⧸⎠ 3 mai 2023 la 15:50 
Thank you for allowing to repack!
If you want to take a look: https://steamproxy.com/sharedfiles/filedetails/?id=2971041124
nixcraft 30 apr. 2023 la 13:46 
Another idea. i.e. It can be opened by heat (when reaches 100 celsius) in house fireplaces or on gas stoves and loses some % food by state of can itself
nurver 10 mart. 2023 la 3:52 
easy, use one of his other mod's bikey or sign it yourself.