Page 1 of 2

[Mod] Hardcore torchs [v0.5.6][hardtorch]

Posted: Wed Aug 30, 2017 13:58
by BrunoMine
Image
Image
Description:
This mod will make torches much more realistic.
  • Add durability for torchs in general
  • Torches can brighten up the environment if you keep it in your hand (use leftclik)
  • It is necessary to hit a heat source with the torch or have a lighter in the inventory (optional, default is denabled)
  • Water extinguishes torches
  • Add Oil Lamp
  • Add torch sounds
Dependencies:
  • Minetest 0.4.16
  • Mod default
  • Mod fire
Download:
Hardtorch

License:
LGPL v3.0

Repository:
GitHub
Spoiler
Recipes
Image

List of fuels (all values are configurable from the advanced settings menu):
  • Default Torch = 0.1 nights
  • Oil = 1.2 nights
List of lamps
  • Default Torch (fuel is it self)
  • Oil Lamp (fuel is Oil)
List of lighters
  • Flint and Steel

Re: [Mod] Hardcore torchs [v0.1.0][hardtorch]

Posted: Wed Aug 30, 2017 14:04
by ExeterDad
This is a neat idea. After all... a torch is a torch, and should burn out. Not be a permanent fixture that spams the landscape for eternity.

Re: [Mod] Hardcore torchs [v0.1.0][hardtorch]

Posted: Wed Aug 30, 2017 14:07
by Sergey
Does this torch lighten up the environment only when you hold it in hand or you can mount it to wall as well?
Does this torch replace the default one?

Re: [Mod] Hardcore torchs [v0.1.0][hardtorch]

Posted: Wed Aug 30, 2017 23:52
by BrunoMine
Now, you can use the left hand in Minetest. XD
Sergey wrote:Does this torch lighten up the environment only when you hold it in hand or you can mount it to wall as well?
Works just like normal torches.
Sergey wrote:Does this torch replace the default one?
Yes

Re: [Mod] Hardcore torchs [v0.2.0][hardtorch]

Posted: Thu Aug 31, 2017 06:55
by azekill_DIABLO
what is the yellow spot on the hud, in the down-left? a torch in hand? Does it really lights up? :D

Re: [Mod] Hardcore torchs [v0.2.0][hardtorch]

Posted: Thu Aug 31, 2017 14:06
by BrunoMine
Sounds for torches added.
azekill_DIABLO wrote:what is the yellow spot on the hud, in the down-left? a torch in hand? Does it really lights up? :D
Yes, while the torch remains lit, it stays in the left hand.

Re: [Mod] Hardcore torchs [v0.3.0][hardtorch]

Posted: Thu Aug 31, 2017 14:52
by azekill_DIABLO
looks fun! disturbing too, but fun.

Re: [Mod] Hardcore torchs [v0.3.0][hardtorch]

Posted: Thu Aug 31, 2017 14:58
by John_Constructor
Tried it out, the torches seem laggy when in the hand for me. Still though, great mod.

Re: [Mod] Hardcore torchs [v0.3.0][hardtorch]

Posted: Sat Sep 02, 2017 14:27
by BrunoMine
* Added Oleo (Oil).
* Added Lamparina (Lamp).
* Fixed (partially) lag with torchs lit.

Re: [Mod] Hardcore torchs [v0.4.0][hardtorch]

Posted: Sat Sep 02, 2017 14:41
by John_Constructor
Performance is far better! Good job on the update!

Re: [Mod] Hardcore torchs [v0.4.0][hardtorch]

Posted: Sat Sep 02, 2017 18:54
by Hamlet
I'm interested on your mod, because I am using Real Torch 0.7, which does not have handheld light, and Torches handheld light is a bit laggy for me.

I would like to have a mod like yours in my subgame, my questions are: is the handheld light better than the one in Torches? And the unlit torches in your mod can be reused like in Real Torch using flint&steel or coal powder?

Re: [Mod] Hardcore torchs [v0.4.0][hardtorch]

Posted: Sun Sep 03, 2017 03:03
by BrunoMine
Hamlet wrote:Torches handheld light is a bit laggy for me.
The trick to keeping the environment lit is a bit problematic, it's possible that the problem continues, I've tried to make it a little softer, but I do not have any reliable tests that confirm this.
Hamlet wrote:is the handheld light better than the one in Torches?
Handled torches should be a little less efficient.
Hamlet wrote:the unlit torches in your mod can be reused like in Real Torch using flint&steel or coal powder?
No, the torch is the only light source that can not be supplied. It burned completely.

It is important to remember that this mod is not completely finished.

Re: [Mod] Hardcore torchs [v0.4.0][hardtorch]

Posted: Sun Sep 03, 2017 12:04
by Hamlet
BrunoMine wrote: No, the torch is the only light source that can not be supplied. It burned completely.
It is important to remember that this mod is not completely finished.
I've tested your mod and I've enjoyed it very much.

I like that:

- Handheld torches/lamps are in the left hand, allowing to use the right hand to hold a sword while exploring a cave. This is a big improvement in explorative-gameplay; and no more stacks of torches cluttering the inventory and littering the caves.

- Torches and oil lamps' uses can be set using Settings -> Advanced Settings -> Mods menu - I've set them to 1.0 and 3.0; 1 night for a torch, 3 nights for an oil lamp.

- Torches are like any other tool: no more uses, no more tool. This encourages crafting the oil lamp, that can be refilled.


About the ligthing while moving, it isn't perfect, but I do not care because of what I have written above.

Thank you for this mod, I am going to use it by default; keep up the good work!

Re: [Mod] Hardcore torchs [v0.5.0-alpha][hardtorch]

Posted: Mon Sep 04, 2017 02:52
by BrunoMine
Okay, finaly. 0.5.0-alpha version pre-released!
  • Added all torch sounds
  • Oil Lamp nodebox improved
  • Added lighting system
  • Added API for torchs and other mods support
  • other things :P
After the tests will be released definitively.
tests are being performed on the minemacro server.

Re: [Mod] Hardcore torchs [v0.5.0-alpha][hardtorch]

Posted: Mon Sep 04, 2017 16:07
by John_Constructor
Definitely a great update! Honestly when I tried the direct previous version it started crashing on my Standard Survival (No technology) world, 10/10 for excellent updates!

EDIT: The crash happened again, only when I placed a torch though.

Image

EDIT: As well as lamp duplication... They then both deleted themselves along with one of my one-hundred and fifty torches, hopefully this has been helpful (For the mod developer: BrunoMine)!

Re: [Mod] Hardcore torchs [v0.5.0-alpha][hardtorch]

Posted: Mon Sep 04, 2017 21:57
by BrunoMine
John_Constructor wrote:The crash happened again, only when I placed a torch though.

Image
Fixed, thanks for reporting.
John_Constructor wrote: As well as lamp duplication... They then both deleted themselves along with one of my one-hundred and fifty torches, hopefully this has been helpful
Sorry, but I do not understand what happened. Can you explain the procedure in detail?

Re: [Mod] Hardcore torchs [v0.5.0-alpha][hardtorch]

Posted: Mon Sep 04, 2017 22:58
by John_Constructor
Lamp duplication: Place lamp, break lamp and place again. deletion occured when trying to light one of the two lamps; torch was unlit and relit with about 50% durability, soon after it acted like /pulverize was used, singleplayer on same world that that the prevous crashes have occured. You are welcome.

EDIT: I right-clicked a chest and the lamp deleted itself, tested on different world.

Re: [Mod] Hardcore torchs [v0.5.0-alpha][hardtorch]

Posted: Tue Sep 05, 2017 01:34
by BrunoMine
John_Constructor wrote:Lamp duplication: Place lamp, break lamp and place again.
I tried to perform these movements as fast as possible (in creative mode and survival), but I could not duplicate the bulbs. However I managed to get more oil. I fixed this now. I do not know if the problem in question has been solved. Can you give more details? Was the lamp on when you put it on? you was in Survival mode?
John_Constructor wrote:deletion occured when trying to light one of the two lamps;
I can not reproduce this error. I just put two lamps in the inventory and one oil. I can light one of them and the other one remains erased.
John_Constructor wrote:torch was unlit and relit with about 50% durability, soon after it acted like /pulverize was used, singleplayer on same world that that the prevous crashes have occured.
I did not understand exactly what happened here.
John_Constructor wrote:I right-clicked a chest and the lamp deleted itself, tested on different world.
Fixed. Thank you

You can report an error in a more organized way through the project repository on GitHub.
https://github.com/BrunoMine/hardtorch/issues

Re: [Mod] Hardcore torchs [v0.5.0-alpha][hardtorch]

Posted: Tue Sep 05, 2017 01:57
by John_Constructor
Strangely I am getting the effects you're getting from this duplication bug on the prevous version of the mod, apparently I accidentally right-clicked on the Mechanical Door in one of my structures with that torch, I tried replicating the lamps deleting (apparently on the wrong block to replicate it, apparently that was the chest deletion bug.) themselves- no luck, I downloaded the current version of this mod and tested again. All the bugs I have found so far are fixed, you're welcome.

On the note of the Github error reports being more organized through the repository: Will do, thank you for the information.

Re: [Mod] Hardcore torchs [v0.5.2][hardtorch]

Posted: Sun Oct 15, 2017 03:11
by BrunoMine
Updated to 0.5.2
* Removed torch (used) recipe
* Removes residual light
* Fixed light behavior in protected areas

Re: [Mod] Hardcore torchs [v0.5.2][hardtorch]

Posted: Wed Oct 18, 2017 02:47
by Animetrom
De nada. (:

Re: [Mod] Hardcore torchs [v0.5.3][hardtorch]

Posted: Sat Nov 04, 2017 14:11
by BrunoMine
Updated to 0.5.3
* Old 'minetest.setting_get' method removed
* luminance control of torches
* API updated

Re: [Mod] Hardcore torchs [v0.5.3][hardtorch]

Posted: Sat Nov 04, 2017 17:33
by azekill_DIABLO
BrunoMine wrote: * Removed old 'minetest.setting_get' method removed
by what was it replaced? it interest me at the highest point!

Re: [Mod] Hardcore torchs [v0.5.3][hardtorch]

Posted: Sat Nov 04, 2017 18:43
by BrunoMine
This responds well
viewtopic.php?f=6&t=18002

Re: [Mod] Hardcore torchs [v0.5.3][hardtorch]

Posted: Sun Nov 05, 2017 13:44
by azekill_DIABLO
Thanks!