[Mod] Explosives [WIP] [git] [explosives]
Re: [Mod] Explosives [WIP] [git] [explosives]
Well, since we now have land mines and naval mines, the mod needs a better name. Renaming 'landmines' to 'explosives'.
Re: [Mod] Explosives [WIP] [git] [explosives]
I'm tinkering around a bit with this mod as a learning experience, figured I'd mention some of the ideas I've had in case you like them and decide to get to them before me. :)
I'm thinking a nice way of balancing attack and defense with these things would be to add a mine detector tool. It could work two different ways; a "passive" detector that pings when it's within six nodes or so of a landmine, and an "active" mode that lets you probe nodes one by one and reveals the mine if you hit it. Then you could have 0-delay mines in good conscience, allowing them to be a powerful defense while still allowing players to make their way through if they're prepared and cautious.
How about mines that are disguised as flowers or tufts of grass? That way you can lay a minefield around your secret base and if you're careful you can avoid your own mines, knowing what they're disguised as.
How about a claymore mine that you can stick on a wall or ceiling, that triggers if someone steps into the empty space "above" it? Good for booby-trapping doorways where it might not be so easy to hide something on the floor. Maybe add mesecon support to allow mines to be activated or deactivated based on a signal. Might be getting a bit overly elaborate there, though.
I'm thinking a nice way of balancing attack and defense with these things would be to add a mine detector tool. It could work two different ways; a "passive" detector that pings when it's within six nodes or so of a landmine, and an "active" mode that lets you probe nodes one by one and reveals the mine if you hit it. Then you could have 0-delay mines in good conscience, allowing them to be a powerful defense while still allowing players to make their way through if they're prepared and cautious.
How about mines that are disguised as flowers or tufts of grass? That way you can lay a minefield around your secret base and if you're careful you can avoid your own mines, knowing what they're disguised as.
How about a claymore mine that you can stick on a wall or ceiling, that triggers if someone steps into the empty space "above" it? Good for booby-trapping doorways where it might not be so easy to hide something on the floor. Maybe add mesecon support to allow mines to be activated or deactivated based on a signal. Might be getting a bit overly elaborate there, though.
- mahmutelmas06
- Member
- Posts: 367
- Joined: Mon Mar 02, 2015 13:10
- GitHub: mahmutelmas06
- IRC: mahmutelmas06
- In-game: masum
Re: [Mod] Explosives [WIP] [git] [explosives]
Code: Select all
-------------
Separator
-------------
2016-06-09 18:51:00: [Main]: Automatically selecting world at [D:\Oyun\Kurulan\Minetest\bin\..\worlds\Dnymz]
2016-06-09 18:51:01: ERROR[Main]: Irrlicht: Switch to fullscreen: The graphics mode is not supported.
2016-06-09 18:51:21: ERROR[Main]: ModError: Failed to load and run script from D:\Oyun\Kurulan\Minetest\bin\..\mods\explosives\init.lua:
2016-06-09 18:51:21: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\register.lua:62: Name landmine:landmine does not follow naming conventions: "explosives:" or ":" prefix required
2016-06-09 18:51:21: ERROR[Main]: stack traceback:
2016-06-09 18:51:21: ERROR[Main]: [C]: in function 'error'
2016-06-09 18:51:21: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\register.lua:62: in function 'check_modname_prefix'
2016-06-09 18:51:21: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\register.lua:110: in function 'register_item'
2016-06-09 18:51:21: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\builtin\game\register.lua:177: in function 'register_node'
2016-06-09 18:51:21: ERROR[Main]: D:\Oyun\Kurulan\Minetest\bin\..\mods\explosives\init.lua:80: in main chunk
2016-06-09 18:51:21: ERROR[Main]: Hata ayrıntıları için debug.txt dosyasını inceleyin.
2016-06-09 18:52:24: ERROR[Main]: Client: Cannot create image from data of file "zombie-base.psd"
Re: [Mod] Explosives [WIP] [git] [explosives]
@mahmutelmas06
Ah, the 'stable' branch is out of date after the recent renaming. Fixed now.
Thank you for pointing this out!
Ah, the 'stable' branch is out of date after the recent renaming. Fixed now.
Thank you for pointing this out!
- mahmutelmas06
- Member
- Posts: 367
- Joined: Mon Mar 02, 2015 13:10
- GitHub: mahmutelmas06
- IRC: mahmutelmas06
- In-game: masum
Re: [Mod] Explosives [WIP] [git] [explosives]
thnk you for the fix
--Suggestions--
Remote conrolled bomb
Time bomb
--Suggestions--
Remote conrolled bomb
Time bomb
Re: [Mod] Land mines [WIP] [git] [landmine]
XDvitalie wrote:Disclaimer: Don't attempt this at home.
N/A
Re: [Mod] Land mines [WIP] [git] [landmine]
AyeDS-minetest wrote:the good old nodebox was nicer
N/A
Re: [Mod] Explosives [WIP] [git] [explosives]
Update:
* Time bombs added in 'unstable' branch (timer up to 1 hour).
* Nodebox is the default. To switch to mesh, add "enable_explomesh = true" to your minetest.conf.
Feel free to test. Comments and suggestions always welcome.
* Time bombs added in 'unstable' branch (timer up to 1 hour).
* Nodebox is the default. To switch to mesh, add "enable_explomesh = true" to your minetest.conf.
Feel free to test. Comments and suggestions always welcome.
- Attachments
-
- 2016-06-28-020928_802x630_scrot.png (179.69 KiB) Viewed 652 times
Re: [Mod] Explosives [WIP] [git] [explosives]
I implemented the time bomb, but I have a problem with its concept and need your help.mahmutelmas06 wrote:thnk you for the fix
--Suggestions--
Remote conrolled bomb
Time bomb
Currently, the time bomb explodes when countdown stops. Before that it's visible and harmless, like a block of TNT. If someone digs it before explosion, the timer stops. That sounds wrong. Options:
1. Make it undiggable -- once the timer started, the bomb will be there ticking and ticking until the blast.
2. Make it untouchable -- once the timer started, any punch will lead to premature explosion.
3. Conceal it -- make it look like dirt etc.
4. Just leave it like this and forget about the whole thing.
Ideas anyone?
- mahmutelmas06
- Member
- Posts: 367
- Joined: Mon Mar 02, 2015 13:10
- GitHub: mahmutelmas06
- IRC: mahmutelmas06
- In-game: masum
Re: [Mod] Explosives [WIP] [git] [explosives]
Maybe bomb exploses if you dig and add an right-click formspec with a simple puzzle to deactivate then you can dig.
Re: [Mod] Explosives [WIP] [git] [explosives]
This might help.mahmutelmas06 wrote:Maybe bomb exploses if you dig and add an right-click formspec with a simple puzzle to deactivate then you can dig.
https://github.com/minetest/minetest/bl ... .txt#L3618
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
- Desour
- Member
- Posts: 1472
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: [Mod] Land mines [WIP] [git] [landmine]
this andI wrote:disarm:click with screwdriver 10 times, wait 10-20 seconds between clicks, if less than 10 seconds, it explodes, if more 20 seconds, you have to begin again
vitalie wrote: 2. Make it untouchable -- once the timer started, any punch will lead to premature explosion.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
Re: [Mod] Explosives [WIP] [git] [explosives]
Cool!!! :) If you can, please add grenades, that would be awesome! I'm going to add this to a pvp server that I'm working on. Good job!
i5 6500 OC @3.5GHz, EVGA GTX 960 4GB, 8GB DDR4, ASROCK Pro4S, 128GB.SSD, MT 0.4.17, Linux Mint 18.3 (Ubuntu 16.04)
OwOOOg9CphnceB30eUFX6BOCW8W3jT4i
OwOOOg9CphnceB30eUFX6BOCW8W3jT4i
Who is online
Users browsing this forum: No registered users and 16 guests