This makes it harder for a person to understand, but can improve the performance of the lua processor. The minification process removes unnecessary (to the computer) spaces, line breaks and comments, and shortens variable names down to individual letters (ex. The modifications are added to the top of the array, though this may change in the future. smod named my_mod.smod, it will always load my_mod.smod and ignore your folder!Ĭompress the mod folder using zip compression and change the extension of the archive from ".zip" to ".smod".Īdvanced Questions Q: Can you use mixintos to modify a. smod files over folders though: if you have a folder named my_mod and an. Can I work with my extracted mod folder? smod file using any compression program that supports the. smod files contain the majority of the games assets, and are simply. For example, file(/stuff) becomes /my_mod/stuff/stuff.json Finally, if the path inside a file() statement ends with a folder, and not a file with an extension, it will automatically append a file of the similar name.json to the path.file() can also be used to append the path to the current directory: file(mystuff.json) is equivalent to /my_mod/path/path1/path2/mystuff.json.As mentions, file(/foo) is equal to /my_mod/foo First, it appends the mod directory to the path in the parenthesis.json files are possible targets for mixintos, and how do I reference them? Should I use their alias, or filename, or what? įile(.) is a shortcut that makes it "easier" to declare filepaths in. If you use this to replace code files with other code files, Team Radiant is not responsible for the results, or the maintainability of the edits going forward. Use overrides to replace assets with other assets. json files is not yet finalized, so the section you've modified may change or go missing.Īn override lets you replace any file in the game with another file. This is dangerous because the format of those. The more complicated (less documented/stable/supported) use case is to add wholly new content to existing. The easiest use for this is to replace values defined in an existing. json file.Json files hold almost all of Stonehearth's mutable gameplay parameters. Desktop Tuesday, a peek inside the modding APIĪ mixinto lets you inject additional content into an existing.The best places to get more information on Stonehearth modding are the Developer Blog and Official Forum.įor an introduction into mixintos, overrides and the entity/component framework these posts are especially helpful: Are there any "primers" on modding Stonehearth? How can I reduce my loading time? / How can I create a smaller world? 4.3 Q: Will you replace the term "mixinto" with "extension"?.Why did my mod stop working after a Stonehearth version update? 2.3 Q: Can you use mixintos for html code?.2.1 Q: Can you use mixintos to modify a.json files are possible targets for mixintos, and how do I reference them? Should I use their alias, or filename, or what?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |