DayZ
26 ratings
Mod Options
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
54.190 KB
13 Mar, 2023 @ 12:05pm
16 Sep, 2024 @ 10:32am
6 Change Notes ( view )

Subscribe to download
Mod Options

Description
simple mod to add a button to in game menu and use one keybind for mods that have options
Updated for dayz 1.25

The server panel button
This is a place holder for servers using server panels for compatibility
has no functions if you are not using mod server panels

Config file
options to hide the modded in game menu

Repacking
You are not permitted to repack any part of Mod Options.

Deafult Key bind is del / full stop key number pad
mod opts in key binds to change the default keybind

Adding a button
example

modded class MissionGameplay{

override void OnInit(){

super.OnInit();
#ifdef SMOptions
Getsmoptions().RegisterMod( "name of the button" , menu id number );
//Getsmoptions().RegisterMod( "testmod" ,23432424 );
#endif
};
};
included
This mod has source files for a test mod
storing files as Json
using vanilla RPC
creating a simple menu
adding your menu to Mod options screen


https://discord.gg/d79tgwsFUV