[Mod] Lava Cooling Renewed [lavacooling]

Post Reply
deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

[Mod] Lava Cooling Renewed [lavacooling]

by deivan » Post

Lava Cooling Renewed [lavacooling]
I rewrite many of the code from the original lavacooling for resolve some problems here in my game and the mod is operational now. My starting problem is the impossibility of the use of one geothermal power generator with stones... :D

Now if lava have more air than lava in direct contact (face-to-face) then the lava is cooling and eventuality become molten rock and after some time, some type of rock. Some times (5%) the rock have some minerals and eventually (2%) some rare minerals.

If lava have direct contact with water the shock make pumice stone. Like glass...

If molten rock is immerse into lava then he heat and eventuality become lava again.

The diagonals don't count as contact to my mod.

I changed all textures to avoid problems with owners of the others.

I have some dependency from mods:
- Technic
- More ores

I don't see any problem and stay using the GPL licence.

Screenshots
(From my stone factory)
Image
Image

Credits
At this point I rewrite many of the code but the original essence still here.
Original code from Rath (http://forum.minetest.net/viewtopic.php?id=2709)

Download
http://www.novoseusadosinformatica.com. ... ooling.zip (Version 20130506)

License: GPL

Dependencies:
default
domb (my own library of utility functions)

domb is here: http://www.novoseusadosinformatica.com. ... k-domb.zip

configuration:
With the chat command:
Ex.: /lavacooling enable

Options:
- Enable - Enable the module, overwriting the current game engine of conversion of lava (lava cooling)
- Disable - Disable the module.
- Reload - Reload the list of materials and load materials from moreores and technic if found this modules.


To do...
- Implement compatibility with snow.
- make new arts (or no. :D)
- Cover water who will become cold like ice and come back to ice, I nice addition. :D
Last edited by deivan on Thu Dec 05, 2013 14:34, edited 1 time in total.

User avatar
Mito551
Member
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Post

So it works less laggy? If it does it's cool!
looking forward to downloading it.
and hey, Y U deleted screenshots with my TP? *sadface*
Last edited by Mito551 on Wed Mar 20, 2013 16:36, edited 1 time in total.

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

by PilzAdam » Post

You should override default.cool_lava_flowing and default.cool_lava_source with empty functions to disable the lavacooling in the default game.

Code: Select all

default.cool_lava_flowing = function() end
default.cool_lava_source = function() end

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Or I make a option to config it, like a command "/lavacooling disable" or enable. This is enough?

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

I implemented the chat command /lavacooling with two options at this point, enable and disable.

ie.: /lavacooling disable

Only to disable the cooling process or enable without the need of the restart of the game. The game don't remember the last state then every time is starting disabled. I implement a memory in some days. I think. :D

Releasing a new version soon.
Last edited by deivan on Thu Mar 21, 2013 22:24, edited 1 time in total.

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Now I see in the changelog this mod in the core game... Not the same, I will test it soon. But my have many options. :D

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

My mod is very complex to leave now. :D

Development still active.
To do:
- Soft compatibility with snow
- Secondary mod (lavacooling_products,?) dependent of this one who make:
- Items of pumice, is a stone with low density, maybe a make a ship or you make a hose in the water. :D
- Items of obsidian, is like a glass-stone, maybe I make a more dark glass and some small weapons like a axes and knifes.
- Improvement of the performance of the system
- Better textures, I don't am happy with my artist's skills. Oo

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Repaired some problems with my new versions of library utility, better random generation now, I think, diamonds sub-mod updated to. Released version 08/04/2013.
I tested for 10 minutes without slow downs of crashes. :D
Last edited by deivan on Mon Apr 08, 2013 17:52, edited 1 time in total.

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Released a minor update. Updating my library.

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

I split my mods and my library, in this format I don't need a new release to all if I update the library. I only update the library to fix any problem. :D

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

I think I need the idea from PilzAdam about override default.cool_lava_flowing and default.cool_lava_source to repair the natural path of this mod... :-P Maybe in the next version. :D

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Ok, new version is ready, now when enabled this mod override the default game system for the lava, if disabled, the functions will return to normal.

I make the process little more uncertain than the original but the lava between two sources eventually become another lava source. Easy and operational. :D

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

I changed the default state of the mode from disabled to enabled, or it or all geothermal generators will be disabled. :-/

Removed materials:
- lavacooling:obsidian (now is default:obsidian)
- lavacooling:obsidian_shard (now is default:obsidian_shard)

Removed crafts:
- lavacooling:obsidian_shard

Added alias to cover any trouble in old games. :D
Last edited by deivan on Tue Apr 16, 2013 12:46, edited 1 time in total.

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Removed dependence (still supported but is "soft") from mods technic and moreores, I relase a new version in few days. I need more tests, many changes in the core. :D

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Ok, lavacooling is updated now. Have support to the command /reload who reload materials from technic and moreores, if the mod is loaded after this two. Is a soft dependence then don't is a problem if you don't have one of this mods.

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Ok, new version released. This update is only to give a better balance to the spawn routine give 5% of chance to spawn a metal and 2% of chance to spawn a rare metal both including from the technic or from the moreores.

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

New version...

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

No problem with the version 0.4.7. All ok here with this mod.

Erthome
Member
Posts: 95
Joined: Thu May 30, 2013 01:03
In-game: Erthome Azyaqux

by Erthome » Post

This link is coming up as 'Not Found'

Is there a replacement link or is the thread kaput?

http://www.novoseusadosinformatica.com. ... ooling.zip

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Thanks. Problem solved. ;)

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

deivan wrote:Thanks. Problem solved. ;)
Good to see that you're still maintaining this ^.^

However, I suggest that you:

1. Upload your mod to GitHub, OR
2. Attach it as a forum attachment.

This is so that if you cannot maintain your mod anymore, people can still download it from here or from GitHub.

Also, the download link for domb is down.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

Well, in the last week I am doing some maintenance work then, well, this happened. But is my server then is more easy to me to support it in this format. The domb is here, I miss a letter in the URL in the link, I already corrected it now.

I centralized all my mods in a single topic, here: viewtopic.php?id=5617.

Any problem, please report. Thanks.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Google [Bot] and 22 guests