World of Banished

MODS Garage => Mod Talk => Topic started by: salamander on October 19, 2014, 11:57:36 AM

Title: BETA: MOD: Lake Region terrain type - salamander
Post by: salamander on October 19, 2014, 11:57:36 AM
This mod adds a Lake Region map type to the game.  The general idea is to generate a map with several lakes, which can run together to form some interesting shaped lakes, and surrounded by mostly flat land, with a few scattered hills.  Many of the lakes are interconnected with streams.  The idea is to simulate the lakes region of Minnesota and south-central Canada.

Using a map seed of 1000, the following are large, medium and small maps generated with this mod:

Large Map Size:
(http://worldofbanished.com/gallery/17_19_10_14_11_45_00.png)

Medium Map Size:
(http://worldofbanished.com/gallery/17_19_10_14_11_45_25.png)

Small Map Size:
(http://worldofbanished.com/gallery/17_19_10_14_11_45_49.png)




The .pkm file is attached in zipped form.  I'm adding this as a beta version because I still haven't figured out what each of the map creation parameters does exactly.  Any comments about how the maps generated fit with a Lake Region theme would be appreciated, and would give me something more focused to work toward as far as changing the parameters.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: RedKetchup on October 19, 2014, 01:26:05 PM
woah ! it reminds me Quebec Province :)

thanks you :) great work !!!


ps.: do i need to do houses that float on lakes now ? ^^ j/k
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: Bobbi on October 19, 2014, 03:53:29 PM
Looks like Minnesota , too. Do we need houseboats?
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: salamander on October 19, 2014, 05:01:54 PM
That would be @RedKetchup's area.  :)
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: salamander on October 21, 2014, 06:56:52 AM
I got a PM yesterday from someone who had tried a game with this terrain type, and was having an issue with merchants skipping TP's on a lake the river runs through.  I won't say that there's nothing wrong with the mod, but this sounds similar to something discussed a few months ago.  I think it was @RedKetchup who saw the same thing based on location of the TP.  I'd like to look back at those posts to see if anyone had any ideas about why that was happening, but I haven't been able to track the thread down -- the issue may have just been mentioned in passing in a thread with an unrelated title.

Does anyone remember where this was talked about?
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: irrelevant on October 21, 2014, 07:18:40 AM
@salamander There's one here:  http://worldofbanished.com/index.php?topic=201.0
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: salamander on October 21, 2014, 07:57:47 AM
Thanks.  The screenshots look familiar, so this may be the one I was thinking of.  Not sure how I got @RedKetchup in my head as the one who described this, though.  ???

The PM only mentioned the skipping on the lake the main river runs through, so maybe the pathing for the merchant follows the river even though the boat's technically in the lake, or maybe the pathing doesn't like to make sharp turns ... who knows.  I'm hoping the PM sender will post here with some more information.  It would be nice to know what's going on, and if not how to fix it, at least how to avoid it before you spend resources building a TP in a bad spot.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: irrelevant on October 21, 2014, 08:33:51 AM
Quote from: salamander on October 21, 2014, 07:57:47 AM
.... or maybe the pathing doesn't like to make sharp turns ...
This is the only thing I can think of that would account for what I experienced with that TP. The boat would have to make a very sharp turn back in the direction it came from.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: slink on October 21, 2014, 09:49:37 AM
I thought the problem turned out to be a blockage further upriver, which prevented the trading boats from working downriver but not from animating their way off the map.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: irrelevant on October 21, 2014, 09:52:14 AM
Not in the case I posted about. Although a couple of people suggested it at the time, there was no blockage, I checked that thoroughly. There were a number of TPs further downstream, this was the only one that didn't get traders.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: rkelly17 on October 21, 2014, 11:20:15 AM
My recollection is that both @RedKetchup  and @irrelevant had this problem on different maps but with TPs in a similar location on lakes. I had it myself once, but I didn't try to figure it out, just tore down the TP and moved on. The merchants did go to other TPs on the same lake, so . . . ? There is some weirdness on merchant pathing (I'm thinking of the "Backwards Merchants" maps as well), but it only bites under certain circumstances. I've had merchants plow through mud flats between the river and a lake to serve merchants on the lake and I think I've seen pictures of merchants heading up one of the small creeks to reach a TP on a lake.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: RedKetchup on October 21, 2014, 11:34:21 AM
the 1008 seed large valley is an example
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: salamander on October 21, 2014, 03:21:56 PM
Quote from: RedKetchup on October 21, 2014, 11:34:21 AM
the 1008 seed large valley is an example
Do you happen to still have that map as a saved game?
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: RedKetchup on October 21, 2014, 07:04:15 PM
i dont have, but if you put a TP on the lake , the nearest possible of the starting barn, you wont get merchants.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: salamander on October 22, 2014, 04:08:01 AM
Thanks.  I'm still hoping the person who let me know of the problem on the Lake Region map will post here.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: solarscreen on October 22, 2014, 07:48:24 AM
I think it is a pathing issue with the lakes. Even though you have a lake, the traders follow a path like there is a river. So, if you have a lake with an inlet at the top right and an outlet at the bottom right, the path will likely follow the right shore of the lake and no traders will ever go left.

Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: salamander on October 22, 2014, 11:00:52 AM
I think you're right about the pathing, although I haven't personally had any lakes where traders completely ignored TP's.  This is one reason I'm hoping the fella who PM'd me will show up here.  The details of that map could give some hints as to what's going on.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: rkelly17 on October 22, 2014, 02:13:37 PM
Quote from: solarscreen on October 22, 2014, 07:48:24 AM
I think it is a pathing issue with the lakes. Even though you have a lake, the traders follow a path like there is a river. So, if you have a lake with an inlet at the top right and an outlet at the bottom right, the path will likely follow the right shore of the lake and no traders will ever go left.

It isn't exactly that. I just was playing a map where the lake only touched the river at the bottom of the lake, so none of it was along the path of the river. Merchants found the TP that I built on the lake. I would have built more, but @RedKetchup and @slink came out with new versions of mods, so I started a new town.

Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: Coug_r on October 30, 2014, 02:36:31 AM
I changed the path of the merchants once, by mistake. I built two trading posts facing each other, leaving no place between them. The boats seemed not to be able to go through. There was a way to get over this obstacle through smaller streams, and that's what they did (for instance on the example of large map size in Salamander's post, if you were to create such a "dam" inside the current screen view, the boats would go through the big lake on the right and then the smal stream going back to the main river).

I didn't try to put a trading post somewhere on this new path though, but in my case there was no lake on the new path, just a smaller stream.
Title: Re: BETA: MOD: Lake Region terrain type - salamander
Post by: rkelly17 on October 30, 2014, 07:54:34 AM
Quote from: Coug_r on October 30, 2014, 02:36:31 AM
I changed the path of the merchants once, by mistake. I built two trading posts facing each other, leaving no place between them. The boats seemed not to be able to go through. There was a way to get over this obstacle through smaller streams, and that's what they did (for instance on the example of large map size in Salamander's post, if you were to create such a "dam" inside the current screen view, the boats would go through the big lake on the right and then the smal stream going back to the main river).

I didn't try to put a trading post somewhere on this new path though, but in my case there was no lake on the new path, just a smaller stream.

True. If you don't leave at least a one-square space between TPs the merchants are entirely flummoxed. Even though if you watch them they often row right through a the middle of a dock.  ::)