diff --git a/webapp/views/pages/modding.ejs b/webapp/views/pages/modding.ejs index 174b390..000868b 100644 --- a/webapp/views/pages/modding.ejs +++ b/webapp/views/pages/modding.ejs @@ -75,25 +75,43 @@ which patches ZeroBrane Studio to provide code completion
Every mod, at minimum, must have a file called init.lua. You should also add a description.txt describing it, a README.md or other -readme file explaining more, and a LICENSE.md or other license file -MIT License is used for Minetest itself, that is recommended. Some -people consider using GPL v3 to prevent the program from being used -on popular mobile devices, since the GPL v3 specifies that a user must -be able to not only reprogram but also replace the program with their -recompiled version--this may not be possible if your version shares a -namespace and key with the application you are changing, and you may not -have the same connectivity or functionality without using the same key. -Therefore, components or mods using GPL v3 may prevent their inclusion -into future version of Minetest "games", as several versions of -Minetest (often by other names) are on Google Play and the iOS App -Store. +readme file explaining more, and a LICENSE.md or other license file. +The MIT License is used for Minetest itself, so that is recommended. +Some people determine that using GPL v3 can prevent the program from +being used on popular mobile devices, since the GPL v3 specifies that a +user must be able to not only reprogram but also replace the program +with their recompiled version--this may not be possible if your version +shares a namespace and key with the application you are changing, and +you may not have the same connectivity or functionality without using +the same key. Therefore, components or mods using GPL v3 may prevent +their inclusion into future version of Minetest "games", as several +versions of Minetest (often by other names) are on Google Play and the +iOS App Store. You can find the MIT License online and paste it into Notepad or Geany. Be sure to fill in your name and the year you created the mod. Having a license will -make sure others feel safe using your mod and redistributing it if -that's what you want.
+make sure others know they are legally safe using, changing, and +redistributing your mod if that's what you tell them in the license. +Having others change and improve your mod will help you too, because +all Lua is open source (is distributed in plain text form not compiled +form normally) and you can normally utilize others' improvements if you +pick a good license as suggested. + +If you have an error or Minetest crashes when your mod is enabled, +try looking at minetest/bin/debug.txt (in $HOME/minetest/bin/debug.txt +if installed using EnlivenMinetest installer for GNU+Linux systems, +but usually in C:\games\minetest\bin\debug.txt if using Windows)
+Using the Minetest API and other mods with APIs. Try reading the +last few lines of the file. Use Geany or ZeroBrane (above) +instead of Notepad, as Notepad may crash or mangle text when using +large files. You can also use +Notepad++. +
+Delete or rename the debug.txt file by the current date (with +Minetest closed) every so often so it doesn't get too long.
-API means application programming interface. It is just the set of +API stands for application programming interface. It is just the set of classes and/or functions you use to change the behavior of an existing program such as Minetest. Mods that add significant features, such as Mobs Redo or codermobs, usually have their own API. You can see all of @@ -199,7 +217,84 @@ performance testing, you can spawn one or more mobs with one command:
-OldCoder
- +Many Blender tutorials exist on YouTube. However, they usually go +into painful detail about consfusing options that do not help beginners, +which are the audience of tutorials in the first place. To offset this +lack of Blender information, I created a course for when I was teaching +Blender. These free and public-licensed + +Tutorials are here (that is the Blender 2.5-2.7 directory--for 2.8, +click "Index" at the top). To install Blender and the B3D exporter for +Minetest, see "One-time Setup for 3D Modeling" below.
+10 Blender units is 1 Minetest unit, so if your creature should be +1.6 meters tall (5 ft 3 in), then the model should be 16 Blender units +tall. +
visual_size
specifies size for 2D sprites such as wielditem, in
+Minetest units (default 1 x 1 is 1 meter square).visual_size
specifies scale for meshes. For
+example: The mummy from tsm_pyramids is about 2 Blender units (also same
+for b3view), the
+visual_size
in Lua is 8, result is looks like it is the
+expected 1.6 Minetest units high. 1.6 is the expected result since the 2
+Blender units are divided by 10 resulting in .2--multiplied by
+visual_size
8 results in 1.6 Minetest units.