OnLoad: this must be a function that receives one parameter, your mod's table. There are a few properties it can have which have special meaning. This file should return a table which will serve as your mod's run-time state. This file will be executed when your mod is installed and enabled. Inside that folder, create a text file called a. Inside the 'mods' folder, create another folder with the name of your mod. This folder houses all local mod content. If you see a saves/ directory, a log.txt, and other game-generated files, you will know you are in the right place! Create a new folder named 'mods' if one doesn't already exist. Windows/Epic -> %APPDATA%/Klei/Griftlands// Windows/Steam -> %APPDATA%/Klei/Griftlands/steam-/ You can enable or disable them from this panel.īrowse to your Griftlands save directory. Once you create a mod or (eventually) install other user-created mod content, you will see their appearance here. Click "Set Launch Options", enter -debug in the edit box and click Ok.Ī description of all the game's debug functionality is beyond the scope of this article, but for our purposes, it is useful to know that CTRL+5 will open a debug panel listing any mods the game has discovered. Steam -> Right click Griftlands in your library and click "Properties". It is not strictly necessary to run in debug to either run or develop mods, but it will probably be helpful.Įpic -> Go to Settings > Griftlands and check "Additional Command Line Parameters". Running the game in debug will unlock a slew of facilities to aid you in development. These example mods illustrate many basic features, like adding cards, grafts, and new campaigns. The best way to learn how to add specific pieces of content to your mod is to subscribe to Shel's Adventure and Havarian and view the code. This is not a tutorial and assumes basic knowledge of Lua. This is a very brief set of instructions on how to create a new empty mod for Griftlands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |