-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Innawoods] - Added mutable stream #67065
Conversation
Added a directory and file for mapgen palette definitions
Added directory and file for overmap_terrain definitions
Main file to generate the new mapgen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-requesting reviews from non-collaborators: @Light-Wave
A few thoughts, firstly big thumbs up for adding streams in general, I like the meandering and the way they're spawning on the overmap looks good ^^ |
data/mods/innawood/overmap/overmap_terrarin/overmap_terrain_stream.json
Outdated
Show resolved
Hide resolved
…ream.json Concatination of overmap terrain IDs Co-authored-by: Procyonae <45432782+Procyonae@users.noreply.github.com>
Thank you Procyonae, I agree entirely with your suggestions. My problem with 'fallback_predecessor' was me mistaking a flag as replacing it's function, but your comment let me find the relevant documentation. I've fixed the issue with the forests being overwrote now, I'll commit that change shortly after a couple more quick tests. I know overmap specials are not hardcoded, but I wanted to keep this commit short becuase I have a habbit of making mods and never pushing them. I plan to followup this commit with some nested clay banks, cattails and better monster spawn rules. I'm not familiar with nesting yet though, so I thought it would be better to do that seperately. I'm not sure how you are suggesting I connect the stream to a river using nesting though. I'm willing to look into it but I am at a loss with how that would be done right now. According to the docs, the connections option won't connect to rivers and I don't think there is a method to select certain overmaps if it detects a river bank. I'd be happy to be shown otherwise though. And I also appreciate the surrounding context of the river generation problems, it was very interesting. |
Added flag for better interaction with forest tiles
Nice, having it fit in with the terrain will make it really pretty ^-^ Small incremental PRs are defo sensible, excited to see where you take it :D If you want any help with nesting (or any other mapping) at any point you can dm me on discord (or just mention me on the devcord) at the same username Once this is merged I might have a play with the connecting to river thing, it might well not be possible anyway thinking about it bc river banks seem really trolly (I've tried to fix the seemingly easy issue #62544 multiple times and can't get anything to work) so I wouldn't worry about it for now |
Allows better interaction with forest and swamp tiles
I'm liking this a great deal. I agree with the previously made points that small incremental PRs are good here, and that it can stay in Innawood for now. Although it would be neat if it could enter mainline some day in the perhaps distant future. |
I did see a few instances of horses spawning, but that could have been from the wilderness spawn group so thanks for letting me know that can be a problem since that's a very important thing to note. In regards to monster spawns, I'm already starting on a followup PR to address that. I'm remarkably displeased with how they are set up currently. I don't feel like the wildreness spawn group is weighted correctly for a stream and I want to be a lot more careful with how many monsters spawn for each species. To address the rounding down issue, the followup PR may have only certain tiles have a chance to spawn domestic animals or I'll just try to weight it better with the custom spawn groups. The latter is probably the more sensible approach. I'll change the spawn values in the current PR to what you suggeted for now though. |
Increased animal spawn rates
This would fit the main game, too with some slight adjustments. |
I absolutely support putting these into mainline once they have gotten some more improvements. If you want to work towards that goal, then feel free to 👍 |
Summary
Content "Adds a mutable stream to the mapgen"
Purpose of change
Rivers are large and cumbersome, but most bodies of inland water are shallow and small. Especially in a wilderness mod like innawoods a stream/brook should be a point of interest where foliage and animals gather. It should add some visual interest and a respite from rolling fields and forests.
Describe the solution
Most map features are hardcoded, but I made this one take advantage of the mapgen mutables feature. This allows a lot of control over how the map elements generate and should be quick and easy to iterate over.
Mutables have several limitations however, making it not behave ideally in several situations.
That being said, I believe that since so much mapgen was removed from innawoods it can get quite repetitive, and the interest this adds back into to the maps makes up for the shortcomings of the implementation.
I do not believe that with mutables in this state that it would be appropiate to add larger mutable elements like this to be core game, but with a little more work I'm hopeful it would be very possible to replace the hardcoded map generation like rivers and roads.
Describe alternatives you've considered
Testing
Generated and ran across miles and miles of streams with slightly different settings. The monster spawn rate is probably too low, but it's better too low than too high. This can increased as needed.
The willingness for the stream to double back on itself could certainly be decresed, but I am happy with the current values. I don't want it to be too straightforward as this way it makes it a little more interesting.
Additional context