0 of 0

File information

Last updated

Original upload

Created by

Tyrannys

Uploaded by

Tyrannyss

Virus scan

Safe to use

About this mod

A simple mod for Into the Dead, that adds in a mod menu into the game that shows you every mod you currently have installed

Requirements
Permissions and credits
Changelogs
Donations
Adds an in-game Mod Menu that displays all currently installed mods in one convenient location. Easily view mod names, versions, authors, directly from within the game. Perfect for keeping track of your modded setup, troubleshooting, or just exploring what you've installed.

Features:

  • Lists all loaded mods with detailed info


Todo:
  • Add in images in Mod Menu possibly from Nexus
  • A way to add images with URL links to reduce mod file size, image adds another 238kbs to the file size (and I don't like that)
  • Format to look nicer
  • Mod Settings Menu
  • A way to use Nexus' API to check for updates on current mods, but I have no way to test this without other mods existing on this platform (Scrapped for now)



For Mod Makers:


If you want to add a description into the Mod Menu, I have added a way to do so, just remember to add the ModMenu.dll as a reference so that you can use the ModMenuAPI when building

public override void OnInitializeMelon()
{
    ModMenu.ModMenuAPI.RegisterDescription("Mod Name", "Description Example");
}

And if you'd like to do it via reflection here's how I handled it


var targetMod = MelonMod.RegisteredMelons.FirstOrDefault(m => m.Info.Name == targetModName);
if (targetMod != null)
{
    MelonLogger.Msg($"Found {targetModName}! Linking");
    Assembly modMenuAssembly = targetMod.MelonAssembly.Assembly;
    Type modMenu = modMenuAssembly.GetType("ModMenu.ModMenuAPI");
    if (modMenu != null)
    {
        MethodInfo description = modMenu.GetMethod("RegisterDescription", BindingFlags.Public | BindingFlags.Static);
        description?.Invoke(modMenu, new object[] { "Mod Name", "Description Example" });
    }
} else
{
    MelonLogger.Msg($"Couldn't Find ModMenu");
}

The end result will give you something similar to this




For pictures you'll want to nest a 640x640 logo.jpg into an assets folder like this