DayZ
80 ratings
Zen's Chessboard
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
2.524 MB
Aug 24, 2023 @ 10:34pm
Nov 28, 2023 @ 2:37am
5 Change Notes ( view )

Subscribe to download
Zen's Chessboard

Description
What Is This?

This mod adds a craftable and fully functional chess board to the game.

Craft a chessboard by using a saw on a wooden plank.

Craft black pieces by using a knife on dark oak bark.

Craft white pieces by using a knife on light birch bark.

You play chess by moving the pieces on attachment slots, but there's nothing to stop you from cheating. So don't leave your opponent unobserved if you don't trust them not to cheat!

Server admins can place the Zen_ChessBoard_Static item to create a static chessboard that cannot be moved or taken by players. This board also spawns in all of its parts and will not allow players to remove pieces from the board. The idea behind this board is to be placed in communal areas like trader zones etc so that players can hang out and have a game at any time.

To place this static board use DayZ Editor or other admin tools (don't forget to add the types.xml entry if you want persistence so that games don't reset on server restarts).

Credit to Mass for his MassManyItemOverhaul which is where I first saw a functional chessboard in DayZ. I stumbled across a chess 3D model on Sketchfab and wanted to make my own standalone chess mod for my server, but the inspiration to know it was possible came from Mass's work. Go check out his mod if you want a lot more than just a chess set.

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.

Make sure to merge the types.xml into your server types and adjust the item's lifetime, or the racks will despawn on server restart and/or if no players are around. The types.xml file is in the mod folder and listed below.

This mod must be installed on both the server & client.

3D Model Credits:

The chess model was free on Sketchfab under the CC Attribution license. The only modification I made was to separate all of the pieces.

Original Model: https://sketchfab.com/3d-models/wooden-chess-set-90151fb0fb294e56b45e52b001a884db

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 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.io

Enjoy!







Types.XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
<type name="Zen_ChessBoard">
<nominal>3</nominal>
<lifetime>604800</lifetime>
<restock>0</restock>
<min>1</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="clothes"/>
<tag name="shelves"/>
<usage name="Town"/>
<usage name="Village"/>
</type>
<type name="Zen_ChessBoard_Static">
<lifetime>9999999</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessWhitePawn">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessBlackPawn">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessWhiteBishop">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessBlackBishop">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessWhiteKing">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessBlackKing">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessWhiteKnight">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessBlackKnight">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessWhiteQueen">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessBlackQueen">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessWhiteRook">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
<type name="Zen_ChessBlackRook">
<lifetime>3600</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="1" deloot="0"/>
</type>
</types>
14 Comments
Зеленый тапок Mar 4 @ 9:04am 
can i add this mod on my server?
Hightech Mar 2 @ 4:46am 
<lifetime>9999999</lifetime> and can the maximum time be more than 3,880,000 seconds? will it not issue an error with the value 9,999,999 ?
Sado123 Oct 6, 2023 @ 2:04pm 
Türkiye'nin tüm DayZ oyuncularına açık Steam grubumuza davetlisiniz. DayZ oynarken yeni bir takım arkadaşına ihtiyaç duyuyorsanız burda bulabilir, birlikte başka oyunlar oynayabilirsiniz.

https://steamcommunity.com/groups/dayzturkiyetoplulugu

Hi survivors 🙂 If you want to stay alive come in our steam group or maybe just you need help about how you install the mods or how you can do fire in dayz. You can get any helps about dayz only you need to come in our steam group and play in our server.
freddy fishtank Oct 3, 2023 @ 3:44pm 
hey zen, do you have a donation link? i wanna support you and your mods, and having them be open source means many go under the radar for your work
CLYDE Sep 17, 2023 @ 6:03pm 
здраствуйте есть проблема когда покуешь к себе в мод пак сервер не запускается если не покавать в мод пак то вроде работает исправте пожалуйста
sysrover Sep 8, 2023 @ 7:04am 
You have misstake in this part
this cause problems with other mods that will load after your
override void RegisterOneHanded(DayZPlayerType pType, DayzPlayerItemBehaviorCfg pBehavior)
{
super.RegisterTwoHanded(pType, pBehavior);
pType.AddItemInHandsProfileIK("Zen_ChessPieceBase", "dz/anims/workspaces/player/player_main/player_main_1h.asi", pBehavior, "dz/anims/anm/player/ik/gear/9v_battery.anm");
}
Flossthief Aug 31, 2023 @ 7:51pm 
this is just like the version from mmio
R0Lu Aug 31, 2023 @ 9:18am 
Amazing mate :steamthumbsup:
GurZa Aug 30, 2023 @ 9:28am 
Great mod
[V] ToMaGuY Aug 30, 2023 @ 4:41am 
Great mod ! Is that possible to disable the craft ?