[MOD] Campfire_updated [campfire]

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

[MOD] Campfire_updated [campfire]

by Napiophelios » Post

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
20170720013750.png
20170720013750.png (521.88 KiB) Viewed 2384 times
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.
Last edited by Napiophelios on Thu Jul 20, 2017 05:52, edited 28 times in total.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [MOD] Campfire 2014 [campfire]

by jp » Post

Good work. Could you put that on GitHub please ?

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [MOD] Campfire 2014 [campfire]

by philipbenr » Post

Looks great, I'll give it a look.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire 2014 [campfire]

by Napiophelios » Post

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

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

Re: [MOD] Campfire 2014 [campfire]

by Evergreen » Post

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.
Back from the dead!

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire 2014 [campfire]

by Napiophelios » Post

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?

User avatar
Evergreen
Member
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
Location: A forest in the midwest
Contact:

Re: [MOD] Campfire 2014 [campfire]

by Evergreen » Post

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.
Back from the dead!

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire 2014 [campfire]

by Napiophelios » Post

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

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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
Last edited by Napiophelios on Thu Jul 20, 2017 05:54, edited 1 time in total.

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [MOD] Campfire_updated [campfire]

by Sokomine » Post

The mesh for the campfire and the sleeping bag look very nice.
A list of my mods can be found here.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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.
Last edited by Napiophelios on Thu Jul 20, 2017 05:53, edited 1 time in total.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [MOD] Campfire_updated [campfire]

by jp » Post

The code is mine and VanessaE (not LazyJ), and the textures are not mine.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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.

User avatar
jp
Banned
Posts: 947
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith
Location: France

Re: [MOD] Campfire_updated [campfire]

by jp » Post

By the way, that code is outdated now, there's a different and better particlespawner handling in the homedecor modpack now.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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
Last edited by Napiophelios on Thu Jul 20, 2017 05:53, edited 1 time in total.

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [MOD] Campfire_updated [campfire]

by Don » Post

Awww. You look so comfy.
Nice work!
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

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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.

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [MOD] Campfire_updated [campfire]

by Don » Post

Well I like it. I think you did a great job!
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

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

Minor Mod updated
--fixes Minetest's deprecated code warnings

campfire_rev014.zip
fixed deprecated code warnings

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [MOD] Campfire_updated [campfire]

by Sokomine » Post

Looks very nice! A version on github would be really helpful as that fascilitates updating mods.
A list of my mods can be found here.

User avatar
Napiophelios
Member
Posts: 1035
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [MOD] Campfire_updated [campfire]

by Napiophelios » Post

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"

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests