Page 1 of 1

Writing mods - a few basic questions.

PostPosted: Fri Feb 24, 2012 09:17
by qyron
Although I'm running the current stable version of Minetest, with all the commotion around mods for Minetest, I've decided I want to risk it and try to make a mod myself. Because I want to learn how to program, although it won't be exactly that, it will be a start. However, I do have a few questions regarding how to actually write a mod.

a) is there a template/guidebook I can download to read/study?
b) my first objective is to make a mod for blocks. Can I write one single file for each block or must I put all work into a single file?


This is all I can come up with off the top of my head but I'll be putting more questions here.

PostPosted: Fri Feb 24, 2012 09:53
by DevilXkid1
I wont to make a mod too

but i have the same problem

PostPosted: Fri Feb 24, 2012 10:17
by Nemo08
qyron wrote:Although I'm running the current stable version ... putting more questions here.


look at Jeija tutorial
As example you may open any simple mod, or similar to what you want to do and look at its code.
About Lua language there are so many sites..

Make folder with your mod name in mods folder, make init.lua and write/copy what you need, draw textures for your mod and put they into textures folder. Its easy!

PostPosted: Fri Feb 24, 2012 11:39
by DevilXkid1
Thanks Nemo 8)