Author Topic: a problem with water slope checker  (Read 583 times)

Offline caldera

  • Platinum Member
  • ******
  • Posts: 6437
a problem with water slope checker
« on: August 24, 2010, 06:55:51 PM »
I'm building a map for the MA and wanted to send the rough draft to HTC to see if I need to make any changes before working on coloring and reshaping the terrain.  When I hit build, the TE tells me there are water slopes.  I spend an hour resetting the same pieces of land to zero and the thing is never satisfied.  Uploaded the elevation file to gimp and basically flattened any water bordering property to sea level 3 to 4 miles inland.  Then the TE tells me there are still 3 water slopes.  The problem is, the water slopes it goes to are nowhere near water.   :rolleyes:   I tried to build the map anyway and the TE just crashes.

A little help please, for a noob map maker.  :pray
"Then out spake brave Horatius, the Captain of the gate:
 To every man upon this earth, death cometh soon or late.
 And how can man die better, than facing fearful odds.
 For the ashes of his fathers and the temples of his Gods."

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: a problem with water slope checker
« Reply #1 on: August 24, 2010, 07:22:39 PM »
I'm building a map for the MA and wanted to send the rough draft to HTC to see if I need to make any changes before working on coloring and reshaping the terrain.  When I hit build, the TE tells me there are water slopes.  I spend an hour resetting the same pieces of land to zero and the thing is never satisfied.  Uploaded the elevation file to gimp and basically flattened any water bordering property to sea level 3 to 4 miles inland.  Then the TE tells me there are still 3 water slopes.  The problem is, the water slopes it goes to are nowhere near water.   :rolleyes:   I tried to build the map anyway and the TE just crashes.

A little help please, for a noob map maker.  :pray

I know this can be very frustrating, but when the TE says that there's water on a slope, there really is. You have two possibly related problems. There's a strong chance that your black water is not really black, and more likely, that it's an RGB bitmap instead of an indexed grayscale.
Easy in-game again.
Since Tour 19 - 2001

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: a problem with water slope checker
« Reply #2 on: August 24, 2010, 07:26:42 PM »
As a test... take your exported elevation bit map and make a black border around the edges of the file RGB value of 0,0,0 about 2 pixels wide.
Then re import your elevation bit map and see if that helps.
Often times I find that there are terrain cells at the edge of the map that are actually land, but the slope of it makes the
water that is just off the map, have a slope of greater than 6ft per mile.

I'm not saying that this is your problem but it could be.

 :salute
midi

P.S. oh and make sure you save then re open the .oba file after importing the new bit map.



« Last Edit: August 24, 2010, 07:28:18 PM by mrmidi »
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline caldera

  • Platinum Member
  • ******
  • Posts: 6437
Re: a problem with water slope checker
« Reply #3 on: August 24, 2010, 07:30:27 PM »
Can you tell me why the slope checker directs me to three locations that are not anywhere near water.  It says I have three water slope issues but none of them are in the water.  I went over the borders with black and that's no longer the problem.
"Then out spake brave Horatius, the Captain of the gate:
 To every man upon this earth, death cometh soon or late.
 And how can man die better, than facing fearful odds.
 For the ashes of his fathers and the temples of his Gods."

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: a problem with water slope checker
« Reply #4 on: August 24, 2010, 07:38:25 PM »
I'm not sure what you mean by "nowhere near water." All it takes is a single 192 ft x 192 ft speck of water anywhere within the cell quarter, and for a bit beyond in two directions, to cause the problem you are seeing.
Easy in-game again.
Since Tour 19 - 2001

Offline caldera

  • Platinum Member
  • ******
  • Posts: 6437
Re: a problem with water slope checker
« Reply #5 on: August 24, 2010, 07:40:59 PM »
Specifically, it highlights mountaintops in the center of landmasses FAR, FAR inland.



edit:  if a pixel of water is on a hill, this can cause the problem?
« Last Edit: August 24, 2010, 07:43:06 PM by caldera »
"Then out spake brave Horatius, the Captain of the gate:
 To every man upon this earth, death cometh soon or late.
 And how can man die better, than facing fearful odds.
 For the ashes of his fathers and the temples of his Gods."

Offline mrmidi

  • Aces High CM Staff
  • Silver Member
  • ****
  • Posts: 1879
Re: a problem with water slope checker
« Reply #6 on: August 24, 2010, 07:46:13 PM »
Perhaps you could post a screen shot after you have done the Steep water slope check and it take you to the offending points.


Would make is easier to diagnose the problem and suggest a solution.

 :salute
midi
In charge of nothing.
C.O. 29th TFT, "We Move Mountains"
It is what it is!

Offline Easyscor

  • Plutonium Member
  • *******
  • Posts: 10899
Re: a problem with water slope checker
« Reply #7 on: August 24, 2010, 07:47:44 PM »
Yes, but I wouldn't call it a pixel of water, unless you are referring to the water bitmap.

Second item.
When you are working with water, never try to build the terrain until after you save and exit. Then reload it and built it. It will crash otherwise, on most systems.
Easy in-game again.
Since Tour 19 - 2001

Offline caldera

  • Platinum Member
  • ******
  • Posts: 6437
Re: a problem with water slope checker
« Reply #8 on: August 24, 2010, 07:49:08 PM »
I think i will try to hit "erase water" on those spots and try again.  thanks guys.  :salute


woohooo eureka!  there were three teeny tiny water puddles.
« Last Edit: August 24, 2010, 08:36:51 PM by caldera »
"Then out spake brave Horatius, the Captain of the gate:
 To every man upon this earth, death cometh soon or late.
 And how can man die better, than facing fearful odds.
 For the ashes of his fathers and the temples of his Gods."