Lightning strikes happen randomly above ground, set blocks on fire, and possibly change sand into glass, tree trunks into coal, and more! The mod contains several textures and sounds. When lightning strikes, the entire sky is lit up brightly!
I really like this mod, very interesting use of the particles. I can imagine HV tesla coils, plasma balls and the like being possible too. It's a real shame the particles cannot emit light, but I doubt that will ever be possible with the current lighting model.
duane wrote:Is there a "/strike <username>" command in work?
+1 It should require a 'god' or 'thor' privilege ;-)
stu wrote:I really like this mod, very interesting use of the particles. I can imagine HV tesla coils, plasma balls and the like being possible too. It's a real shame the particles cannot emit light, but I doubt that will ever be possible with the current lighting model.
duane wrote:Is there a "/strike <username>" command in work?
+1 It should require a 'god' or 'thor' privilege ;-)
tenplus1 posted an issue/feature request for this a while back.
I've just pushed a change that will "light up the sky" briefly. Try it out.
- reduce chance of actual spreading fire by 10. (now 1:1000)
- reduce chance of nodes getting modified (1:10)
- adds a "dying flame" node that does not ignite other nodes
- lightning by default places the "dying flame"
- "dying flame" node destroys itself within a short period
This makes the mod a bit safer, I was noticing a lot of modified nodes in the landscape on my personal server, a bit too much for my liking. Happy striking!
2016-03-14 12:36:41: ERROR[Main]: ServerError: Runtime error from mod 'lightning' in callback environment_Step(): Runtime error from mod 'lightning' in callback node_on_construct(): ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:41: Invalid core.after invocation
2016-03-14 12:36:41: ERROR[Main]: stack traceback:
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'assert'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:41: in function 'after'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:203: in function <....1.0-win64\bin\..\games\default\files\lightning\init.lua:201>
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'set_node'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:153: in function 'func'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:34: in function <...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:11>
2016-03-14 12:36:41: ERROR[Main]: ...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:369: in function <...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:349>
2016-03-14 12:36:41: ERROR[Main]: stack traceback:
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'set_node'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:153: in function 'func'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:34: in function <...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:11>
2016-03-14 12:36:41: ERROR[Main]: ...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:369: in function <...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:349>
2016-03-14 12:36:41: ERROR[Main]: ServerError: Runtime error from mod 'lightning' in callback environment_Step(): Runtime error from mod 'lightning' in callback node_on_construct(): ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:41: Invalid core.after invocation
2016-03-14 12:36:41: ERROR[Main]: stack traceback:
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'assert'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:41: in function 'after'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:203: in function <....1.0-win64\bin\..\games\default\files\lightning\init.lua:201>
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'set_node'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:153: in function 'func'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:34: in function <...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:11>
2016-03-14 12:36:41: ERROR[Main]: ...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:369: in function <...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:349>
2016-03-14 12:36:41: ERROR[Main]: stack traceback:
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'set_node'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:153: in function 'func'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:34: in function <...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:11>
2016-03-14 12:36:41: ERROR[Main]: ...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:369: in function <...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:349>
2016-03-14 12:36:41: ERROR[Main]: ServerError: Runtime error from mod 'lightning' in callback environment_Step(): Runtime error from mod 'lightning' in callback node_on_construct(): ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:41: Invalid core.after invocation
2016-03-14 12:36:41: ERROR[Main]: stack traceback:
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'assert'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:41: in function 'after'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:203: in function <....1.0-win64\bin\..\games\default\files\lightning\init.lua:201>
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'set_node'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:153: in function 'func'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:34: in function <...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:11>
2016-03-14 12:36:41: ERROR[Main]: ...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:369: in function <...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:349>
2016-03-14 12:36:41: ERROR[Main]: stack traceback:
2016-03-14 12:36:41: ERROR[Main]: [C]: in function 'set_node'
2016-03-14 12:36:41: ERROR[Main]: ....1.0-win64\bin\..\games\default\files\lightning\init.lua:153: in function 'func'
2016-03-14 12:36:41: ERROR[Main]: ...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:34: in function <...ktop\MultiCraft-1.1.0-win64\bin\..\builtin\game\misc.lua:11>
2016-03-14 12:36:41: ERROR[Main]: ...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:369: in function <...\MultiCraft-1.1.0-win64\bin\..\builtin\game\register.lua:349>
I did not see the code and did not think that there are any problems. I've never even looked what is the difference between minetest_game fire and tenplus1 version. :)
Martin_Devil wrote:I did not see the code and did not think that there are any problems. I've never even looked what is the difference between minetest_game fire and tenplus1 version. :)
tenplus1' version removes the fire-sound API - the reason for the crash. What tenplus1 should do is make the API calls available but not do anything, so it's API compatible.
TenPlus1 wrote:Latest version of Fire Redo is based on the new default fire mod with redo changes applied and api compatibility: https://github.com/tenplus1/fire
FYI I didn't mention this explicitly, but any player that's nearby the place where the lightning strikes will take a significant amount of damage. Not enough to kill a player at full health, but it will kill a player that's low on health.