Moddinghelper! for the inexperienced modder to make a mod.

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

Moddinghelper! for the inexperienced modder to make a mod.

by InfinityProject » Wed Jun 13, 2012 01:46

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

How 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.
Last edited by InfinityProject on Wed Jun 13, 2012 16:20, edited 1 time in total.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Wed Jun 13, 2012 07:39

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.
 

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

by Topywo » Wed Jun 13, 2012 10:27

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 :-)
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Wed Jun 13, 2012 16:20

Filedropper was failing so I updated the download link.
 

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

by SegFault22 » Sun Jun 17, 2012 03:45

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.
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Mon Jun 18, 2012 04:06

That's another really good way to do it. Photoshop also works, mspaint works except it doesn't handle transparency.
 

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

by Jordach » Mon Jun 18, 2012 06:54

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.

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



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

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Mon Jun 18, 2012 14:38

I have Win7 and it doesn't. Maybe yours is newer?
 

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

by Jordach » Mon Jun 18, 2012 15:42

Probably, but then again I do hack often enough.

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



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

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Mon Jun 18, 2012 16:53

Hacking is always fun ;)
 

Rickmor
Member
 
Posts: 26
Joined: Tue Jun 19, 2012 16:10

by Rickmor » Wed Jun 20, 2012 08:13

put me in the hunger games
use the minecraft texture pack it looks awesome and use the latest minetest the one with stairs
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Aug 22, 2012 17:51

I have put a link to this in Jeija's Minetest Modding Tutorial

http://tinyurl.com/mt-tut
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Aug 22, 2012 17:54

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.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Aug 22, 2012 17:55

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
 

TheLoLMan
Member
 
Posts: 190
Joined: Sat Jun 16, 2012 13:43

by TheLoLMan » Wed Aug 22, 2012 20:14

GOOD
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Sat Sep 15, 2012 13:36

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
Hi there ^.~
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sat Sep 15, 2012 18:21

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.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Sun Sep 16, 2012 07:40

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 :)
Hi there ^.~
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Sun Sep 16, 2012 09:03

If it works I might make a morewood mod:)
Hi there ^.~
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Sun Sep 16, 2012 15:16

 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sun Sep 16, 2012 17:45

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.php
CC-BY-SA - http://creativecommons.org/licenses/by-sa/3.0/
LGPL - http://www.gnu.org/licenses/lgpl.html
GPL - http://www.gnu.org/copyleft/gpl.html
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Mon Sep 17, 2012 05:58

this is a very umm... dumb question but how do i code it to change the rarity of the ores...
Hi there ^.~
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Mon Sep 17, 2012 08:28

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/vZml0bQ
plz help tell me my problem
Hi there ^.~
 

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

by Topywo » Mon Sep 17, 2012 11:12

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! :-)
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Tue Sep 18, 2012 01:01

I like it Aqua! Yea the mistakes are all fixed if you follow what Topywo said. Very nice idea and mod!
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Tue Sep 18, 2012 05:32

So how do I change how rare it is?
Hi there ^.~
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Tue Sep 18, 2012 06:43

help how do i paste screenshots on to post
Hi there ^.~
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Tue Sep 18, 2012 09:12

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.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Wed Sep 19, 2012 00:16

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.
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Wed Sep 19, 2012 05:52

wat does the 1/9/9/9 mean i found out the smaller the number (9) makes it more common i think
Hi there ^.~
 

Next

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 6 guests

cron