DayZ
141 ratings
Zens Treasure
3
2
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
9.830 MB
13 Feb @ 8:53pm
3 Jul @ 2:42am
7 Change Notes ( view )

Subscribe to download
Zens Treasure

Description
What Is This?

This mod adds photo-based treasure hunting to the game.

It's inspired by Hunterz's Treasure mod, but I needed more functionality for my server so I created my own version from scratch and the features of my mod are a bit different.

Check out the YouTube video attached above to see how it works.

The main differences with my mod compared to the original treasure mod are:

- When a player "reads" a photo, it creates a trigger to spawn the stash when the player goes near it instead of instantly spawning the stash. This prevents people "farming" photo stash locations without having found the corresponding photo first
- The stash's loot configs are chosen at random each time (so finding the same photo twice will produce two entirely different loot contents)
- New photo textures are much easier to add (everything is hidden-selected, so adding a new photo texture is automatic and based on the photo number in the .cpp file)
- This mod includes a "random photo" item which automatically turns into a random photo from the list, making it easy to add random photos as airdrop loot etc (photo list is auto-generated from .cpp file - the photo classname is "ZenTreasure_RandomPhoto")
- The containers which spawn the loot inside cannot be picked up or put into cargo

Adding loot config is easy to do, just modify the ZenTreasureConfig.json file in your server profiles folder (the mod comes with an example JSON config setup for Livonia).

Note: my mod currently only includes photos for the vanilla maps. To set up photos for a different map this will need to be done manually - there is a video guide on how to do that here: https://youtu.be/MaGxDq25pxA

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 if you're not using a server management tool like OmegaManager which does that automatically.

This server must be run on both the client and the server.

A JSON config file for adjusting this mod's settings will be automatically created in server_profiles/Zenarchist/ZenTreasureConfig.json

Here are some instructions for the config file and how to add new photos: https://github.com/ZenarchistCode/ZenModPack/wiki/Zen's-Treasure-Mod

Repack & Source Code:

You can 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.com

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!
33 Comments
Durty AL 22 Jun @ 2:18am 
Question for you Zenarchist,
within the base mod, in your class def of "ZenTreasureHunter" is it possible to change a property definition name from "StashType" to something like "ZenStashType"? There is another mod called "BetterStash" that enumerates the name "StashType" causing a conflict between the two mods;

If not, it's not a big deal -- just thought I'd ask
fausz 21 Jun @ 12:14am 
Does this work in any map?
bzed 17 Apr @ 11:53am 
Doesn't work with 1.27 for me, mounds do not spawn, everything else seems to work fine. According to the log the Mound should have spawned, but nothing to be found. Interestingly after restarting the server the chest/crate is on top of the earth, without even digging for it.
Bender 13 Apr @ 6:41am 
Function: 'SyncComboLockPermissions'
Stack trace:
ZenComboLocks/Scripts/4_World/entities\itembase\combinationlock.c:358
ZenComboLocks/Scripts/4_World/entities\itembase\combinationlock.c:323
scripts/3_Game/dayzgame.c:3022
JM/CF/Scripts/3_Game/communityframework\game\dayzgame.c:115
SCRIPT (E): NULL pointer to instance
Class: 'Zen_CombinationLock6'
Entity id:2983282
Rykha 10 Apr @ 2:13pm 
Hey there, for some reason the config file is not generating. In the profiles section of the server, it's just putting everything there, including the addons and keys folder. Anyone else having this problem?
Pipsters 8 Apr @ 7:49am 
Howdy so just to confirm this mod is for Livonia and if i want to use it on Chernarus i need to re-config all photo's and desciptions for Chernarus?
⛧Cympak⛧ 8 Apr @ 4:55am 
@HighNtight and @derekncollins Both of you can serve me properly with your working mou""s without interfering with each other, since you have so much time to write such crap trying to get my attention, two pathetic monkeys.
derekncollins 26 Mar @ 7:12pm 
lol, i wanna tell Cympak off now too. You suck and continue shutting up you weirdo
[RBK] EnzoRBK 21 Mar @ 9:00pm 
Why AI
HighNtight 14 Mar @ 6:39pm 
Cympak no one asked for your opinion so STFU!