Kingdom Come: Deliverance II

Kingdom Come: Deliverance II

Not enough ratings
KCDUtils
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
574.328 KB
21 Sep @ 3:14am
25 Sep @ 12:46am
2 Change Notes ( view )

Subscribe to download
KCDUtils

Description
Adds a lightweight collection of Lua utilities designed to simplify modding in Kingdom Come: Deliverance 2. KCDUtils provides ready-to-use functions, helpers, and a consistent framework for creating Lua-based mods, including database handling, logging, configuration management, and more.

KCDUtils is a utility framework for modders only. You only need it if a mod explicitly requires KCDUtils to function. It does not provide any gameplay changes or benefits on its own.

Dependencies

- LuaDB[www.nexusmods.com] is required to use KCDUtils database and configuration utilities.

NEW

Provides a streamlined way to add settings of your mod to the game settings UI.

Features for Modders and Beginners

- Simplifies DB, Logger, and Config management across multiple mods
- Centralized, namespaced utility tables to avoid conflicts
- Modular structure to integrate easily into any Lua-based KCD2 mod
- Supports persistent configuration and event-driven scripting
- Provides extensive IntelliSense, auto-completion, and documentation, making it especially useful for modding beginners
- Helps maintain clean, maintainable code without reinventing common utilities

Getting Started

- See the GitHub repository[github.com] for full documentation and usage examples
- For easy setup, use the KCDUtils Template VS Code Extension — it automatically generates all required files and folder structures, including a ready-to-use workspace. You can find it on the Microsoft Marketplace[marketplace.visualstudio.com] or the extensions tab of VS Code.

Notes

- KCDUtils itself does not modify gameplay
- Intended for modders looking to streamline Lua scripting in KCD2
- Due to its scope, not all features may have been fully tested. Please report any bugs or unexpected behavior via GitHub issues or comments.

Community & Support

Have questions or want to learn more about KCDUtils? Check out the GitHub repository for examples, tutorials, and the latest updates.

Credits

Thanks for feedback, help and inspiration to:

- hoskope[next.nexusmods.com]
- jigsawpizzle[next.nexusmods.com] Magic_Gondas
- Community Discord[discord.com]

KCDUtils also benefits from contributions and discussions from the KCD2 modding community[discord.com].

Links

- KCDUtils on Github[github.com]
- KCDUtils Templates on Github[github.com]
- LuaDB on NexusMods[www.nexusmods.com]
- Support my work[ko-fi.com]