Search found 14 matches

Return to advanced search

Re: Post your modding questions here

I'm doing some tests with node data, and writing down my findings, but I came across an error. Here is my tools.lua script in my sketchy mod: minetest.register_tool("sketchy:meta_rod", { description = "Meta Rod", inventory_image = "sketchy_meta.png", on_use = function(i...
by PlanetKiller
Mon Oct 17, 2016 16:44
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your modding questions here

Thanks for all the advice there Will it drop as "fried bug" item if it touches a torch? :D And now I need to figure that out somehow. So far the only joke thing in it is that you get a captured stick "bug" by using the recipe of Jar and Stick I'd check node at position for the t...
by PlanetKiller
Tue Oct 11, 2016 22:21
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your modding questions here

1. check a specific pixel on the player texture to determine character type (using alpha channel) There's no way to read image data in the engine. An alternative is to associate data with each texture (I won't go over how to load and/or define that data) separately of the texture file itself. Excep...
by PlanetKiller
Mon Oct 10, 2016 19:51
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your screenshots!

Image

Just modding around a bit.
by PlanetKiller
Mon Oct 10, 2016 15:24
 
Forum: General Discussion
Topic: Post your screenshots!
Replies: 9140
Views: 1064773

Re: Post your modding questions here

I'm going to be making a quadruped player and these are a few things I'd like to add. 1. check a specific pixel on the player texture to determine character type (using alpha channel) 2. give character multi-jumps and low grav based upon type 3. swap player model when jumping, or based upon gender 4...
by PlanetKiller
Fri Oct 07, 2016 17:40
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your modding questions here

Is there a way to make an item that drops itself when broken by hand, but drops a different item when broken with the proper tool? use get_wielded_item() if it = a specific item, drop one item else, drop another. Not sure how it would exactly work, but that's the best I can find with my skill. Tryi...
by PlanetKiller
Tue Oct 04, 2016 23:00
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your modding questions here

Since I got help here with my air rosin, I thought I'd post the finished code for everyone; as a thanks. --matblox tools -- should clear out nodes without crashing -- no guarantee -- use as you see fit. minetest.register_tool("matblox:air_rod", { description = "Air Rosin", invent...
by PlanetKiller
Tue Oct 04, 2016 18:10
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your modding questions here

Because I wrote a tree generating procedure that uses loops for creating a tree and modified a couple lines I copied from it. I'm playing around with modding trees and adding trees using the default nodes and active block modifiers. Thinking about starting with NPCs, but path-finding has always been...
by PlanetKiller
Thu Sep 29, 2016 18:26
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your modding questions here

How exactly would I have minetest.get_node work to ensure a node needs space to spread, or only does a certain action if a certain node is above it? I tried looking into it when looking at the tutorial guide for modding but it doesn't seem to explain anything beyond, "Just use minetest.get_nod...
by PlanetKiller
Thu Sep 29, 2016 15:08
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Mod Experiments

Looks interesting, I'm going to see if it is something I can use, thanks.
by PlanetKiller
Tue Sep 27, 2016 19:43
 
Forum: Modding Discussion
Topic: Mod Experiments
Replies: 7
Views: 658

Re: [Modpack] Creatures MOB-Engine [2.3.1] [cme]

Thanks, I'll be looking over this and might use it in a game. Might even try adding some of my own mobs to it.
by PlanetKiller
Mon Sep 26, 2016 19:15
 
Forum: Mod Releases
Topic: [Modpack] Creatures MOB-Engine [2.3.1] [cme]
Replies: 284
Views: 162947

Re: Post your modding questions here

Thanks, but 2016-09-26 10:50:22: ERROR[Main]: ServerError: Lua: Runtime error from mod 'matblox' in callback item_OnUse(): C++ exception it didn't solve the problem. It seems that on_use is not getting the node, and I can't seem to get the node from the position. Tried printing their names, but no l...
by PlanetKiller
Mon Sep 26, 2016 15:51
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: Post your modding questions here

Trying to make a tool that turns nodes into air. minetest.register_tool("matblox:air_rod", { description = "Air Rosin", inventory_image = "matblox_air_rod.png", on_use = function(pos, node, clicker) --local x = 0 --local y = 0 --local z = 0 local final = 10 local target...
by PlanetKiller
Mon Sep 26, 2016 15:13
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 4208
Views: 327447

Re: [Mod] Farming Plus [farming_plus]

If you are still trying to figure out how to get/make seeds for the plants; might I suggest crafting them? Plant/produce + dirt or stick to get seeds. Sticks would be better since they are renewable.
by PlanetKiller
Mon Sep 19, 2016 23:27
 
Forum: Mod Releases
Topic: [Mod] Farming Plus [farming_plus]
Replies: 336
Views: 208711

Return to advanced search