Mod Support
The big update this time is Mod support!
At startup, Campaign Manager with look in a \Mods folder for dll files it can consume to extend its functionality.
Mods can currently:
- Add buttons to the main menu bar.
- Play / stop music.
- Change the background canvas color.
- Get a collection of the campaign encounters.
Mods are written in C# .NET 4.8. Documentation is included with Campaign Manager for how to setup Visual Studio to create a mod, and a sample mod is included with the Campaign Manager installer.
Example code snippets:
// Add a button to the Tools menu.
_sampleButtonPressedEvent = new EventHandler(SampleButtonPressed);
_campaignManagerHost.AddButton("Sample Mod",
"Tools",
Properties.Resources.sampleModIcon,
"Tooltip to demonstrate opening a form for the sample mod.",
_sampleButtonPressedEvent);
this._campaignManagerHost.PlayMusic("Battle Theme");
_campaignManagerHost.ActiveCampaign().ActiveCanvas().BackgroundColor = Color.Blue;
String newOutput = "";
foreach (IEncounter loopEncounter in this._campaignManagerHost.ActiveCampaign().ActiveCanvas().Encounters)
{
newOutput += loopEncounter.Name + Environment.NewLine;
}
textBoxOutput.Text = newOutput;
The API functionality will extend over time, but this is the first step for any developer to extend the Campaign Manager user interface and capabilities.
Files
Get Campaign Manager
Campaign Manager
Design adventures for tabletop roleplaying games, escape room puzzles, and interactive stories.
Status | In development |
Category | Tool |
Author | kamoly |
Genre | Role Playing |
Tags | Creative, dnd, Management, Tabletop, utility |
More posts
- Mystery on the Space Station74 days ago
- Sorting / Volume ControlJul 19, 2024
- Game Mode (Sample Story)May 25, 2024
- Game Mode (Interactive Story)Apr 06, 2024
- Coming Soon: Game ModeFeb 29, 2024
- Printing MapsJan 30, 2024
- More Encounter MapsDec 29, 2023
- Encounter (Battle) MapsNov 28, 2023
- UI ImprovementsOct 18, 2023
- PrintingSep 24, 2023
Leave a comment
Log in with itch.io to leave a comment.