i am new i dont know how to modmake

User avatar
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

by Nightfighter » Sat Oct 06, 2012 12:16

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....
my mods: Concrete Invisiblocks
more coming out soon
mods are cool!!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Oct 06, 2012 12:21

Nightfighter 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....

Read this: https://github.com/celeron55/minetest/blob/master/doc/lua_api.txt
 

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

by Topywo » Sat Oct 06, 2012 13:28

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!
 

User avatar
Nightfighter
Member
 
Posts: 39
Joined: Sat Oct 06, 2012 11:01
Location: in a alien world

by Nightfighter » Sat Oct 06, 2012 13:44

Thx i will look at it
my mods: Concrete Invisiblocks
more coming out soon
mods are cool!!
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Sun Oct 07, 2012 04:02

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.
 

User avatar
Nightfighter
Member
 
Posts: 39
Joined: Sat Oct 06, 2012 11:01
Location: in a alien world

by Nightfighter » Tue Nov 06, 2012 06:29

i cant get notepad ++ it doesnt work and thats the only one i know that can modmake. any other ideas ??????
my mods: Concrete Invisiblocks
more coming out soon
mods are cool!!
 

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

by Topywo » Tue Nov 06, 2012 09:22

Nightfighter wrote:i cant get notepad ++ it doesnt work and thats the only one i know that can modmake. any other ideas ??????


I think you can use any text editor or word processor to write mods.

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.
 

User avatar
Nightfighter
Member
 
Posts: 39
Joined: Sat Oct 06, 2012 11:01
Location: in a alien world

by Nightfighter » Thu Nov 15, 2012 05:47

thx
but now ther is something else its the textures i cant put what i draw to put it inwhat mod i want to make help me!
my mods: Concrete Invisiblocks
more coming out soon
mods are cool!!
 

Nubelite
Member
 
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Thu Nov 15, 2012 19:23

It would be more helpful if you put the file in a zip folder and put it online. that way those trying to help can take a look at exactly what is going on to better help you out. git-hub works well, they can take a look at the code and file setup without downloading anything.
 

User avatar
Nightfighter
Member
 
Posts: 39
Joined: Sat Oct 06, 2012 11:01
Location: in a alien world

by Nightfighter » Sat Nov 24, 2012 00:29

ohh new question and thx
anyway how do you make the init crafting it does not on mine
my mods: Concrete Invisiblocks
more coming out soon
mods are cool!!
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Sat Nov 24, 2012 00:36

For crafting you do this:
Code: Select all
minetest.register_craft({
    output = 'example:example',
    recipe = {
        {'', '', ''},
        {'', '', ''},
        {'', '', ''},
    }
})


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 = 'default:pick_mese',
    recipe = {
        {'default:mese', 'default:mese', 'default:mese'},
        {'', 'default:stick', ''},
        {'', 'default:stick', ''},
    }
})
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19
Location: Estonia

by Ragnar » Sat Nov 24, 2012 10:16

hey InfinityProject!
i know a littlebit of C++, so maybe we could make a helping program :D
you tell me the codes, and i'll make the program :D
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 25 guests

cron