Permits unlimited usage of the addon for commercial and non commerical releases for one single individual
Read the full license text
Welcome to mod.io Construct 2 Plugin. It allows game developers to control the browsing and installation of mod files in their games.
This plugin was created by TetroniMike (Michael Lasch) for Hypnospace Outlaw https://hypnospace.mod.io and has been released open source for other game developers to use in their projects.
Please note that this plugin is only compatible with NW.js exported games on Windows, Mac, and Linux. It might be possible to alter the source code to make it compatible with other export methods, but we will not be going in to how to do so here.
1) The first step is to add mod support to your Construct 2 game.
2) Install the .c2addon files (json_plugin.c2addon and skymen_jszip_v1.4.c2addon) by clicking and dragging them into Construct 2. You will have to close and re-open Construct 2 to finish the install.
3) Copy all assets from the provided .capx file's Layout into your game's C2 project. Add the following plugins to your game:
4) Create the following Families, add these objects, and 'Family instance variables' with the following default values. These families and variables determine the UI objects' font sizes relative to window size, and CSS properties (see screenshots)
5) Finally, copy the events into a new Event Sheet.
6) Change the following variables to match your game's information (create your games profile https://mod.io/games/add to get an API key):
CompanyName and GameName are used to create a path on the player's computer to store mod files (for example: C:\Users\[user name]\CompanyName\GameName\mods). Change the code within 'On start of layout' to change where mod files are stored.
7) Test it and modify as you see fit!
More details here: https://github.com/modio/C2Plugin
For questions about payments and the store itself, please refer to the Scirra store frequently asked questions
While this is compatible with Mac and Linux in addition to Windows, we cannot guarantee it will work as expected on those platforms. Please do your own testing as you integrate this project into yours!
Subscriptions, updates, dependencies, and other features are not supported out of the box. You will have to code these yourself, if you want these features.
When downloading and installing a mod, the following errors can occur and show the following error codes on the download button:
Error 001* - config.ini file not found in zip, mod is not formatted properly.
Error 002* - config.ini file is more than 1 folder deep, mod is not formatted properly
Error 003 - mod install path either does not exist or could not be created
Error 004* - weird mod install error (config.ini found in zip but not in resulting unzipped folder contents)
Error 005 - Error getting download url from mod.io
Error 999 - Unknown error occured
*These errors only show up if you have enabled the code that checks for mod compatibility. Please change it to match your mod's unique zip file specifications.
Also, if there is an error with the AJAX plugin, which does our GET requests from the mod.io API, the error text will show up in the ModIOText text box.
A purchase of a Construct 2 addon permits unlimited usage for 1 single developer. This developer is permitted to use the addon for life in as many commercial and non commercial projects as they wish. The license is strictly non-transferable. If more than one developer wishes to make use of the addon, multiple licenses will be required.
Buy this item at the exclusive price today and it we will be de-listed from the Scirra store immediately!
Items with exclusive prices are not sold anywhere else, and will not be sold anywhere else ever again if purchased at this price.
This item has currently been sold an estimated 0 times to date. Buy at the exclusive price today and no one else will be able to buy it.
Cross Platform Mods by mod.io
C2 ModIO Integration.capx
Please note some of these images are watermarked.
See mod.io in action
Created for Hypnospace Outlaw
Take a look at these other items
Fast Equations game
Good Will in the time of celebration
62 seconds loop
Let this help organize all your game development assets
Soldier in urban camo armed with assault rifle in 21 animations.
Platformer, Sidescroller Game Character Sprite Sheet
20 currencies accepted here!