stujones11 / shooter

First Person Shooter Mod for Minetest
Other
30 stars 18 forks source link

grenade tries to set unknown nodes l think #10

Closed HybridDog closed 8 years ago

HybridDog commented 9 years ago

l get the content ignore replace message, l think the grenade tries to set nodes which don't exist when exploding.

stujones11 commented 9 years ago

If is true for the grenade then it should also be true with the rocket since they both call the same explosion routine, which itself, was pretty much copied from the Nuke mod (credits were given) so you would expect to get the same errors with that. I will keep an eye on it but but so far I've been unable to reproduce,

HybridDog commented 9 years ago

it should also be true with the rocket

it is: screenshot_20150618_171452

l guess it's because my tnt mod doesn't have the "tnt:boom" node.

stujones11 commented 9 years ago

l guess it's because my tnt mod doesn't have the "tnt:boom" node.

I was not aware there were different tnt mods :/ I guess the simplest solution would be to provide my own 'boom' effect but then I may as well add my own gunpowder and become free from the tnt dependency altogether.

I will give it some thought.

HybridDog commented 9 years ago

The tnt mod l use, l forked it from PilzAdam, doesn't use a boom node, but a particle. https://github.com/HybridDog/TNT/blob/master/tnt/init.lua#L90

and it uses the default tnt texture: https://github.com/minetest/minetest_game/blob/master/mods/default/textures/default_tnt_side.png