Torch 3D =,D

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Very Goood =)

I'm waiting for the Update of 3D Torches !!!!

User avatar
Chinchow
Member
Posts: 684
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Post

How did you make the torch what program?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

That's nodeboxes :) You may use any text editor to define those.

User avatar
Chinchow
Member
Posts: 684
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Post

I have no experience with node boxes could you explain how you change their look?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests

4aiman
Member
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Post

nodeboxes are made like so:

Code: Select all

             node_box = {
                type = "fixed",
                fixed = {0.05,-0.45,0.45, 0.05,-0.35,0.5}
Values are (respectively): x_start, y_start, z_start, x_end, y_end, z_end.
So you can create a "cube" with the size you want.
But nodeboxes can be "stacked" like this:

Code: Select all

fixed = { 
                       {0.05, -0.45, 0.45,  0.05,  -0.35,  0.5},
                       {0.1,  -0.35,  0.1,  0.05,      0,  0.5},
}
So you can create almost any type of form.
For more info look at non-cubic items mod ;)
Last edited by 4aiman on Mon Jan 21, 2013 11:30, edited 1 time in total.

User avatar
Chinchow
Member
Posts: 684
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Post

All right thanks for the help
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

What about Torches hanging on ceiling???

Image

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

wow amazing @ yves_de_beck
I was thinking of doing an update of me I was going to mod the mod signs baser why he put it to the side and floor http://forum.minetest.net/viewtopic.php?id=2736
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

I would help with my mod? @yves_de_beck?
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

I've the code already complete xD

Do you want try it to code yourself?

If you want i can make a Update for this mod... Because you have posted the download link to my server ;)
Last edited by yves_de_beck on Wed Jan 23, 2013 09:30, edited 1 time in total.

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

yes, yes thank you if you do this ;D
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

oki doki... =)

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

4aiman wrote:Sorry for making you wait...
Here, add this to the very bottom of nodes.lua

Code: Select all

minetest.register_on_placenode(function (pos, newnode, placer, oldnode, itemstack)

-- minetest.chat_send_all(oldnode.name .. " was replaced with " .. newnode.name .. " at " .. minetest.serialize(pos))
pos.y = pos.y-1
local nodeunder = minetest.env:get_node(pos)
local name = nodeunder.name
-- minetest.chat_send_all("A node under that is at " .. minetest.serialize(pos) .. " and that is " .. name)
if name ~= "air" and newnode.name == "default:torch" then
   pos.y = pos.y+1
   minetest.env:remove_node(pos)
   minetest.env:place_node(pos, {name="torches:torch_bottom"})
   return
end
end
)
This piece of code replaces default:torch with torches:torch_bottom if a node under it isn't air.

Hereby I request an update! ;)
I've added it ;)

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Sooo:

Here are the new Downloadlinks:

http://www.stedefreun.de/download/torches.7z
http://www.stedefreun.de/download/torches.zip

The recipe picture, I have updated!

Perhaps you can post a Topic move request here: http://forum.minetest.net/viewtopic.php?id=2828

Then your mod is released, and everyone can find this mod faster ;)

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

I do not know if it was you who changed my whole mod or a bug but I do not need to craft torches and so do the standard torch ready and if I put on the floor she gets Imageif I stick in the ceiling automatically gets Image if I stick it on the wall is usually in Perere xD
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

Okay, I think i understand what you mean.

The default Torch is your first made torch, this which is hanging on wall.
If you place this on the wall, its naturaly hanging on wall.
Placing this down ceiling it changes to the lantern.
If you put the torch on ground it changes to the torch stick and placing there. okay.

When you dig one of these torches you get ever the default torch -> the torch design hanging on wall.

So far so good.
But it could be that someone would place the lantern on the ground.
That works only if you craft explicit the lantern and place it where you want (in exemple on ground). for this are the recipe to transform the default torch in the other chapes.

OKay? =)
Last edited by yves_de_beck on Wed Jan 23, 2013 12:28, edited 1 time in total.

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

hm ... ok so I found interesting about that comment xD
you and very good with codes thanks for everything; D
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

babe223 wrote:hm ... ok so I found interesting about that comment xD
you and very good with codes thanks for everything; D

No Problem. =)

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

@yves_de_beck Please update the pictures I know I could even atuliazar more I think it's cool to do direct download without even serves as a sort of download or something, another reason for me to update the textures and why I do not like minecraft mias season today days I comproeendo minetest descide then change the texture of the wood minecraft for minetest
Image
Image
Image
Image
Image
Image
Image
Image
Image
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
yves_de_beck
Member
Posts: 65
Joined: Wed Jan 02, 2013 10:45
Location: Germany Herford

by yves_de_beck » Post

babe223 wrote:@yves_de_beck Please update the pictures I know I could even atuliazar more I think it's cool to do direct download without even serves as a sort of download or something, another reason for me to update the textures and why I do not like minecraft mias season today days I comproeendo minetest descide then change the texture of the wood minecraft for minetest
pics...
Hey babe223,

MOD Updated =)

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

thanks =)
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

I managed to put my mod in-game 3D torches default, ie he left to become a mod der default
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

I like the models for these torches. They work well as default replacements. The current torches strike me as being ugly, so I don't enjoy using them all that much.

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

@Inocudom thanck you :D I also do not really like the default torch xD
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

babe223 wrote: Image
There are a couple of fixes you might want to do. The hanging lanterns will need some work with how they are textured (in your image above, the undersides of the flames in the lanterns should have the flame texture instead of the wood texture.) Also, when default torches are placed and the torches of this mod are installed, the node replacement that results causes some torches to be oriented a different way (this is most common with torches that are on walls.)

This mod could be added to ShadowNinja's server soon (the server is found in the cURL list in the main menu of Minetest.) Me and Sokomine are looking forward to seeing it there.
Last edited by Inocudom on Mon Apr 22, 2013 15:22, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests