Minetest-c55 is one of the first InfiniMiner/Minecraft(/whatever) inspired games (started October 2010), with a goal of taking the survival multiplayer gameplay to a slightly different direction. It also serves as a learning project for me, celeron55, the author of the game. I am making it as a hobby, so progress isn't particularly fast. If you need a reminder of this project, the blog has an RSS feed. The main design philosophy is to keep it technically simple, stable and portable. It will be kept lightweight enough to run on fairly old hardware. It runs playably on a laptop with Intel 945GM graphics. It is released under the GPL, with the intention that that way it is a lot easier to use by Linux users and people can report and help fix bugs more effecively. This game is under development, and as of now, the game does not really differ from Minecraft except for having a lot less features. Still, playing is quite fun already, especially for people who have not been able to experie

Post tutorial Report RSS Modding Tutorial by kahrl

With the advent (hah!) of the new Lua-based modding API, I think we should put some tutorials into the wiki. I'd like to hear your ideas about what they could be about. (Please don't suggest anything that would require significant changes on the C++ side, I expect such a tutorial to become out of date very quickly.)

Posted by on - Basic Starting a mod

Here's a start, but feel free to go in a completely different direction.
Note, I've often only thought about what concept the tutorial will be about, but still need to come up with a fun way to demonstrate it.

Mandatory
Every modder should read these.

  1. Getting started: This will give some basic information, show how a mod directory is set up, and define a new node type.
  2. Terminology: Gives an overview of the modding terminology, and some initial insights into the game engine.

Beginner
The beginner tutorials will explain one simple concept at a time, and don't go into much detail.

  1. Nodes: This will continue the "Getting started" tutorial and explore some of the simpler settings for nodes.
  2. Inventory: Explains itemstrings, and how to customize the give_initial_stuff mod.
  3. Crafting: This will show how to define new crafting recipes.
  4. Tools: This will show how to define new tools and their digging properties.
  5. Items: This tutorial demonstrates how to define a craftitem and explains the callbacks.
  6. Commands: This shows how to define a simple new server command. Not sure what this could be about. Maybe a /lightning command that damages all players? :O
  7. ...

Intermediate
These tutorials could explain more difficult concepts or expand on the info in the beginner tutorials.

  1. Engine details: Not directly a tutorial, but explains some of the engine details that don't fit into the "beginner" section, like active blocks and so on.
  2. ABMs: Shows a very simple ABM. Maybe one that converts cobble next to water to mossy cobble?
  3. Entities: This tutorial shows how Lua entities work. Again, what could it be about?
  4. Buckets: This will explain (in detail) how the existing bucket example works.
  5. Mapgen: How to run a callback each time a new mapblock has been generated, and do some fun stuff with it.
  6. Node parameters: Explains what nodes' param1 and param2 do. Maybe multiple parts, one for param1 = light value, one for param1 = facedir, another one for param2 things?
  7. Node metadata: Could show how to make a mob that vandalized all signs it finds. :D
  8. ...

Advanced
These will explain, um, advanced concepts or show how to combine several simpler steps to make a great mod (for science!)
TBD.

I'm quite sure I have forgotten something! Also, if anyone has an idea to get the tutorials into a logical order, that would be neat.

Post comment Comments
Guest
Guest - - 687,512 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: