[Mod] Fast, powerful explosives [git] [nuke]

User avatar
ShadowNinja
Member
 
Posts: 194
Joined: Tue Jan 22, 2013 22:35
GitHub: ShadowNinja
IRC: ShadowNinja
In-game: ShadowNinja

[Mod] Fast, powerful explosives [git] [nuke]

by ShadowNinja » Sat Jul 12, 2014 18:10

This mod adds some powerful explosives, including iron and mese TNT and a missile.
It is highly optimized and uses the LuaVoxelManipulator.
It also has some effects, including randomness and particles, and is easily configurable.
The mese nuke has a range of 24 by default, and takes approximately 0.7 seconds to detonate with a full area. However I've managed to make an explosion with a radius of 128 (256x256x256) in about a minute (see screenshots below).
It stores configuration in nuke.conf in the world directory (see README.md) and is usable on servers, due to it's optional privilege requirements.
Note that the missile is currently very unpolished, due to limitations of the core.
Note that the explosives also don't drop items, for speed.

+ Screenshots


Code license: LGPLv3+ by ShadowNinja
Texture licences: CC-BY-SA 4.0 by ShadowNinja, and CC-BY-SA 3.0 by sfan5
Missile model and texture license: WTFPL by Jordach
Sound license: Unknown
GitHub: https://github.com/ShadowNinja/nuke
Download: https://github.com/ShadowNinja/nuke/archive/master.zip
Last edited by ShadowNinja on Sun Jul 13, 2014 00:30, edited 1 time in total.
Reason: Missle -> Missile
I play on my Minetest server and VanessaE's.
The best way to contact me is usually IRC (InchraNet, freenode).
 

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

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Inocudom » Sat Jul 12, 2014 18:13

...But do they honor protection mods?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Krock » Sat Jul 12, 2014 19:25

Finally a realistic nuke mod! All others made too little holes and called minetest.remove_node too much


Inocudom wrote:...But do they honor protection mods?

How much nodes would be needed to check?
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
ShadowNinja
Member
 
Posts: 194
Joined: Tue Jan 22, 2013 22:35
GitHub: ShadowNinja
IRC: ShadowNinja
In-game: ShadowNinja

Re: [Mod] Fast, powerful explosives [git] [nuke]

by ShadowNinja » Sat Jul 12, 2014 19:40

This doesn't honor protection yet. If it did it would have to use the API of supported protection mods directly, since is_protected doesn't support checking areas because some mods can't check areas for protection efficiently (mods that store the protection in nodes or their meta for example), and iterating over every position and checking it isn't doable at a reasonable speed.
I'll add protection support for my areas mod.
EDIT: This will also be a bit buggy since the modified area is a sphere, not a cube.
I play on my Minetest server and VanessaE's.
The best way to contact me is usually IRC (InchraNet, freenode).
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad

Re: [Mod] Fast, powerful explosives [git] [nuke]

by ExeterDad » Sat Jul 12, 2014 20:41

Those are some beeeeeeeeg freak'n craters. May as well code a meteor impact effect to go along with it!
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

User avatar
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Napiophelios » Sat Jul 12, 2014 21:01

wow it works great but do I have to create my own nuke.conf file?
I cant find one in my worlds folder

Image
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Evergreen » Sat Jul 12, 2014 21:27

I tested the missles, and they work well. One problem is that the chunks have to be loaded where the missle is going, causing it to stop if you aren't nearby. Idk if there is a way of doing that with entities though.
 

User avatar
ShadowNinja
Member
 
Posts: 194
Joined: Tue Jan 22, 2013 22:35
GitHub: ShadowNinja
IRC: ShadowNinja
In-game: ShadowNinja

Re: [Mod] Fast, powerful explosives [git] [nuke]

by ShadowNinja » Sun Jul 13, 2014 00:07

Protection support added: 67760f82
I also added sounds, entity physics, effects, and other things to the missile that I missed before.
Evergreen wrote:Missiles get unloaded too easily.

When I first created missiles the force-loading API wasn't available, and a VM hack (like WorldEdit uses) didn't work. I'll try to add support for that.
I play on my Minetest server and VanessaE's.
The best way to contact me is usually IRC (InchraNet, freenode).
 

User avatar
ShadowNinja
Member
 
Posts: 194
Joined: Tue Jan 22, 2013 22:35
GitHub: ShadowNinja
IRC: ShadowNinja
In-game: ShadowNinja

Re: [Mod] Fast, powerful explosives [git] [nuke]

by ShadowNinja » Sun Jul 13, 2014 00:29

Napiophelios wrote:Do I have to create my own nuke.conf file?

Yes, at one point it created the file with the default configuration if it didn't exist, but I decided to remove that because if I changed the defaults they wouldn't update in any running installation becuase the mod would treat the settings in nuke.conf as if they were manually set. I could create an empty nuke.conf, but that doesn't seem very useful.
I play on my Minetest server and VanessaE's.
The best way to contact me is usually IRC (InchraNet, freenode).
 

User avatar
kidmondo
Member
 
Posts: 130
Joined: Sun May 11, 2014 07:56
IRC: kidmondo
In-game: kidmondo

Re: [Mod] Fast, powerful explosives [git] [nuke]

by kidmondo » Sat Aug 02, 2014 03:29

every time I try to use it I get this:
15:11:20: ERROR[main]: ========== ERROR FROM LUA ===========
15:11:20: ERROR[main]: Failed to load and run script from
15:11:20: ERROR[main]: C:\Users\Gail\Downloads\minetest-0.4.9\minetest-0.4.9\bin\..\mods\nuke\init.lua:
15:11:20: ERROR[main]: ...\minetest-0.4.9\minetest-0.4.9\bin\..\mods\nuke\init.lua:11: attempt to concatenate global 'DIR_DELIM' (a nil value)
15:11:20: ERROR[main]: stack traceback:
15:11:20: ERROR[main]: ...\minetest-0.4.9\minetest-0.4.9\bin\..\mods\nuke\init.lua:11: in main chunk
15:11:20: ERROR[main]: ======= END OF ERROR FROM LUA ========
15:11:20: ERROR[main]: Server: Failed to load and run C:\Users\Gail\Downloads\minetest-0.4.9\minetest-0.4.9\bin\..\mods\nuke\init.lua
15:11:20: ERROR[main]: ModError: ModError: Failed to load and run C:\Users\Gail\Downloads\minetest-0.4.9\minetest-0.4.9\bin\..\mods\nuke\init.lua
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Krock » Sat Aug 02, 2014 09:08

kidmondo wrote:every time I try to use it I get this:

minetest-0.4.9

mods\nuke\init.lua:11: attempt to concatenate global 'DIR_DELIM' (a nil value)

Your minetest version is outdated, please download 0.4.10 or an in-developement version.

Replace
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
 DIR_DELIM
, line 11 in "init.lua" with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
"/"
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
kidmondo
Member
 
Posts: 130
Joined: Sun May 11, 2014 07:56
IRC: kidmondo
In-game: kidmondo

Re: [Mod] Fast, powerful explosives [git] [nuke]

by kidmondo » Sun Aug 03, 2014 06:09

okay fixed, another problem it shoots up and explodes in the air, and how do you use the TNT?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Krock » Sun Aug 03, 2014 08:41

kidmondo wrote:and how do you use the TNT?

Punch them. (with a torch?)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
kidmondo
Member
 
Posts: 130
Joined: Sun May 11, 2014 07:56
IRC: kidmondo
In-game: kidmondo

Re: [Mod] Fast, powerful explosives [git] [nuke]

by kidmondo » Fri Aug 08, 2014 20:53

But why do the missiles just shoot up and explode mid air?
 

User avatar
Wayward_One
Member
 
Posts: 93
Joined: Tue Jun 10, 2014 18:44
GitHub: Wayward1
IRC: Wayward_One Wayward1
In-game: Wayward_One

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Wayward_One » Fri Aug 08, 2014 22:28

Yeah, that happens to me too. About 80% of the time they explode mid-air or misfire on the launchpad.
"When life becomes a play and I don't know the role I'm cast..."

Latest Minetest builds for Android
 

User avatar
kidmondo
Member
 
Posts: 130
Joined: Sun May 11, 2014 07:56
IRC: kidmondo
In-game: kidmondo

Re: [Mod] Fast, powerful explosives [git] [nuke]

by kidmondo » Fri Aug 08, 2014 23:25

Wayward_One wrote:Yeah, that happens to me too. About 80% of the time they explode mid-air or misfire on the launchpad.


Mine always explode in mid air...
 

User avatar
ShadowNinja
Member
 
Posts: 194
Joined: Tue Jan 22, 2013 22:35
GitHub: ShadowNinja
IRC: ShadowNinja
In-game: ShadowNinja

Re: [Mod] Fast, powerful explosives [git] [nuke]

by ShadowNinja » Sat Aug 09, 2014 00:17

Missiles need to have a clearance 100 nodes into the air. Hitting anything before that will cause them to explode, although not as powerfully as if they had hit their target.
They also need to stay loaded, which is hard unless you're using creative, I plan to fix this with force loading. They shouldn't explode if they get unloaded though.
Other things to do:
  • Make missiles follow a curve.
  • Make missiles point where they're going (not possible yet due to engine limitations)
I play on my Minetest server and VanessaE's.
The best way to contact me is usually IRC (InchraNet, freenode).
 

User avatar
kidmondo
Member
 
Posts: 130
Joined: Sun May 11, 2014 07:56
IRC: kidmondo
In-game: kidmondo

Re: [Mod] Fast, powerful explosives [git] [nuke]

by kidmondo » Tue Jun 16, 2015 05:10

has the exploding in mid air issue been fixed yet?
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Hybrid Dog » Tue Jun 16, 2015 17:29

kidmondo wrote:has the exploding in mid air issue been fixed yet?

What do you mean?
btw: have you tested the rocket launcher yet?
https://github.com/HybridDog/nuke
 

User avatar
kidmondo
Member
 
Posts: 130
Joined: Sun May 11, 2014 07:56
IRC: kidmondo
In-game: kidmondo

Re: [Mod] Fast, powerful explosives [git] [nuke]

by kidmondo » Tue Jun 16, 2015 19:43

what mods are "moss" and "vector_extra" in the depends :3
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Fast, powerful explosives [git] [nuke]

by Hybrid Dog » Wed Jun 17, 2015 14:37

kidmondo wrote:what mods are "moss" and "vector_extra" in the depends :3

viewtopic.php?f=9&t=10262
viewtopic.php?f=9&t=8533
 

User avatar
kidmondo
Member
 
Posts: 130
Joined: Sun May 11, 2014 07:56
IRC: kidmondo
In-game: kidmondo

Re: [Mod] Fast, powerful explosives [git] [nuke]

by kidmondo » Wed Jun 17, 2015 19:55

Thanks :P
 

dannyplaysminetest
Member
 
Posts: 37
Joined: Sun Jun 28, 2015 19:20
In-game: Danny

Re: [Mod] Fast, powerful explosives [git] [nuke]

by dannyplaysminetest » Sun Jun 28, 2015 21:36

Thanks cool Mod! i created this place deep underground with help of a Mese TNT. ^_^

Image
 

orangebiscuit
Member
 
Posts: 27
Joined: Thu Feb 20, 2014 21:48

Re: [Mod] Fast, powerful explosives [git] [nuke]

by orangebiscuit » Fri Jul 31, 2015 00:46

Would it be possible to make an explosive that explodes continuously? Or until a certain block is placed somewhere that could change a variable to say "1", which would disable the explosive?

Just an idea, having just watched some videos on MC's Voltz pack...
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 53 guests

cron