Mod:Knightcore
From PMDOWiki
| Namespace | knightcore
|
|---|---|
| Creator | Imbion |
| Type | Framework |
| PMDO Version | 0.8.11 |
| Download Link(s) | Codeberg |
Knightcore is a framework mod for PMDO. It implements various helper functions for a bunch of features that are required for quest mods, such as handling dialogue and handling cameras. It also re-uses some functions from Halycon.
Usage
To use knightcore as a framework, copy the folder named knightcore found in the path Data/Script of the mod into the using mod's Data/Script folder.
Then, to use the scripts, use the require keyword to include any script files that will be used in the other mod's script. For example, to use the function ActorsKC.SpyAround, the require keyword would be used like require 'knightcore.ActorsKC'.
The script can then be called like any other function, for example like ActorsKC.SpyAround(...).
Script Files
| Name | Purpose |
|---|---|
| ActorsKC | Moving actors/character around and controlling emotes on the ground map. |
| Knightcore | General knightcore functions that don't belong elsewhere. |
| MonsKC | Creating mons and doing things with them, including adding them to the team. |
| SceneKC | Controlling the current ground map scene, such as camera position and re-used ground objects. |
| ScriptKC | Controlling the behaviour of the game's dialouge script and other related functions. |
| StringKC | Manipulation of strings. |
| IntroKC | Running actions with quest introductions and setup. |
