Mod Packs
Expands functionality of the engine.
- Note: Mod-packs are currently preliminary and WIP.
- Mod-packs expand the functionality of vn-Canvas.
- While plug-ins add to the visual novel experience, mod-packs modify that experience by letting the engine take on a new personality beyond what is traditionally click-and-select visual novels.
- If you want to enhance your gameplay, mod-packs are the way to go.
- But if you prefer the pure VN experience, that's fine too. Just don't use the mod-pack.
- Just add the mod-pack to the init.js, and you're good to go.
requirejs([
...
// load plugins, macros, etc.
"app/vnmod-rpg-0.6",
"app/vnmod-rpg-data",
"app/vnmod-rpg-forms",
"app/vnmod-rpg-macros",
], function () {
// place initialization code here
...
});
- RPG Mod Pack
- The RPG mod pack is sort of a lite-version of turn-based RPG. Features include the following:
- - Automatic character stats generation
- - Character equipment and items
- - Skills tree selection
- - Quests journal
- - Stores and Inns
- - Turn-based battle system
- So how do you include the mod pack in your game?
- - Add vnmod-rpg-0.x.js. This is the core RPG mod script. The APIs here take the form of RPG.methods.<function_name>.
- - Add/Modify vnmod-rpg-data.js. This contains the data structures for the RPG. Modify according to your game.
- - Add/Modify vnmod-rpg-forms.js. These are the cforms that determine the GUI of your game. Modify to your desired look and feel.
- - Add/Modify vnmod-rpg-macros.js. These are the macros accessible in-game and by forms. Modify/Customize as you see fit.
- Don't forget to check out the demo.
- The mod-packs will be listed here as they are made available.
- Absolutely! If you know javascript, you'd have no problems.
- However, you may need to understand how the vn-canvas core engine works in order to interface correctly. As much as possible, there should be little changes to the core engine, so it won't affect games not using your mod-pack.
- For example, the base engine checks Config.modRPG flag to determine if the RPG mod pack is in use. If not set, all RPG related functionality is ignored.
- You can check the sample vnmod-rpg-0.6.js to give you an idea.