Project Zomboid

Project Zomboid

Big Degen's Dakimakura Emporium!
 This topic has been pinned, so it's probably important
NalMac  [developer] 17 Jan @ 5:00am
Making Your Own Addon In Build 42
This is How to use the Dakimakura Addon maker.
TLDR
  1. enable mod
  2. go to yourUserName/Zomboid/Lua/DakiScript
  3. find DakiScript.ini, follow instructions written inside
  4. reset lua
  5. go to yourUserName/Zomboid/Lua/DakiScript, copy new folder to yourUserName/Zomboid/Workshop
  6. reset lua
  7. enable your new mod and test
first it must be enabled in the mod manager.

after the lua has reloaded you must leave the game window and go to your local zomboid folder where it has generated an ini file.

in windows this is in yourUserName/Zomboid/Lua/DakiScript.

in the DakiScript folder there should be DakiScript.ini, open this with a text editor.Inside should be comments at the top explaining how to use it.

at the bottom of the comments you'll see ModName=. This must be filled with what you want your addon mod to be named.

Make sure you use a unique name because it also makes a module from it.perhaps incorporate your username for example ModName=*gun'sDakimakuraAddon (i put a * because that changes the format which is instructed in the comments above it)
as long as no one has an exact name match it shouldn't be an issue.

after that every space under is used to fill your items.

type is manga or daki, name is whatever you want the display name to be. Texture files must be named like "daki1,daki2,daki3,etc" or "manga1,2,3,etc" for manga textures. The Daki Texture Template can be found in the addon makers Mod Folder
C:\Users\YOUR USER\Zomboid\Workshop\Big Degen's Dakimakura Emporium\Contents\mods\Dakimakura Addon Maker\Dakimakura addon Template\Work files

icon is optional and it will use the default if not listed but are also placed in the textures folder later. Naming scheme is the same as above but must be prefaced with "Item_".

To write tooltips for your items put a comma ,tooltip= after the name
Example
ModName=*gun'sDakimakuraAddon Type=daki icon=false power,tooltip=Best Girl marine gura Type=manga icon=true Chainsaw Man One Punch Man One Piece note that there can be no spaces. ModName=*gun'sDakimakuraAddon Type=daki icon=false power marine Type=manga icon=true Chainsaw Man it will not write for anything past them only power would be written in this case.
After writing in your items and saving you can go back to your game window.

You need to reset the lua, this can be done by enabling and disabling a mod, restarting the game or be in debug and press reset lua.

once you have reset the lua files you can go back to the directory where the ini was and there should be a new folder with your mod's name on it.

copy the folder to yourUserName/Zomboid/Workshop and reset lua.

now the new mod should appear in your mod manager.
Last edited by NalMac; 31 Jan @ 2:54pm