
Vigil
You are viewing a potentially older version of this package. View Latest Version

W.I.P
A mod manager for the game Vigil that provides an in-game interface for managing loaded mods and their settings.
The mod is built using Melonloader 7.1
VigilModManager.dll from releases in the Mods folder of your Vigil installationTo add settings to your mod:
using VMM.ModRegistry.Settings;
using VMM.ModRegistry.Settings.Types;
// Create settings container
var settings = new ModSettings();
// Add a toggle setting
var toggleSetting = new ToggleSetting
{
Name = "Enable Feature",
Value = true,
OnChanged = (value) => {
// Handle setting change
YourMod.HandleToggleChange(value);
}
};
settings.AddSetting(toggleSetting);
// Add a slider setting
var sliderSetting = new SliderSetting
{
Name = "Intensity",
Value = 50f,
MinValue = 0f,
MaxValue = 100f,
OnChanged = (value) => {
// Handle slider change
YourMod.HandleSliderChange(value);
}
};
settings.AddSetting(sliderSetting);
// Register settings with the manager
VMM.ModRegistry.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), settings);
VIGIL_GAME_DIR environment variable to your Vigil installation directory
setx VIGIL_GAME_DIR "E:\Steam\steamapps\common\Vigil"dotnet buildOpen up a issue and tag it with the fitting tags
This project is licensed under the Apache License 2.0. See LICENSE.txt for the full license text.