Announcement

Collapse
No announcement yet.

RWG Larger Cities, Water Biomes, No Flooding - Prefabs Included

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    RWG Larger Cities, Water Biomes, No Flooding - Prefabs Included

    I spent about an hour tonight working with the RWG and Biomes files to stop the water problem that occurs when adding water biomes back into the game. So far Ive tested 5 cities with zero water issues; two of them directly adjacent to water biomes.

    I also included the prefabs pack that we are using on my server. It is conceived from Magoli's prefab pack, but only select prefabs have been added via RWGmixer. All are there, but not all of them are used.







    Ill include the full files; Forests are thicker, coal formations removed from Forests and added to Deserts, flora in all biomes has been thickened. You may not want to use them if you play on an air cooled potato. If not here is what to do:

    Open the Biomes file and go to 'Water'. Find these lines and paste this in:

    Code:
    		<terrain class="Water">
    			<property name="BaseHeight" value="11" />
    		</terrain>
    Now find your desert biome and find this line, then paste this in:


    Code:
    				<layer filluptorg="54" blockname="water" />
    Now save it and open your RWGmixer.xml file. Scroll to the bottom and find 'biome spawn rules'. Paste this in its place.

    Code:
    	<biome_spawn_rules>
    		<biome_spawn_rule name="desert">
    			<elevation_range value="11, 20" />
    		</biome_spawn_rule>
    
    		<biome_spawn_rule name="water">
    			<elevation_range value="0, 10"/>
    		</biome_spawn_rule>		
    		
    		<biome_spawn_rule name="plains">
    			<elevation_range value="20, 40" />
    		</biome_spawn_rule>
    		
    		<biome_spawn_rule name="forest"> 
    			<elevation_range value="40, 80" />
    		</biome_spawn_rule>
    		
    		<biome_spawn_rule name="pine_forest">
    			<elevation_range value="80, 110" />
    		</biome_spawn_rule>
    		
    		<biome_spawn_rule name="snow">
    			<elevation_range value="110, 255" />
    		</biome_spawn_rule>
    
    		<biome_spawn_rule name="burnt_forest">
    			<elevation_range value="80, 110" />
    		</biome_spawn_rule>
    
    
    	</biome_spawn_rules>
    Save the file. Done!

    Water biomes back, with no flooding found thus far. Enjoy

    RWG,, Biomes and Prefabs: https://www.dropbox.com/sh/3sutbjahh...Y6LnqPB5a?dl=0

    #2
    That is called having your cake and eating it too! haha great work.

    Comment


      #3
      Originally posted by thewalkingdeadguy View Post
      That is called having your cake and eating it too! haha great work.
      LOL Yes!

      Comment


        #4
        Nice, I found I had to have water at 0,7, it always flooded something when I had it at 10.

        Comment


          #5
          Why do you have the one block gap between water and desert?

          Code:
          <biome_spawn_rules>
          		<biome_spawn_rule name="desert">
          			<elevation_range value="11, 20" />
          		</biome_spawn_rule>
          
          		<biome_spawn_rule name="water">
          			<elevation_range value="0, 10"/>
          		</biome_spawn_rule>		
          		
          		<biome_spawn_rule name="plains">
          			<elevation_range value="20, 40" />
          		</biome_spawn_rule>
          		
          		<biome_spawn_rule name="forest"> 
          			<elevation_range value="40, 80" />
          		</biome_spawn_rule>
          		
          		<biome_spawn_rule name="pine_forest">
          			<elevation_range value="80, 110" />
          		</biome_spawn_rule>
          		
          		<biome_spawn_rule name="snow">
          			<elevation_range value="110, 255" />
          		</biome_spawn_rule>
          
          		<biome_spawn_rule name="burnt_forest">
          			<elevation_range value="80, 110" />
          		</biome_spawn_rule>
          
          
          	</biome_spawn_rules>
          Every biome overlaps, pine_forest leaves off at 110, snow begins at 110.

          But between water and desert this does not happen. Is this deliberate...how you prevent flooding?

          Comment


            #6
            yes I had flooding too as I tried similar
            so I hope your solution is better :-)
            THANX for sharing!!!

            Comment


              #7
              Have you explored any? In my experience when I get no flooding at 0,0, you can still get it at other locations.

              Comment


                #8
                Originally posted by h0tr0d View Post
                Why do you have the one block gap between water and desert?

                Code:
                <biome_spawn_rules>
                		<biome_spawn_rule name="desert">
                			<elevation_range value="11, 20" />
                		</biome_spawn_rule>
                
                		<biome_spawn_rule name="water">
                			<elevation_range value="0, 10"/>
                		</biome_spawn_rule>		
                		
                		<biome_spawn_rule name="plains">
                			<elevation_range value="20, 40" />
                		</biome_spawn_rule>
                		
                		<biome_spawn_rule name="forest"> 
                			<elevation_range value="40, 80" />
                		</biome_spawn_rule>
                		
                		<biome_spawn_rule name="pine_forest">
                			<elevation_range value="80, 110" />
                		</biome_spawn_rule>
                		
                		<biome_spawn_rule name="snow">
                			<elevation_range value="110, 255" />
                		</biome_spawn_rule>
                
                		<biome_spawn_rule name="burnt_forest">
                			<elevation_range value="80, 110" />
                		</biome_spawn_rule>
                
                
                	</biome_spawn_rules>
                Every biome overlaps, pine_forest leaves off at 110, snow begins at 110.

                But between water and desert this does not happen. Is this deliberate...how you prevent flooding?
                It creates a dry riverbed effect where the biomes meet, and a clear boundary that the water does not cross.

                And yes, I've explored. The three screens are all from the same map. I outlined each water biome and then explored the low laying areas nearby. Only one of those cities is at 0,0. I tested it plenty enough to feel comfortable with it.

                I can probably even raise the water a block or two at this point, but haven't had time time to try it yet. Right now there is a 5 block gap between the top of water and bottom of desert biome. I also bumped the water up to 12 after posting this and still no flooding. Going to go for 14 this evening
                Last edited by TehAgent; 08-12-2015, 11:57 AM.

                Comment


                  #9
                  The leeway (no pun intended) probably has to do with the "fillupto"

                  Comment


                    #10
                    Originally posted by h0tr0d View Post
                    The leeway (no pun intended) probably has to do with the "fillupto"
                    That's why its in the original post. It could be the base height though, which is what I'm referring to when I say 12, though some adjustment of biome height is necessary. I think I've got it all worked out at this point, but need more time for testing to be positive. I want more and larger lakes. I do like the dry river/lakebed look.

                    It works as it stands, just need to figure out what the tolerances are at this point.
                    Last edited by TehAgent; 08-12-2015, 01:35 PM.

                    Comment


                      #11
                      I think I tested between fillupto 60-70 with water elevation for biome height between 7-11. That gap worries me though, what would it default to at 12?

                      Comment


                        #12
                        Originally posted by h0tr0d View Post
                        I think I tested between fillupto 60-70 with water elevation for biome height between 7-11. That gap worries me though, what would it default to at 12?
                        Biome height doesn't really matter unless you're talking 3 or more block gap. In this case, and I wish I had screenshots. It makes it look like a dry riverbed and dry lakebed, which IMHO s pretty cool stuff. I took out all of the green plants and left all the dead and brown stuff there.

                        Waters base height was set at 12, and with the default RWG file, that results in the flooding issues. I adjusted the biomes varying heights to ensure there would be no 'spill over' with the one block difference. That is because when some flooding occured, it was just water bleeding over the terrain into the desert biome set to 10. At that point, I had no flooded cities, but areas of desert that got water due to its height. WNting to get my server up ASAP, I decided to try a one block margin between the two biomes. It worked, so I left it in. It just seems to make a natural 'barrier' to stop overflow of water. Now, if I can fill up the biome to near the top of that one block margin, and have that margin continue to act as a dam, we'll have proper lakes and swamps.

                        Im curious as to what exactly your concern is with the margin though.

                        Comment


                          #13
                          That it would cause errors or disjunctive terrain.

                          Comment


                            #14
                            Originally posted by h0tr0d View Post
                            That it would cause errors or disjunctive terrain.
                            I have some steam screenshots I can upload; they don't cause errors or any holes in the world. It just appears to be a dry riverbed or lake bed with banks that go up the sides. It's actually pretty darn cool looking. I wouldn't suggest anything more than one though, and I wouldn't suggest doing it with any other biomes.

                            Comment


                              #15
                              Roger. I'll give it a shot, maybe use it for the next seed!

                              Comment

                              Working...
                              X