i am new i dont know how to modmake
- Nightfighter
- Member
- Posts: 39
- Joined: Sat Oct 06, 2012 11:01
- Location: in a alien world
i am new i dont know how to modmake
i dont know how to mod make can some everything about modmaking plz???!!!
someone help i really am a new and i spoilt my bros mod because i wanted to make a mod but i did not know how so help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ps:my bro is aqua....
someone help i really am a new and i spoilt my bros mod because i wanted to make a mod but i did not know how so help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ps:my bro is aqua....
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Read this: https://github.com/celeron55/minetest/b ... ua_api.txtNightfighter wrote:i dont know how to mod make can some everything about modmaking plz???!!!
someone help i really am a new and i spoilt my bros mod because i wanted to make a mod but i did not know how so help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ps:my bro is aqua....
You can use this tutorial: http://www.tinyurl.com/mt-tut
Chapter 2 --> copy paste the next lines in the init.lua instead of the ones from given example. The example uses deprecated commands:
minetest.register_node("tutorial:decowood", {
tiles = {"tutorial_decowood.png"},
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
})
After the tutorial, to learn a bit of lua, use the code from the init.lua in the default folder/directory and later on the code from the init.lua from other mods.
To make textures use a painting program. Better start with 16 x 16 textures. Easiest is to open a texture (they are called .png) from the textures folder that's in the default folder change it and use 'save as' to save it in your mod's texture's folder.
To be safe, make a copy of minetest to a folder named something like "celeron55-minetest-9696ed3-nightfighters mods". Don't forget to check (put on) the hidden files view, you'll need those. That way you can test whatever you like, without disturbing your brother.
Have fun!
Chapter 2 --> copy paste the next lines in the init.lua instead of the ones from given example. The example uses deprecated commands:
minetest.register_node("tutorial:decowood", {
tiles = {"tutorial_decowood.png"},
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
})
After the tutorial, to learn a bit of lua, use the code from the init.lua in the default folder/directory and later on the code from the init.lua from other mods.
To make textures use a painting program. Better start with 16 x 16 textures. Easiest is to open a texture (they are called .png) from the textures folder that's in the default folder change it and use 'save as' to save it in your mod's texture's folder.
To be safe, make a copy of minetest to a folder named something like "celeron55-minetest-9696ed3-nightfighters mods". Don't forget to check (put on) the hidden files view, you'll need those. That way you can test whatever you like, without disturbing your brother.
Have fun!
- Nightfighter
- Member
- Posts: 39
- Joined: Sat Oct 06, 2012 11:01
- Location: in a alien world
Nightfighter if you are still having trouble modding you can have a look at my Decoplants mod: http://minetest.net/forum/viewtopic.php?id=3151. You can browse the code to get the basic idea of a mod.
- Nightfighter
- Member
- Posts: 39
- Joined: Sat Oct 06, 2012 11:01
- Location: in a alien world
I think you can use any text editor or word processor to write mods.Nightfighter wrote:i cant get notepad ++ it doesnt work and thats the only one i know that can modmake. any other ideas ??????
Most direct: get a mod and doubleclick on the init.lua. You can now change the content.
Edit: Typo
Last edited by Topywo on Tue Nov 06, 2012 09:23, edited 1 time in total.
- Nightfighter
- Member
- Posts: 39
- Joined: Sat Oct 06, 2012 11:01
- Location: in a alien world
- Nightfighter
- Member
- Posts: 39
- Joined: Sat Oct 06, 2012 11:01
- Location: in a alien world
- InfinityProject
- Member
- Posts: 1009
- Joined: Sat Mar 17, 2012 00:52
- Location: World of Infinity, US
For crafting you do this:
The output is what the recipe will give you. Put a number after it to make it give you more than 1 of the item.
Inside the recipe there are 9 sets of quotation marks set up like the crafting grid inside the game. Put the ingredients you need to make the item in here.
For instance, the recipe for a mese pick:
Code: Select all
minetest.register_craft({
output = 'example:example',
recipe = {
{'', '', ''},
{'', '', ''},
{'', '', ''},
}
})
Inside the recipe there are 9 sets of quotation marks set up like the crafting grid inside the game. Put the ingredients you need to make the item in here.
For instance, the recipe for a mese pick:
Code: Select all
minetest.register_craft({
output = 'default:pick_mese',
recipe = {
{'default:mese', 'default:mese', 'default:mese'},
{'', 'default:stick', ''},
{'', 'default:stick', ''},
}
})
Who is online
Users browsing this forum: No registered users and 76 guests