Page 1 of 2
Moddinghelper! for the inexperienced modder to make a mod.

Posted:
Wed Jun 13, 2012 01:46
by InfinityProject
All right so I developed a tutorial for making a mod. This package includes notepad++, gimp, and a mod folder with an init.lua, depends.text, and a textures folder.
Download:
https://dl.dropbox.com/u/82668184/Moddinghelper.zipHow to read init.lua: Once you have downloaded notepad++, click the init.lua inside your mod folder. If it says "can't read this" then select "pick a program to open this file". Select notepad++, and it should open!
How to use gimp for textures: Choose a texture from the default to start out with file, open. Next click view, zoom in, then make larger. I use 1600%. Next go to the toolbox, click the pencil, and change your colors with the black and white squares below. Now for the size, go to brush. You should see a circle in the box. Click it, and change it to the smallest circle. Use the eraser tool for transparency.

Posted:
Wed Jun 13, 2012 07:39
by Calinou
Choose a texture from the default to start out with file, open.
You can also start your own textures from scratch... try to stick to 16x16 textures whenever possible when doing this.

Posted:
Wed Jun 13, 2012 10:27
by Topywo
Thanks both of you. I got curious and used my standard graphical program (mtPaint graphic editor/first time I activated it) to take a look at the rose of the flowers mod. Learned something today. Btw. I didn't know 16x16 is that small :-)

Posted:
Wed Jun 13, 2012 16:20
by InfinityProject
Filedropper was failing so I updated the download link.

Posted:
Sun Jun 17, 2012 03:45
by SegFault22
Also, to make .PNG images, you can use the ''
RealWorld Cursor Editor'' which is used mainly to create custom cursors in some other weird useless format, but it also has a tool that you can use to make simple .PNG images with transparency and all. It even has some cool effects, if you can figure out how to use them :P
It may also be a better alternative to ''Gimp'' because it is simpler, lightweight (code isn't as long), and easier to figure out how to use, for the most part.

Posted:
Mon Jun 18, 2012 04:06
by InfinityProject
That's another really good way to do it. Photoshop also works, mspaint works except it doesn't handle transparency.

Posted:
Mon Jun 18, 2012 06:54
by Jordach
InfinityProject wrote:That's another really good way to do it. Photoshop also works, mspaint works except it doesn't handle transparency.
paint in win7 does transparency.

Posted:
Mon Jun 18, 2012 14:38
by InfinityProject
I have Win7 and it doesn't. Maybe yours is newer?

Posted:
Mon Jun 18, 2012 15:42
by Jordach
Probably, but then again I do hack often enough.

Posted:
Mon Jun 18, 2012 16:53
by InfinityProject
Hacking is always fun ;)

Posted:
Wed Jun 20, 2012 08:13
by Rickmor
put me in the hunger games
use the minecraft texture pack it looks awesome and use the latest minetest the one with stairs

Posted:
Wed Aug 22, 2012 17:51
by rubenwardy
I have put a link to this in Jeija's Minetest Modding Tutorial
http://tinyurl.com/mt-tut

Posted:
Wed Aug 22, 2012 17:54
by rubenwardy
SegFault22 wrote:Also, to make .PNG images, you can use the ''
RealWorld Cursor Editor'' which is used mainly to create custom cursors in some other weird useless format, but it also has a tool that you can use to make simple .PNG images with transparency and all. It even has some cool effects, if you can figure out how to use them :P
It may also be a better alternative to ''Gimp'' because it is simpler, lightweight (code isn't as long), and easier to figure out how to use, for the most part.
.cur and .ani are cursor files, and are used to change the cursor in windows.
It can also change the cursor on websites and in games.
I use this editor.

Posted:
Wed Aug 22, 2012 17:55
by rubenwardy
Jordach wrote:InfinityProject wrote:That's another really good way to do it. Photoshop also works, mspaint works except it doesn't handle transparency.
paint in win7 does transparency.
How?
I have not noticed it

Posted:
Wed Aug 22, 2012 20:14
by TheLoLMan
GOOD

Posted:
Sat Sep 15, 2012 13:36
by Aqua
how do i publish it once i typed up the code and did the textures im working on titanium mod has anyone done it yet? if so let me know:) P.S im new to this stuff

Posted:
Sat Sep 15, 2012 18:21
by VanessaE
Use 7zip or another archive utility to create a ZIP file of your mod - including the folder it sits in. Then upload the file to a place like ompldr. Once that's done, create a new topic in this forum section describing it. Indicate what version of the game it needs, any dependencies (if your mod requires another mod to be installed, just say so), your mod's license, screenshots, a link to download the ZIP file, and whatever else you can think of that seems relevant.

Posted:
Sun Sep 16, 2012 07:40
by Aqua
Mods license? How do I get that I don't know much about this as I said before. I might add platinum and nickel if no ones done that yet :) thx for helping me anyway :)

Posted:
Sun Sep 16, 2012 09:03
by Aqua
If it works I might make a morewood mod:)

Posted:
Sun Sep 16, 2012 15:16
by InfinityProject

Posted:
Sun Sep 16, 2012 17:45
by VanessaE
For your mod license, simply pick what you want it to be and declare it in your first post. Whatever you pick just depends on whether you like a given license in general and whether or not you're borrowing from someone else's code or images (if you are, you probably need to use whatever license they used). Most people choose one of these, but it's whatever you want it to be:
WTFPL -
http://sam.zoy.org/wtfpl/CC0 -
http://creativecommons.org/publicdomain/zero/1.0/BSD -
http://opensource.org/licenses/bsd-license.phpCC-BY-SA -
http://creativecommons.org/licenses/by-sa/3.0/LGPL -
http://www.gnu.org/licenses/lgpl.htmlGPL -
http://www.gnu.org/copyleft/gpl.html

Posted:
Mon Sep 17, 2012 05:58
by Aqua
this is a very umm... dumb question but how do i code it to change the rarity of the ores...

Posted:
Mon Sep 17, 2012 08:28
by Aqua
i finished my code and textures but when i extract it it says failed to load can someone plz check where i went wrong
license: wtfpl
http://ompldr.org/vZml0bQplz help tell me my problem

Posted:
Mon Sep 17, 2012 11:12
by Topywo
1. Change the name of the Titanium folder that appears in the minetest folder from Titanium to titanium. So from a capital T to a minor t.
2. Jump in the init.lua to line 62, minetest.register_tool("titanium:shovel",{ etc...
put a }) at the end of the block.
3.a. Change in the textures folder the name of titanium_in_ground.png into titanium_titanium_in_ground.png (it needs the folder name)
3.b. Make the following adjustements in line 11 tile_images = { "default_stone.png^titanium_in_ground" }, -->
tile_images = { "default_stone.png^titanium_titanium_in_ground.png" }, (it needs the folder name and it needs .png at the end.
I didn't test it, just got it starting. Great you are making mods! :-)

Posted:
Tue Sep 18, 2012 01:01
by InfinityProject
I like it Aqua! Yea the mistakes are all fixed if you follow what Topywo said. Very nice idea and mod!

Posted:
Tue Sep 18, 2012 05:32
by Aqua
So how do I change how rare it is?

Posted:
Tue Sep 18, 2012 06:43
by Aqua
help how do i paste screenshots on to post

Posted:
Tue Sep 18, 2012 09:12
by VanessaE
Upload your screenshot to someplace like flickr, omploader, or whatever you prefer. Then note the address the upload site tells you to use to reference your image, compose the post you want the screenshot to be used on here, and put [img]link-to-your-image.png[/img] where you want the image to appear.

Posted:
Wed Sep 19, 2012 00:16
by InfinityProject
Aqua wrote:So how do I change how rare it is?
If you look at the function for generating ores you see in the very bottom this line of code:
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
generate_ore("titanium:titanium_in_ground", "default:stone", minp, maxp, seed+21, 1/9/9/9, 3, -31000, -400)
The 3 means when you find titanium you find 3 of them, the -31000, is the depth limit of where you can find it, and the -400 is the height limit. So with your code you can find a group of three titanium in between -31000 and -400 height.

Posted:
Wed Sep 19, 2012 05:52
by Aqua
wat does the 1/9/9/9 mean i found out the smaller the number (9) makes it more common i think