Writing mods - a few basic questions.

User avatar
qyron
Member
 
Posts: 50
Joined: Sat Jan 07, 2012 00:07

Writing mods - a few basic questions.

by qyron » Fri Feb 24, 2012 09:17

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.
Minetest is not Minecraft. Stop trying to make them look alike.

Currently running Minetest 0.4-13 from Debian Backports.
 

DevilXkid1
Member
 
Posts: 16
Joined: Mon Feb 20, 2012 10:56

by DevilXkid1 » Fri Feb 24, 2012 09:53

I wont to make a mod too

but i have the same problem
I Play MINETEST , You Play MINECRAFT
(Minetest is better than Minecraft :P )
 

Nemo08
Member
 
Posts: 132
Joined: Mon Dec 26, 2011 04:59

by Nemo08 » Fri Feb 24, 2012 10:17

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!
Last edited by Nemo08 on Fri Feb 24, 2012 10:20, edited 1 time in total.
 

DevilXkid1
Member
 
Posts: 16
Joined: Mon Feb 20, 2012 10:56

by DevilXkid1 » Fri Feb 24, 2012 11:39

Thanks Nemo 8)
I Play MINETEST , You Play MINECRAFT
(Minetest is better than Minecraft :P )
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 34 guests

cron