✅Flood does not work

Do you have any issues? Don't hesitate to tell us about it.
User avatar
waders
TheoTown Veteran
Reactions:
Posts: 1130
Joined: 25 Mar 2016, 23:26
Location: Poland
Plugins: Showcase Store
Version: Beta

Platform

✅Flood does not work

#1

Post by waders »

I noticed that the flood did not work in the hinterland and near normal it floods what is wrong
Attachments
Near the sea the flood works
Near the sea the flood works
Flooding inland does not work
Flooding inland does not work

User avatar
waders
TheoTown Veteran
Reactions:
Posts: 1130
Joined: 25 Mar 2016, 23:26
Location: Poland
Plugins: Showcase Store
Version: Beta

Platform

Re: Flood does not work

#2

Post by waders »

Flooding should work everywhere

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2220
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Flood does not work

#3

Post by KINGTUT10101 »

It works for me, even on a map with absolutely no water.

User avatar
waders
TheoTown Veteran
Reactions:
Posts: 1130
Joined: 25 Mar 2016, 23:26
Location: Poland
Plugins: Showcase Store
Version: Beta

Platform

Re: Flood does not work

#4

Post by waders »

The pipe may break and there will be a flood

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Flood does not work

#5

Post by CommanderABab »

Flood doesn't work for me on some maps also.

User avatar
Barky
TheoTown Cartographer
Reactions:
Posts: 2056
Joined: 17 Apr 2017, 22:13
Location: Ireland
Plugins: Showcase Store

Platform

Re: Flood does not work

#6

Post by Barky »

Ye same here, weird

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Flood does not work

#7

Post by Lobby »

Yes, seems to be a known issue. I'll have a closer look into it.

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2220
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Flood does not work

#8

Post by KINGTUT10101 »

waders wrote:
21 Jun 2017, 20:36
The pipe may break and there will be a flood
I like the idea, but I don't think a broken pipe would be enough to cause a major flood.

User avatar
Barky
TheoTown Cartographer
Reactions:
Posts: 2056
Joined: 17 Apr 2017, 22:13
Location: Ireland
Plugins: Showcase Store

Platform

Re: Flood does not work

#9

Post by Barky »

Maybe there could be a pipe leak disaster (if you'd call it that) where it causes a small flood (like 4x4 area) and needs to be cleaned up?

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Flood does not work

#10

Post by Lobby »

:bf

Details:
The algorithm behind flooding prefers to flood tiles with lower height. In order to do so, we calculate a "flood this tile"-probability for all near tiles with the formula

Code: Select all

p = e^(-0.1 * tileHeight) / tileDistanceFromClick
(pseudocode). The problem is that e^(-0.1 * tileHeight) becomes really small for realistic values of tileHeight (like 1000). If it's too small, the probability p is evaluated to 0, which means that on this tile no flood can be spawned. The solution is to use a slightly different (and magic) formula.

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2220
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Flood does not work

#11

Post by KINGTUT10101 »

So what you're saying is that we can't have floods on mountains? I'm offended. :|

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Flood does not work

#12

Post by Lobby »

You'll be able to do that in the next update :)

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Flood does not work

#13

Post by CommanderABab »

I hope the whole city won't flood! :)

Thanks!

User avatar
Mg3094066
Inhabitant of a Supercluster
Reactions:
Posts: 3223
Joined: 28 May 2017, 01:50
Location: Venezuelan Republic of Mexico
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Flood does not work

#14

Post by Mg3094066 »

Lobby wrote:
23 Jun 2017, 09:53
You'll be able to do that in the next update :)
I think I have the possible explanation. Do you remember the subject (disasters get stuck)? What happens is possibly consistent with this issue since when sometimes active this disaster the only thing that happened was the flashing edges and nothing happened but it became very strange so I generate a meteorite and it remained static in the sky making the sound Of this falling the same thing happened with the other disasters earthquake = sound to infinity. Tornado = this stays frozen makes the typical sound without damaging anything. Riot = it froze and stayed at the point of generation making the typical sound. But in the case where it did not occur if it worked away from the sea or areas with water :ugeek:

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Flood does not work

#15

Post by CommanderABab »

And back

Post Reply Previous topicNext topic

Return to “Problems and Errors (bugs)”