Page 1 of 2

[Mod] New Campfire [0.3.0] [new_campfire]

Posted: Tue Feb 07, 2017 09:55
by googol
This mod provides a nicer campfire.

Image

Using the mod:

Simply craft one and place it, then wield flint and steel and right-click on the campfire to ignite it.

If you want to cook with it, craft a grille and place it over the campfire/fireplace (whether it's burning or not). Add sticks and ignite the fire, if needed, then right-click on it with some food. After a short pause, the food is done, but get it off the grille quick, or it'll burn up into a puff of smoke!

A fire will burn down into embers after a while; just add more sticks by right-clicking with them to re-ignite the flames (it takes a couple of seconds for the flames to appear). You cannot cook over embers.

After a while, the embers will degrade into ashes -- the fire is completely extinguished now. Gather up the ashes, add sticks, and use flint and steel to re-ignite it.

Crafting and technical:

To get the initial campfire, use sticks and cobblestone slabs, like so:

Image

For the grille, use steel bars and steel wire:

Image

You can change the following parameters:

Code: Select all

new_campfire.cooking = 1        -- nil - not cooked, 1 - cooked
new_campfire.limited = 1        -- nil - unlimited campfire, 1 - limited
new_campfire.flames_ttl = 30    -- Time in seconds until a fire burns down into embers
new_campfire.embers_ttl = 60    -- seconds until embers burn out completely leaving ash and an empty fireplace.
new_campfire.flare_up = 2       -- seconds from adding a stick to embers before it flares into a fire again
new_campfire.stick_time = new_campfire.flames_ttl/2;   -- How long does the stick increase. In sec.
License: Code: LGPLv2.1+, textures: CC BY-SA 3.0 Unported

Mod dependencies: default, fire, basic_materials

Downloads:
Get it as a zip: https://github.com/mt-mods/new_campfire ... master.zip
...or browse the code: https://github.com/mt-mods/new_campfire

Discussion / Issues: Discussion should take place here, on the forum post. Bugs should be filed against VanessaE's Gitlab fork (link above), or here in this forum topic if necessary.

Video (for old versions, but still useful):
On youtube: https://youtu.be/DEoYb-Jz0Mw
[0.1.0] - 2017-02-07
- Release

[0.1.1] - 2017-02-08
- added initllib support
- improved texture fire

[0.1.3] - 2017-03-15
- added: sound file, new textures, changed model, config_file
- added campfire life time

[0.2.0] - 2017-02-13
- added animation particles of fire and smoke

[0.2.3] - 2017-03-15
- added: sound file, new textures, changed model, config_file
- added campfire life time

[0.2.4] - 2017-04-20
- added: fireplace, ash
- flammable nodes around the campfire can fire
- removed config_file
- changed recipe

[0.3.0] - 2017-06-05
- added: cooking

2020-06-02
- Forked by VanessaE:
- grille required for cooking
- fires burn down into embers, then into ashes
- empty fireplace or embers can be refueled. Browse the code via mercurial: https://bitbucket.org/g00g01/new_campfire

Bugs in old versions may be reported there; please limit forum-reported issues to new versions taken from VanessaE's fork, to avoid confusion.

For Minetest 0.4.16 through 0.4.17.1:

Download v.0.3.0
Download v.0.2.4
Download v.0.2.3

For Minetest 0.4.14 - 0.4.15:

Download v.0.1.3
Download v.0.1.1

Re: [Mod] New Campfire [0.1.1] [new_campfire]

Posted: Thu Feb 09, 2017 01:37
by TumeniNodes
I like it!

Re: [Mod] New Campfire [0.1.1] [new_campfire]

Posted: Thu Feb 09, 2017 06:59
by googol
Thank you.

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Mon Feb 13, 2017 18:22
by googol
New version for minetest 4.15-dev or above!!!

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Mon Feb 13, 2017 18:38
by azekill_DIABLO
i like the textures!

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Wed Feb 15, 2017 00:10
by echosa
What is the difference between this mod and viewtopic.php?f=11&t=10569? I'm asking because I currently use that other one in my subgame.

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Wed Feb 15, 2017 06:47
by googol
echosa wrote:What is the difference between this mod and viewtopic.php?f=11&t=10569? I'm asking because I currently use that other one in my subgame.
1. Other fire
Spoiler
ImageImage
2. Other code
3. Not for cook
4. My is eternal fire

For fun

P.S. You forced me to edit the old code to run it on minetest 4.15 :(

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Wed Feb 15, 2017 22:51
by echosa
Awesome! Thanks for that breakdown! That makes it much more clear. :-)

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Thu Feb 16, 2017 07:18
by googol
Somebody uses this fire on the server?
There is a problem?

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Thu Feb 16, 2017 07:29
by burli
It would be awesome if I can cook food in this campfire, but not for smelting

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Thu Feb 16, 2017 09:52
by Chibi ghost
I tried it and the flame looks squashed other than that very nice

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Thu Feb 16, 2017 10:13
by googol
Chibi ghost wrote:I tried it and the flame looks squashed other than that very nice
Your version minetest is 4.15
And you test campfire 0.1.1
Is right?
can you do screenshot?

Re: [Mod] New Campfire [0.2.0] [new_campfire]

Posted: Fri Feb 17, 2017 16:21
by azekill_DIABLO
wow the particle work is great! flames are awesome!

Re: [Mod] New Campfire [0.2.3] [new_campfire]

Posted: Wed Mar 15, 2017 16:32
by googol
Old version 0.1.3
- added: sound file, new textures, changed model, config_file
- added campfire life time

New version 0.2.3
- added: sound file, new textures, changed model, config_file
- added campfire life time

Re: [Mod] New Campfire [0.2.4] [new_campfire]

Posted: Fri Apr 21, 2017 04:53
by googol
New version 0.2.4
added: fireplace, ash
- flamable nodes around the campfire can fire
- removed config_file
- changed recipe

Re: [Mod] New Campfire [0.2.4] [new_campfire]

Posted: Fri Apr 21, 2017 07:42
by azekill_DIABLO
+1

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Mon Jun 05, 2017 17:29
by googol
New version 0.3.0
Now can cook. Right click to.

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Wed Jun 07, 2017 13:41
by azekill_DIABLO
cool, but you robably mean: ""now can cook""?

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Wed Jun 07, 2017 13:46
by Chibi ghost
put raw meat etc in get cooked meat etc out
nathan's mod has a similar mechanic

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Wed Jun 07, 2017 13:47
by azekill_DIABLO
Chibi ghost wrote:put raw meat etc in get cooked meat etc out
thanks i had understood.

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Thu Jun 08, 2017 06:29
by googol
Chibi ghost wrote:...nathan's mod has a similar mechanic
What your mean?

My pre release video
https://www.youtube.com/watch?v=6ob-X1jG_GU

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Mon Jul 17, 2017 13:52
by Napiophelios
I really like the changes you make to this mod.
I add it to my W.I.P. subgame with some changes of course :)

Image
uses default textures
uses default textures
preview.gif (245.15 KiB) Viewed 2831 times

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Mon Jul 17, 2017 16:37
by azekill_DIABLO
i love it, the flmaes are far more consistent!

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Tue Aug 29, 2017 19:03
by googol
Hi all.
That you think about this concept of campfire?
Image
https://www.youtube.com/watch?v=FznVgWduYDk

Re: [Mod] New Campfire [0.3.0] [new_campfire]

Posted: Wed Aug 30, 2017 09:34
by azekill_DIABLO
looks different but nice! maybe it would fit better in a low poly game tough. But it really looks like ifre here.