[Mod] Compressed Obsidian TNT v1.3 [compressed_obsidian]

petra2201
Member
 
Posts: 29
Joined: Fri Jun 05, 2015 14:42

[Mod] Compressed Obsidian TNT v1.3 [compressed_obsidian]

by petra2201 » Sat Jun 11, 2016 03:38

*Update I added blast proof glass and doors (the doors are protected for now). I'm working on the stairs but no joy so far.

Me and my son's were discussing making something tnt proof so after a little research we came up with this. We call it compressed obsidian. It takes 9 pieces of obsidian to craft a single block. The nice thing is that it is tnt proof. However tnt placed beside it will destroy anything above, below and behind it. I hope you guys can find it useful. We overrode Adam's tnt damage so other explosions are not tested.

Here is a screen shot of what I have working so far. It's compressed obsidian block, glass, and glass door. Tnt will not destroy it. I've tested it with 4.15 as well.

Image

License: LGPL 2.1 or later. Includes all textures.
Dependencies: none.

Git
https://github.com/webstormcomputers/Compressed-Obsidian

TODO list
create a dampening effect to limit tnt's effects behind compressed obsidian. I'm looking at Adam's code and seeing if I can just override the damage radius maybe reducing behind compressed obsidian.
possibly update textures.
Add slab and stairs.

CREDIT
Paramat for stairs and slabs, and cleaning up the code a bit.

Forgot to say I did this after watching some videos by Nathan Salapat on modding.
Here's a link to his channel.
https://www.youtube.com/channel/UCr8qeS ... YMD7IPE0NQ
Attachments
CompressedOb.png
CompressedOb.png (301.99 KiB) Viewed 2320 times
Last edited by petra2201 on Mon Mar 20, 2017 16:23, edited 7 times in total.
 

petra2201
Member
 
Posts: 29
Joined: Fri Jun 05, 2015 14:42

Re: Compressed Obsidian TNT-proof

by petra2201 » Sat Jun 11, 2016 14:13

screenshot_20160611_090449.png
screenshot_20160611_090449.png (514.12 KiB) Viewed 2320 times
screenshot_20160611_090448.png
screenshot_20160611_090448.png (506.51 KiB) Viewed 2320 times
screenshot_20160611_090442.png
screenshot_20160611_090442.png (508.99 KiB) Viewed 2320 times
 

petra2201
Member
 
Posts: 29
Joined: Fri Jun 05, 2015 14:42

Re: Compressed Obsidian TNT-proof

by petra2201 » Sat Jun 11, 2016 14:14

Crafting recipe


screenshot_20160611_090558.png
screenshot_20160611_090558.png (209.01 KiB) Viewed 2320 times
 

vitalie
Member
 
Posts: 66
Joined: Wed Feb 24, 2016 07:38
GitHub: ciubotaru

Re: Compressed Obsidian TNT-proof

by vitalie » Sat Jun 11, 2016 14:23

Tested with my explosives. Proven to be blast-resistant.

Cool. Who knew it's even possible?!
 

petra2201
Member
 
Posts: 29
Joined: Fri Jun 05, 2015 14:42

Re: Compressed Obsidian TNT-proof

by petra2201 » Sat Jun 11, 2016 15:22

I followed a trail of hints from others who were looking to makea tnt canon and also borrowed code from the new steel door. I'd like to figure out how to create a dampening effect on the other side. Kind of like in real life where you can feel an explosion from inside a bunker but it won't necessarily kill you.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Compressed Obsidian TNT v1.1

by paramat » Wed Jan 04, 2017 03:22

This is what i have so far, it seems to work.
There are a lot of changes, feel free to use or not use the changes i have made.
I'll explain more in a PM.

I changed the mod name by adding an underscore between words, as is recommended, for readability. All the node names are therefore changed, so you will need to test in a new world, the mod won't be active in an existing world because the name changed, and existing mod nodes in an existing world would appear as unknown nodes.
Attachments
compressed_obsidian.zip
(12.58 KiB) Downloaded 102 times
 

petra2201
Member
 
Posts: 29
Joined: Fri Jun 05, 2015 14:42

Re: [Mod] Compressed Obsidian TNT v1.1

by petra2201 » Wed Jan 04, 2017 03:49

That worked beautifully, interesting how you took all the code out of the init and put it straight into nodes. Is taking out the replace abm code going to affect anything down the line?
 

ManElevation
Member
 
Posts: 213
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Compressed Obsidian TNT v1.1

by ManElevation » Wed Jan 04, 2017 06:50

thats sick, like in minecraft
Hey there im going to be off minetest for a while because my company has been deleloping a game called Ground Conflict, if you wish to see some screenshots or have some info, than please join our discord server https://discord.gg/C9ygXJn
 

petra2201
Member
 
Posts: 29
Joined: Fri Jun 05, 2015 14:42

Re: [Mod] Compressed Obsidian TNT v1.3

by petra2201 » Wed Jan 04, 2017 16:41

I was going to try and make this buffer the blast from tnt but then I realized I'd have to access the blast radius which is local to the tnt object. Unfortunately I don't know enough about lua to access it and the creator of the tnt mod didn't make the radius variable accessible from the outside (which is understandable).
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Compressed Obsidian TNT v1.3

by paramat » Wed Jan 04, 2017 19:23

> Is taking out the replace abm code going to affect anything down the line?

No the replace ABM is just support for very old worlds which have the old stairs and slabs that were coded differently, so not applicable for your new nodes.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Compressed Obsidian TNT v1.3

by Wuzzy » Tue Jan 10, 2017 21:03

Is this mod messing with the TNT mod in any way or does it use on_blast like it should?
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

petra2201
Member
 
Posts: 29
Joined: Fri Jun 05, 2015 14:42

Re: [Mod] Compressed Obsidian TNT v1.3

by petra2201 » Tue Jan 10, 2017 21:06

It uses on blast and doesn't mess with tnt in anyway.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Compressed Obsidian TNT v1.3 [compressed_obsidian]

by Wuzzy » Wed Jan 11, 2017 05:51

Very good! :-)
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 50 guests

cron