cloud_height in MT 5 - not settable anymore?

cloud_height in MT 5 - not settable anymore?

Postby voxelproof » Tue Mar 26, 2019 4:17 pm

The issue I'd like to clarify is included in the title of the post. I've noticed that in MT 5.0 in "settingtypes.txt" file cloud_height isn't referenced anymore. What's more, in Win64 version the command "/set cloud_height <value>" does seem to be acceptable as the game returns answer "cloud_height=<value>" (however with no ensuing change in the actual clouds height) which in turn isn't true in the Win32 version (the same command fails when it's issued).

Does it mean that this setting isn't maintained in the newer versions of MT? I highly doubt it, I'd suspect that it was rather overlooked and should stay as an important world parameter.
voxelproof
Member
 
Posts: 766
Joined: Sat Aug 05, 2017 8:13 am

Re: cloud_height in MT 5 - not settable anymore?

Postby rubenwardy » Tue Mar 26, 2019 4:22 pm

A cloud API was added in 5.0.0, it's possible that has replaced the setting
rubenwardy
Moderator
 
Posts: 5695
Joined: Tue Jun 12, 2012 6:11 pm
GitHub: rubenwardy
In-game: rubenwardy

Re: cloud_height in MT 5 - not settable anymore?

Postby voxelproof » Tue Mar 26, 2019 5:59 pm

rubenwardy wrote:A cloud API was added in 5.0.0, it's possible that has replaced the setting


So, to change the cloud level one should as I understand do it via appropriate API. Forgive me an awfully noob question (which is surely answered in some manual), but is it accessible from the game? And is such a change somehow reflected in minetest.conf?

EDIT: it seems that this discussion sheds some light on this matter. It seems that now a mod is needed to allow adjustment of clouds to the landscape by a player.
voxelproof
Member
 
Posts: 766
Joined: Sat Aug 05, 2017 8:13 am

Re: cloud_height in MT 5 - not settable anymore?

Postby disconnected » Tue Mar 26, 2019 11:14 pm

This will allow player control of clouds via chat command and give you a good idea how to implement cloud control via another mod...

https://github.com/bendeutsch/minetest-cloudcontrol
disconnected
Member
 
Posts: 10
Joined: Mon Mar 11, 2019 3:45 am
GitHub: discon-nected
In-game: disconnected

Re: cloud_height in MT 5 - not settable anymore?

Postby Festus1965 » Tue Mar 26, 2019 11:44 pm

thanks,
I missed my fog or mist ... or just new called SMOG
Festus1965
Member
 
Posts: 812
Joined: Sun Jan 03, 2016 11:58 am
In-game: Thomas Explorer

Re: cloud_height in MT 5 - not settable anymore?

Postby disconnected » Wed Mar 27, 2019 12:03 am

You can set cloud height to 0, thickness to 500 and density to 1 to force fog server side. But this unfortunately doesn't fix client side lag caused by the client's unlimited view setting....

https://github.com/minetest/minetest/issues/8142#issuecomment-466814915
disconnected
Member
 
Posts: 10
Joined: Mon Mar 11, 2019 3:45 am
GitHub: discon-nected
In-game: disconnected

Re: cloud_height in MT 5 - not settable anymore?

Postby voxelproof » Wed Mar 27, 2019 6:59 am

disconnected wrote:This will allow player control of clouds via chat command and give you a good idea how to implement cloud control via another mod...

https://github.com/bendeutsch/minetest-cloudcontrol


Thanks
voxelproof
Member
 
Posts: 766
Joined: Sat Aug 05, 2017 8:13 am



Return to Problems



Who is online

Users browsing this forum: Yandex Bot [Bot] and 0 guests