Page 1 of 1
[Mod] Shaped charge

Posted:
Thu Dec 22, 2011 00:24
by chlue
Hello I tried to make a basic mod (used rope mod as initial state) which creates a directed explosion to aid in tunnel building. So far it works but looks ugly and detonates once you hit it, but I fear to make it better I have to dig into lua a lot deeper.
Gitorious Link:
https://gitorious.org/chlue-minetest-mods/mod-shapedchargeThe code was written against dev version ‘celeron55-minetest-6957930’
Making the charge:

Placing (Yes placeholder icon is stupid, but this was the first one I found of which I know it is not used for blocks)

The result

I have put the files on Gitorious trying to copy the method randomproof is using.
Hope someone enjoys this

Posted:
Thu Dec 22, 2011 07:08
by Hackeridze
I think this is realy good idea! But maybe to call it "drill" and change the recipe? =)

Posted:
Sat Dec 24, 2011 10:19
by Hackeridze
Make the block depends on lua_furnace, that works on the coal and make the tunnels like:
0 0 9 0 0
0 9 9 9 0
9 9 9 9 9
0 9 9 9 0
0 0 9 0 0
Thats realistic and cool.

Posted:
Sat Dec 24, 2011 16:44
by chlue
Hackeridze wrote:Make the block depends on lua_furnace, that works on the coal and make the tunnels like:
0 0 9 0 0
0 9 9 9 0
9 9 9 9 9
0 9 9 9 0
0 0 9 0 0
Thats realistic and cool.
Hello not sure what you mean with the depend part.
Regarding the shape:
The idea was to get a quicker way to build tunnels compared to digging, so the 3x3 shape must stay :-), but after seeing an mesa pickaxle in action I thing the depth should be increased from 5 to something like 10 (variable d_c_max in the lua file).

Posted:
Sat Dec 24, 2011 17:02
by Hackeridze
You should look to the lua-furnace experimental mod or to brick oven in baking mod. thats for the drill working on coal(may be mese) and the tunnel's depth should be depends on the amount of fuel in the drill. now you understood me?

Posted:
Sat Dec 24, 2011 17:35
by MrThebuilder3
i really like this mod great job:)

Posted:
Sat Dec 24, 2011 17:46
by neko259
The icon fits great, I like it!

Posted:
Sat Dec 24, 2011 20:38
by Calinou
Keep in mind the "heart" icon is from Misa's texture pack and that it is 64x64 - you should make a new texture with a 16x16 tile size.
EDIT: Quick texture I made: [img=tunnel]http://ompldr.org/vYndnOQ/tunnel.png[/img]

Posted:
Sun Dec 25, 2011 06:11
by Hackeridze
Why 16x16???

Posted:
Sun Dec 25, 2011 10:21
by Calinou
Because all block/item textures in the vanilla game are 16x16. Also, you need to ask Misa's permission to use that heart icon.
And... a heart doesn't really fit there.

Posted:
Mon Dec 26, 2011 08:53
by Hackeridze
Calinou wrote:need to ask Misa's permission to use that heart icon
In my country, the goverment fuck copyrights. Ебал в рот я ваши копирайты.

Posted:
Mon Dec 26, 2011 09:04
by Staffs
:D funny cause i can read Russian.

Posted:
Mon Dec 26, 2011 10:26
by chlue
Calinou wrote:Because all block/item textures in the vanilla game are 16x16. Also, you need to ask Misa's permission to use that heart icon.
And... a heart doesn't really fit there.
Before this leads to some useless discussion. So far no texture is included at all in the mod folder, it just uses the current default heart item and I was using a modified version of 'misa-minetest-pack-v5' when doing the screenshot.
I will add an own 16x16 texture later, but currently I use my laptop and can't get the game running properly.
Re: [Mod] Shaped charge

Posted:
Sun Dec 07, 2014 02:00
by LordHawk
I have modified this Mod to work with 4.10. The crafting is the same. It works the same except it now removes all blocks that are not "useful". Also, I provided a custom texture that I created. Feel free to modify/distribute this as you want. I am not going to continue to maintain this. I just wanted to try my hand at modifying an existing mod. I think all you have to do is rename the directory to: "shapedcharge".
Joe