Features available to modders AssetsĪny files in \assets\png, \assets\obj, \assets\strings will be loaded into the ModTextures, ModObjects, and the global string dictionary. in menus) Be aware that blocking code here will block the entire game, potentially freezing it. It is independent of the game state, meaning that code placed in the Update loop will be ran even when the actual "game" isn't playing (i.e. The update method is called repeatedly throughout the game. The init method is ran one time, extremely early in it game's life. Override the Init method, or the Update method. Any class extending ModBase and placed in the Planetbase\Mods folder will be autoloaded on launch. To start off, extend the "ModBase" class and implement the abstract properties. Creating mods using the framework is fairly easy and straightforward.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |