add disable_fire setting to minetest.conf.example

anton-tsyganenko
Member
 
Posts: 45
Joined: Thu Mar 28, 2013 19:00

add disable_fire setting to minetest.conf.example

by anton-tsyganenko » Fri Aug 02, 2013 20:23

minetest has a setting to disable fire, and it works, but it doen't display in minetest.conf.example. please, add it there and excuse mefor my english
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Aug 02, 2013 20:26

minetest.conf.example contains only settings from the engine. "disable_fire" is a setting of minetest_game, so it doesnt really belong in minetest.conf.example.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Aug 02, 2013 20:56

But we should still have a list of possible options for minetest_game
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

anton-tsyganenko
Member
 
Posts: 45
Joined: Thu Mar 28, 2013 19:00

by anton-tsyganenko » Sat Aug 03, 2013 07:43

sfan5 wrote:But we should still have a list of possible options for minetest_game

yes. you can add to minetest.conf.example something like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
#
#settings for minetest_game
#

#disable_fire = false
#maybe some other settings for minetest_game

or add list of avaible settings to minetest_game/README.txt
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Aug 03, 2013 07:52

They don't belong into minetest.conf.example, minetest_game/README.txt would be better place for settings
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

by Evergreen » Sat Aug 03, 2013 10:23

sfan5 wrote:They don't belong into minetest.conf.example, minetest_game/README.txt would be better place for settings
Yes, but why isn't there a minetest_game.conf.example?
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Sat Aug 03, 2013 13:04

Or for every mod itself.
minetest/games/gamemode/mods/modname/settings.example
And the settings have the syntax modname_settingname and have to be insert in the global minetest.conf.

e.g.
minetest_game/mods/fire/settings.example
fire_disable = false
fire_limit = 256
 

anton-tsyganenko
Member
 
Posts: 45
Joined: Thu Mar 28, 2013 19:00

by anton-tsyganenko » Sat Aug 03, 2013 14:09

Casimir wrote:Or for every mod itself.
minetest/games/gamemode/mods/modname/settings.example
And the settings have the syntax modname_settingname and have to be insert in the global minetest.conf.

e.g.
minetest_game/mods/fire/settings.example
fire_disable = false
fire_limit = 256

it's very uncomfortably. i think, it's be better to add a example configuration file to games/<game>/ folder and add note to minetest.conf.example, that you can also use settings from games/<your_game>/configexample.conf
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Sat Aug 03, 2013 15:22

My intentions was to write it into the mod folder because it is a setting of the mod, and has nothing to do with the game itself. When copying the mod into another gamemode the settings file will still be present. It just is logically a part of the mod.
Also when we make a decision on how to do it it is some sort of standard, mods that stand alone (normal mods that you download) would not take advantage of the standard if the settings.example is only used in gamemodes.
 

anton-tsyganenko
Member
 
Posts: 45
Joined: Thu Mar 28, 2013 19:00

by anton-tsyganenko » Sat Aug 03, 2013 16:14

Casimir wrote:My intentions was to write it into the mod folder because it is a setting of the mod, and has nothing to do with the game itself. When copying the mod into another gamemode the settings file will still be present. It just is logically a part of the mod.
Also when we make a decision on how to do it it is some sort of standard, mods that stand alone (normal mods that you download) would not take advantage of the standard if the settings.example is only used in gamemodes.

it's uncomfortably if someone trys to find some setting but he don't know, where is it, or only finding interesting settings to change.
what about writing settings to each mod AND to game folder?
 

User avatar
Ferk
Member
 
Posts: 330
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re:

by Ferk » Sat Oct 17, 2015 11:33

Casimir wrote:fire_limit = 256


Is this a thing?
I would like a way to reduce the time that fire takes to consume a node in my game and the time that takes to later disappear.. right now fire stay there forever not really burning things and just causing a lot of noise. Do I have to modify the fire mod itself?
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Re:

by Krock » Sat Oct 17, 2015 11:49

Please do not harass dead topics!

Ferk wrote:Is this a thing?
I would like a way to reduce the time that fire takes to consume a node in my game and the time that takes to later disappear.. right now fire stay there forever not really burning things and just causing a lot of noise. Do I have to modify the fire mod itself?


You can modify the fire mod and present us your version as a pull request on GitHub.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Ferk
Member
 
Posts: 330
Joined: Tue Aug 18, 2015 17:18
GitHub: Ferk

Re: Re:

by Ferk » Sat Oct 17, 2015 18:28

Ow.. I'm sorry, I didn't realize this topic was dead, it might have just come up in a search and I didn't notice.
I was making some changes in the fire mod but it's probably not worth it for inclusion since it would probably go crazy in forests (I think fire spread already got nerfed in 0.4.13 because of this, it was giving performance problems in huge fires).

I realized that disabling the calculation for sounds boosts the performance quite a lot (like +10 FPS) when there's a lot of fire. I tried to do some optimizations in this regard but ended up having buggy behavior (fire sound sometimes disappearing at times when the world is closed and reopened) and I ended up giving up.

Nevertheless.. I'll leave a link to my changes in case it's ever useful for somebody.
{ ☠ Dungeontest ☠ , ᗧ••myarcade•• }
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 3 guests

cron