it's 1 argument, 1/9/9/9 = 0.0013717421124829
it's most likely as you said, how common it is. the bigger the number, the more common?
set it to 1 and see what happens on new mapgen areas
You are not logged in. Please login or register.
Minetest Forums → Modding General → Moddinghelper! for the inexperienced modder to make a mod. → Post new reply
All fields with bold label must be completed before the form is submitted.
it's 1 argument, 1/9/9/9 = 0.0013717421124829
it's most likely as you said, how common it is. the bigger the number, the more common?
set it to 1 and see what happens on new mapgen areas
wat does the 1/9/9/9 mean i found out the smaller the number (9) makes it more common i think
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:
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.
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.
help how do i paste screenshots on to post
So how do I change how rare it is?
I like it Aqua! Yea the mistakes are all fixed if you follow what Topywo said. Very nice idea and mod!
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! :-)
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
this is a very umm... dumb question but how do i code it to change the rarity of the ores...
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
This may help you: http://minetest.net/forum/viewtopic.php?id=2130
If it works I might make a morewood mod:)
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 :)
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.
Minetest Forums → Modding General → Moddinghelper! for the inexperienced modder to make a mod. → Post new reply
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.
Generated in 0.031 seconds (90% PHP - 10% DB) with 8 queries