CSM DTEClient Side Mod Designing & Testing EnvironmentAn advanced, ingame lua and formspec editor.This can be used for creating, testing and using CSMs without reloading the game, and without the game crashing. This is also the easiest way to create advanced formspecs. It was tested with multiple CSMs, and they all worked. (actually in the current version, a few things might not work, but they will be fixed in the future)
CSMs can be created, or pasted in, and they should work the same as they would normally, except errors won't crash the game!
functions that are registered with minetest can be put in a function safe(func) to output errors to the UI when minetest calls them
scripts can be put in startup to run them automatically when the game loads. errors are also put in the UI
Features:lua editor:- print function
- coloured error output
- multiple files
- file creation and deletion
- safe function execution
- automatically run files at startup
formspec editor:- every widget is available
- widgets are easy to edit
- formspec preview, shows what it will look like
- export as a function with parameters
- export as a string
- and a whole bunch of fancy stuff
DownloadGithubDownloadScreenshots:Lua editor:
Formspec editor
To Use:- use the command .dte to open the editor
- select the lua editor tab to run and edit CSMs
- select the formspec editor tab to create a formspec
- select the files tab to open, create, and delete files
- select the startup tab to select lua files to run when the game loads
How to install- make sure you have client modding enabled (search for client modding in advanced settings, and set it to true)
- download and extract the zip file into clientmods\csm_dte or paste the init.lua file into it.
- add load_mod_csm_dte = true to the clientmods\mods.conf file
- join a game or server, and it should work!
Please tell me of any differences when running a CSM in this and the usual way. Thanks
I also need a list of API functions for registering functions with minetest, and a list of functions which only work before the game has loaded.