Update 'Building your first mod'
parent
98f0765738
commit
70aa38e52f
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ DTMT will now create the given directory from the mod template:
|
||||||
|
|
||||||
You're now ready to start editing the `init.lua` file. For starters, you might want to just add a simple `print("Hello, world!")`, which will print this string in your console logs once you've loaded the mod.
|
You're now ready to start editing the `init.lua` file. For starters, you might want to just add a simple `print("Hello, world!")`, which will print this string in your console logs once you've loaded the mod.
|
||||||
|
|
||||||
With the file edited, you now need to turn your mod into something that DTMM can load into the game. To do that, navigate to your mod's folder (where the `dtmt.cfg` is) and run in sequence `dtmt build` and `dtmt package`. The first command will compile your mod files into game bundles, the second will package things into a single `<id>.zip` for distribution. Watch the output for any errors, but if all goes well, you can then import your packaged mod in DTMM and deploy.
|
With the file edited, you now need to turn your mod into something that DTMM can load into the game. To do that, navigate your terminal to your mod's folder (where the `dtmt.cfg` is) and run in sequence `dtmt build` and `dtmt package`. The first command will compile your mod files into game bundles, the second will package things into a single `<id>.zip` for distribution. Watch the output for any errors, but if all goes well, you can then import that `<id>.zip` fiel into DTMM and deploy.
|
||||||
|
|
||||||
# Continued development
|
# Continued development
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue