Page 1 of 1

[MOD] Campfire_updated [campfire]

PostPosted: Tue Nov 11, 2014 18:08
by Napiophelios
CampFire mod
original code by Doc
[modified by Napiophelios]

License: GPLv3 for code and CC by SA for media

Depends: default, fire, wool

For Minetest 0.4.10 development build (commit d2219171 or later)

Repository : https://github.com/Napiophelios/campfire
Download : https://github.com/Napiophelios/campfir ... master.zip
Rename extracted folder to "campfire"

Image

The campfire provides light and has sound effects and players can use it to cook, but its limited:
as with the original campfire mod, fuel burns slower and things take longer to cook.
The campfire will cause heat damage to players when they get too close to it,
however, it will not ignite stuff.

A sleeping mat has been added so players have a place to rest while away from home.
The sleeping mat will overwrite players info in the beds.txt file,
so till you use your actual bed again,sleeping mat settings are in play.


+ more screen shots

+ Latest Changes

+ Licenses/Credits of media, textures, code

Re: [MOD] Campfire 2014 [campfire]

PostPosted: Tue Nov 11, 2014 18:21
by jp
Good work. Could you put that on GitHub please ?

Re: [MOD] Campfire 2014 [campfire]

PostPosted: Tue Nov 11, 2014 18:46
by philipbenr
Looks great, I'll give it a look.

Re: [MOD] Campfire 2014 [campfire]

PostPosted: Tue Nov 11, 2014 18:53
by Napiophelios
jp wrote:Good work. Could you put that on GitHub please ?


Am I allowed to? I didnt write the code I just edited it some

Re: [MOD] Campfire 2014 [campfire]

PostPosted: Tue Nov 11, 2014 19:43
by Evergreen
Napiophelios wrote:
jp wrote:Good work. Could you put that on GitHub please ?


Am I allowed to? I didnt write the code I just edited it some

What is the license? It should be fine.

Re: [MOD] Campfire 2014 [campfire]

PostPosted: Tue Nov 11, 2014 22:37
by Napiophelios
Evergreen wrote:What is the license? It should be fine.


Well Doc's mod (code) is License Code: WTFPL
Nates mod is (graphics) Licenses: CC by SA
and Fire mod (sounds) Licenses:CC BY-SA 3.0

I would need to use Licenses:CC BY-SA 3.0?

Re: [MOD] Campfire 2014 [campfire]

PostPosted: Wed Nov 12, 2014 02:28
by Evergreen
Napiophelios wrote:
Evergreen wrote:What is the license? It should be fine.


Well Doc's mod (code) is License Code: WTFPL
Nates mod is (graphics) Licenses: CC by SA
and Fire mod (sounds) Licenses:CC BY-SA 3.0

I would need to use Licenses:CC BY-SA 3.0?

For the sounds and graphics, yes. The code can be whatever license you want.

Re: [MOD] Campfire 2014 [campfire]

PostPosted: Wed Nov 12, 2014 04:41
by Napiophelios
Edited the original post:

Added the license info
implemented cooking function
rearranged the layout of the formspec.

(still working on the git repo)

======================================
11-12-2014 rev-006
updated the mod again:
added the percentage of fuel usage to formspec
and got rid of the hokey little campfire pictures

======================================
11-24-2014 rev-007
Updated: Removed some useless /duplicate lines in the code
uses the players default Background image now
changed the inventory/weild images
removed fire from the depends.txt

======================================
11-28-2014 rev-008
-added the animated fire texture
-edited code to reflect the change

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun Jan 04, 2015 11:32
by Napiophelios
mod updated:

-changed topic name (2014 suffix no longer applicable)
-corrected the global variable error messages recieved from Minetest 0.4.11
-changed the out of fuel display message
-changed the textures for the logs and stones
-added sleeping mat from the Cottages mod (uses Beds Mod's functions though)
-added wool to depends text

Note: The sleeping mat is experimental and added at the behest of an eight year old,
My son loves the cottages mod but hates you cant use the mat like the Beds mod.
so be warned, If you destroy it while you are still on it you will get stuck and unable to move.

Thats all for the time being...I have to go and turn boats into a magic carpet for him now :)

Re: [MOD] Campfire_updated [campfire]

PostPosted: Mon Apr 06, 2015 14:10
by Napiophelios
campfire mod update

-All textures and sounds have been removed,
default media and texture modifiers are now used.

-spawn/respawn errors have been addressed
and function properly now.

-fire has been added to the depends text

-the crafting recipe has changed to
white wool/ brown wool/ brown wool

Image

Re: [MOD] Campfire_updated [campfire]

PostPosted: Mon Apr 06, 2015 14:22
by Sokomine
The mesh for the campfire and the sleeping bag look very nice.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun Apr 12, 2015 07:43
by Napiophelios
Sokomine wrote:The mesh for the campfire and the sleeping bag look very nice.


I agree, default textures in minetest game have come along way very quickly it seems.
I used to always use hd texture packs, but I find default textures very pleasant nowadays :)

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun May 10, 2015 15:34
by Napiophelios
Campfire Mod Updated

--Added the code for smoke particles from LazyJ's Fork of Semmett9's "Fake Fire" Mod (with textures by JP)
License: GPL v2

very nice effect.

Image

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun May 10, 2015 17:12
by jp
The code is mine and VanessaE (not LazyJ), and the textures are not mine.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun May 10, 2015 17:17
by Napiophelios
jp wrote:The code is mine and VanessaE (not LazyJ), and the textures are not mine.


my bad. There were so many comments by LazyJ I thought he wrote it.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun May 10, 2015 17:19
by jp
By the way, that code is outdated now, there's a different and better particlespawner handling in the homedecor modpack now.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun May 10, 2015 17:34
by Napiophelios
jp wrote:By the way, that code is outdated now, there's a different and better particlespawner handling in the homedecor modpack now.


Thanks for the heads up. I will definitely check it out.
Its hard to believe it could be better tho,
the code I borrowed is pretty nice effect as is.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Wed Oct 21, 2015 00:47
by Napiophelios
Mod updated
-new ABM for smoother transitions between formspecs
(adapted from More_fire Mod by NathanS)
-add list string to formspecs
-reduced the crafting recipe
-add player animation to sleepmat
Image
smat_laying.png
smat_laying.png (167.38 KiB) Viewed 5361 times

Re: [MOD] Campfire_updated [campfire]

PostPosted: Wed Oct 21, 2015 03:13
by Don
Awww. You look so comfy.
Nice work!

Re: [MOD] Campfire_updated [campfire]

PostPosted: Wed Oct 21, 2015 15:15
by Napiophelios
Hey dont laugh these little kids I make this for are ruthless;
without the player animation this mod is worthless to them.

I finally get around to adding it and they say "meh its okay"
little jerks.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Wed Oct 21, 2015 15:59
by Don
Well I like it. I think you did a great job!

Re: [MOD] Campfire_updated [campfire]

PostPosted: Wed Oct 21, 2015 20:45
by Napiophelios
Don wrote:Well I like it. I think you did a great job!


Thanks :)
It only took me a year to get it how I initially wanted it :P

I dont think I will be messing with this much anymore though,
unless there are errors reported...or anyone can suggest improvements.

well I guess maybe I should update the particle code like JP suggested.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sun Nov 01, 2015 23:53
by Napiophelios
Minor Mod updated
--fixes Minetest's deprecated code warnings

campfire_rev014.zip
fixed deprecated code warnings

Re: [MOD] Campfire_updated [campfire]

PostPosted: Fri Nov 06, 2015 17:44
by Sokomine
Looks very nice! A version on github would be really helpful as that fascilitates updating mods.

Re: [MOD] Campfire_updated [campfire]

PostPosted: Sat Feb 20, 2016 08:02
by Napiophelios
Sokomine wrote:Looks very nice! A version on github would be really helpful as that fascilitates updating mods.


Repository : https://github.com/Napiophelios/campfire
Download : https://github.com/Napiophelios/campfir ... master.zip
Rename extracted folder to "campfire"

Re: [MOD] Campfire_updated [campfire]

PostPosted: Tue Mar 15, 2016 00:43
by Sokomine
Thank you for uploading it!

Re: [MOD] Campfire_updated [campfire]

PostPosted: Wed Sep 21, 2016 21:25
by im-poke
Great work!