[Mod] Shaped charge

chlue
Member
 
Posts: 19
Joined: Wed Dec 21, 2011 23:08

[Mod] Shaped charge

by chlue » Thu Dec 22, 2011 00:24

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-shapedcharge

The code was written against dev version ‘celeron55-minetest-6957930’

Making the charge:
Image

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

The result
Image

I have put the files on Gitorious trying to copy the method randomproof is using.

Hope someone enjoys this
 

User avatar
Hackeridze
Member
 
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Thu Dec 22, 2011 07:08

I think this is realy good idea! But maybe to call it "drill" and change the recipe? =)
Last edited by Hackeridze on Thu Dec 22, 2011 07:10, edited 1 time in total.
My game: RTMG
GENTOO USER
 

User avatar
Hackeridze
Member
 
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Sat Dec 24, 2011 10:19

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.
My game: RTMG
GENTOO USER
 

chlue
Member
 
Posts: 19
Joined: Wed Dec 21, 2011 23:08

by chlue » Sat Dec 24, 2011 16:44

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).
 

User avatar
Hackeridze
Member
 
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Sat Dec 24, 2011 17:02

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?
Last edited by Hackeridze on Sat Dec 24, 2011 18:32, edited 1 time in total.
My game: RTMG
GENTOO USER
 

User avatar
MrThebuilder3
Member
 
Posts: 104
Joined: Sat Nov 19, 2011 18:26

by MrThebuilder3 » Sat Dec 24, 2011 17:35

i really like this mod great job:)
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Sat Dec 24, 2011 17:46

The icon fits great, I like it!
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Dec 24, 2011 20:38

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]
 

User avatar
Hackeridze
Member
 
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Sun Dec 25, 2011 06:11

Why 16x16???
My game: RTMG
GENTOO USER
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sun Dec 25, 2011 10:21

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.
 

User avatar
Hackeridze
Member
 
Posts: 310
Joined: Thu Nov 03, 2011 13:35

by Hackeridze » Mon Dec 26, 2011 08:53

Calinou wrote:need to ask Misa's permission to use that heart icon

In my country, the goverment fuck copyrights. Ебал в рот я ваши копирайты.
My game: RTMG
GENTOO USER
 

User avatar
Staffs
Member
 
Posts: 329
Joined: Thu Aug 04, 2011 13:16

by Staffs » Mon Dec 26, 2011 09:04

:D funny cause i can read Russian.
I love mods :D
 

chlue
Member
 
Posts: 19
Joined: Wed Dec 21, 2011 23:08

by chlue » Mon Dec 26, 2011 10:26

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.
 

LordHawk
New member
 
Posts: 9
Joined: Tue Sep 30, 2014 17:33

Re: [Mod] Shaped charge

by LordHawk » Sun Dec 07, 2014 02:00

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
Attachments
shapedcharge_4-10.zip
The zipped file of the modified mod.
(13.13 KiB) Downloaded 84 times
 


Return to WIP Mods

Who is online

Users browsing this forum: Google [Bot] and 14 guests

cron