How Do You Make And Upload A Mod?

KreeithGames
New member
 
Posts: 7
Joined: Sun May 11, 2014 11:56
In-game: KreeithGames

How Do You Make And Upload A Mod?

by KreeithGames » Thu May 29, 2014 21:38

Can someone please explain this to me, I have been wanting to make a Mod for Minetest.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: How Do You Make And Upload A Mod?

by Topywo » Thu May 29, 2014 21:55

KreeithGames wrote:Can someone please explain this to me, I have been wanting to make a Mod for Minetest.


See this post:

viewtopic.php?f=3&t=9352

For uploading a mod, compress them, and then upload them to a site that let's them share with other people. I use dropbox. but there are more (you can learn about them by looking at the links modders provide). It seems you can also attach files in your posts through this site, but I never tried.

Have fun modding!


Edit: While clicking Submit, I saw an Upload attachment tab down here.
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

Re: How Do You Make And Upload A Mod?

by Bas080 » Fri May 30, 2014 01:35

In order to know how to make the mods I would advice you to look at simple mods of others in order to get familiar with the minetest modding API. It shows how you can register a "node" and how to register other things like items, abm's and some other things.

Besides registering items you can also make things happen at certain events. The events are things like on_dieplayer or on_placenode. Also nodes and items have events.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
  9 --nodes
 10 minetest.register_node("bees:bees", {
 11   description = "Wild Bees",
 12   drawtype = "plantlike",
 13   paramtype = "light",
 14   tiles = {
 15     {
 16       name="bees_strip.png",
 17       animation={type="vertical_frames", aspect_w=16,aspect_h=16, length=2.0}
 18     }
 19         },
 20   damage_per_second = 1,
 21   walkable = false,
 22   buildable_to = true,
 23   pointable = false,
 24   on_punch = function(pos, node, puncher)
 25     local health = puncher:get_hp()                                                                                                           
 26     puncher:set_hp(health-2)
 27   end,
 28   on_construct = function(pos)
 29     spawn_bees(pos)
 30   end,
 31   on_destruct = function(pos)
 32     remove_bees(pos)
 33   end,
 34 })


This shows how a node can have a on_punch and a on_construct event.

Look at the others mods and later in the minetest api docs located here for a more in-depth summary of what can be used.

Before you know it you'll be minetesting like a boss
 

User avatar
TG-MyinaWD
Member
 
Posts: 355
Joined: Thu May 08, 2014 21:22
GitHub: Maddie-Myina
IRC: Maddie-Myina
In-game: .

Re: How Do You Make And Upload A Mod?

by TG-MyinaWD » Fri May 30, 2014 12:59

KreeithGames wrote:Can someone please explain this to me, I have been wanting to make a Mod for Minetest.

You can upload it on my site. and Link it to here. that how mine mod is shared on here.

So yeah just PM and I give you the link. since I don't like post it since right now spambots can get access to it. or bots. but I hope to have it password Protected. I will say more later.
I'm a Transgender no shame about it.
I prefer to be considered as a "Girl/Lady/Miss/Madam/Female" for now on.
 

KreeithGames
New member
 
Posts: 7
Joined: Sun May 11, 2014 11:56
In-game: KreeithGames

Re: How Do You Make And Upload A Mod?

by KreeithGames » Sun Jun 01, 2014 12:31

Okay thanks! But what program do I use to start programming the Mod?
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

Re: How Do You Make And Upload A Mod?

by Topywo » Sun Jun 01, 2014 13:07

KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: How Do You Make And Upload A Mod?

by philipbenr » Mon Jun 02, 2014 23:32

I use Gimp for textures, but I agree with notepad++. I also occasionally use gvim/vim. If you are asking about a program that makes it for you, I don't think there is one... Anyway, MT modding is pretty darn easy to learn.
 

KreeithGames
New member
 
Posts: 7
Joined: Sun May 11, 2014 11:56
In-game: KreeithGames

Re: How Do You Make And Upload A Mod?

by KreeithGames » Tue Jun 03, 2014 23:49

Topywo wrote:
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).



Okay, can you show me a link to any of these?
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

Re: How Do You Make And Upload A Mod?

by Jordach » Wed Jun 04, 2014 07:04

KreeithGames wrote:
Topywo wrote:
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).



Okay, can you show me a link to any of these?
https://google.com or https://next.duckduckgo.com

Learn to use tools. ;P

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
CraigyDavi
Member
 
Posts: 565
Joined: Sat Aug 10, 2013 13:08
GitHub: davisonio
IRC: davisonio or CraigyDavi
In-game: davisonio or CraigyDavi

Re: How Do You Make And Upload A Mod?

by CraigyDavi » Wed Jun 04, 2014 14:01

KreeithGames wrote:
Topywo wrote:
KreeithGames wrote:Okay thanks! But what program do I use to start programming the Mod?


Any program that allows you to open and modify the lua files will do. The debug.txt file in minetest gives you an indication what went wrong and on which line.

Maybe something like notepad++ will suit you or similar programs that work with colors. I use leafpad, a 'simple' text editor that's packed with lubuntu.

Edit: For textures I use mtPaint graphic editor (also standard with lubuntu).



Okay, can you show me a link to any of these?


Paint.net or gimp are good for textures: http://www.getpaint.net/ http://www.gimp.org/
Notepad++ for code: http://notepad-plus-plus.org/
 


Return to WIP Mods

Who is online

Users browsing this forum: Google [Bot] and 11 guests

cron