-
Notifications
You must be signed in to change notification settings - Fork 11
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
Roads Generating on Water #63
Comments
Thanks. The problem is that glitter roads can be built on water, but I only test that when building roads. |
Note : This is probably in WorldGenStep_Roads.GenerateProspectiveLinks(List indexToTile) There, it uses Find.WorldPathFinder.FloodPathsWithCost with the cost function from Caravan_PathFollower.CostToMove I must prevent the floodPathsWithCost from allowing a tile to be used by anything but a glitter road |
First find which mod(s) interact with RotR to throw this bug. Doesn't seem to be common |
OK, I have confirmed that it's really a combination of mods. Roads are not generated by Roads of the Rim alone. @ADamDirtyApe , please try to find which mod or combination of mods triggers this issue, and please confirm whether adding RotR changes things. I would look first into any mod that directly affects the world map. |
@ADamDirtyApe , did you find the mod that triggers this issue combined with RotR ? |
I have not been able to, as removing all the mods I have broke rimworld to the point that vanilla didn't even work. I heavily suspect it is "Preemptive strike" allowing generated enemies to path across water (the mod makes it so that you can see them coming as an entity if you have manned towers). This behavior combines with the way that your mod is attempting to allow bridges, and makes it so that map gen treats water as if it were land for the purposes of roads upon world generation. |
Thanks a bunch for getting back to me. I think the best way to debug this is for me to create a new game with RotR and preemptive strike enabled, see if roads are generated on water. The test is reasonably easy since it should be wrong right from the beginning (world generation). You can also try a new game on your side with preemptive strike disabled, see if the world created had roads on water or not. |
Issue with roads in water, they still generate as if the water tile was land.
Image of issue:
https://imgur.com/a/R7trVaQ
Rimworld export Logs are here, these were yellow warnings at the end.
https://gist.github.com/HugsLibRecordKeeper/7ef5f5a8978b01760f7fb38763bda345
I thought it was an interaction with the boats mod and pushing settlements over closer to water, but in generating maps with that setting at different levels has this error no matter the setting for the Boats mod.
It might have to do with Update 1.1.2647 (i confirm i am running this version), but the update notes does not mention anything changed for world gen?
The text was updated successfully, but these errors were encountered: