[Mod] TNT [tnt]
Ah yes, I had an outdated version.
WorldEdit 1.0 released
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
- BorisGrishenko
- Member
- Posts: 206
- Joined: Sun Jan 20, 2013 06:11
- Location: Battlehorn Castle, Cyrodiil
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Oh, yea, I know how that happens. But the only fixes for it I can imagine are either hacky or would make it horrible slow.pandaro wrote:Hello Adam, I would like to know if you're aware of the fact that by blowing up a door with TNT, minetest destroys the door but it does appear 2 door objects.
Do you know how to fix this little problem? thanks
So I guess I leave it as it is. It isnt that much of a problem.
Sorry if I insist but I would try to correct the problem by working on my mod. if I understand correctly how it works TNT:
Function "destroy" removes all blocks that are not air, and replaces them with the object in the definition of the node under the "drop" field. So if I leave the field "drop" blank , should not appear anything.
I understand correctly TNT?
Function "destroy" removes all blocks that are not air, and replaces them with the object in the definition of the node under the "drop" field. So if I leave the field "drop" blank , should not appear anything.
I understand correctly TNT?
sorry for bad english
Linux debian 7 wheezy 64
kde
Linux debian 7 wheezy 64
kde
pandaro wrote:Sorry if I insist but I would try to correct the problem by working on my mod. if I understand correctly how it works TNT:
Function "destroy" removes all blocks that are not air, and replaces them with the object in the definition of the node under the "drop" field. So if I leave the field "drop" blank , should not appear anything.
I understand correctly TNT?
Thats right. After reading your post I changed my Doors mod now and it seems to work.
PS: The destroy function also sets flamable nodes on fire.
as you can see I tried but there are always two doors when I blow with TNTThats right. After reading your post I changed my Doors mod now and it seems to work.
Code: Select all
doors:register_door("closed_by_key:door_mese", {
description = "Mese Door",
drop = "",
inventory_image = "door_mese.png",
stack_max = 1,
groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2,door=1},
tiles_bottom = {"door_mese_b.png", "door_mese_side.png"},
tiles_top = {"door_mese_a.png", "door_mese_side.png"},
only_placer_can_open = true,
can_destruct=false,
})
who knows what is wrong?
sorry for bad english
Linux debian 7 wheezy 64
kde
Linux debian 7 wheezy 64
kde
You have to change the "after_dig_node()" function too.pandaro wrote:as you can see I tried but there are always two doors when I blow with TNTThats right. After reading your post I changed my Doors mod now and it seems to work.
thanks blockmen,Code: Select all
doors:register_door("closed_by_key:door_mese", { description = "Mese Door", drop = "", inventory_image = "door_mese.png", stack_max = 1, groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2,door=1}, tiles_bottom = {"door_mese_b.png", "door_mese_side.png"}, tiles_top = {"door_mese_a.png", "door_mese_side.png"}, only_placer_can_open = true, can_destruct=false, })
who knows what is wrong?
-> https://github.com/BlockMen/doors/blob/ ... t.lua#L113
- webdesigner97
- Member
- Posts: 1328
- Joined: Mon Jul 30, 2012 19:16
- GitHub: webD97
- IRC: webdesigner97
- In-game: webdesigner97
- Location: Cologne, Germany
- Contact:
This sounds great! I'll try it out!PilzAdam wrote:Update
- New damage system is used
- Particles are used for the smoke (wich is a lot faster)
- 1/3 of destroyed nodes are lost now to reduce the amount of objects flying arround
Visit me: webD97.de | @GitHub | @DeviantArt
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
Mods: StreetsMod | Vehicles
Featured from my blog: Dockerize the Minetest server
On my own behalf: Chameleon - A PHP image manipulation library built around GD
- Doyouseemysword?123
- Member
- Posts: 23
- Joined: Sat May 11, 2013 19:37
- Location: Evansville, In
http://forum.minetest.net/viewtopic.php?pid=65717 Is the mod copatable with this if not can you give me a list of mods that compatable plz?
- Doyouseemysword?123
- Member
- Posts: 23
- Joined: Sat May 11, 2013 19:37
- Location: Evansville, In
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Mods are generally upwards compatible. If you are not sure, just try it.Doyouseemysword?123 wrote:http://forum.minetest.net/viewtopic.php?pid=65717 Is the mod copatable with this if not can you give me a list of mods that compatable plz?
I think this mod is compatible with 0.4.6 and later, although Im not sure.
Btw: You can edit your post to correct typos.
- Doyouseemysword?123
- Member
- Posts: 23
- Joined: Sat May 11, 2013 19:37
- Location: Evansville, In
Does it mean we'll have to convert all our mods to the new api ?Jordach wrote:"Modding API has been deprecated in favour of a new one."
/me hides...
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
-
- Member
- Posts: 31
- Joined: Wed May 01, 2013 07:55
Who is online
Users browsing this forum: No registered users and 4 guests