PaApi
Adds helper function to facilitate modding
About this mod Author’s original text
PaApi aims to add helper functions to make modding Project Arrhythmia easier
Right now its main function is to facilitate calling events and setting up mod settings in the main
The simplest usage is
PaApi.SettingsHelper.RegisterModSettings(ModGuid, ModName, Color.red, ConfigFile, builder =>
{
builder.Label("YOUR LABEL - generic settings");
builder.Toggle("Your Toggle", ConfigFile.Bind(...));
builder.Slider("Your Value Slider", ConfigFile.Bind(...), UI_Slider.VisualType.line, "35%", "50%", "85%");
builder.Spacer();
builder.Label("MISCELLANEOUS - other settings");
builder.Slider("Your Range Slider", ConfigFile.Bind(...), UI_Slider.VisualType.dot, new Vector2(0, 5));
builder.Toggle("Another Toggle", ConfigFile.Bind(...));
builder.EndPage(); //optional
});
Which should be done only once in your plugin initialization
Another usage is adding custom scenes, this is also done in plugin initialization, and requires you to load a scene asset bundle
Installation
for developers
- Download the PaApi.dll from the latest github release and reference it in your plugin's project
Put [BepInDependency("me.ytarane.PaApi")] attribute in your plugin
- Remember to set aiden_ytarame-PaApi-1.0.0 as a dependency in your manifest if you're uploading
r2modman (recommended)
- Download the r2modman mod manager.
- Search for Project Arrhythmia and go the Online tab, look for PaApi by aiden_ytarame and click download.
- Then click Start Modded in the top left of r2modman and youre all set.
Manual
- Download bepinex from BepInEx 5.4.
- Extract the files from the BepInEx zip into your game's exe folder (this can be found by right clicking PA on your steam library and going "manage->browse local files").
- Note: Extract the zip contents into the PA folder like the image below, not a new folder.
- Download the PaApi zip from latest release available.
- In your game's folder there will be a new folder called "bepinex". Merge the Bepinex folder on the PaApi zip file with the one in your game's folder.
- Open the game and enjoy!
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: