Author Topic: Sub tile setter and snow not showing up  (Read 760 times)

Offline Waffle

  • HTC Staff Member
  • Administrator
  • *****
  • Posts: 4849
      • HiTech Creations Inc. Aces High
Sub tile setter and snow not showing up
« on: February 20, 2005, 10:30:12 PM »
Was messing around with NHawks sub-tile setter and can't get the snow tiles to show up in the TE. They are TERR0006 tile series, correct?


Anyway, if I make a map, the snow shows up on the map, but not on actual terrain.

Offline detch01

  • Silver Member
  • ****
  • Posts: 1788
Sub tile setter and snow not showing up
« Reply #1 on: February 20, 2005, 11:28:21 PM »
Waffle - check the cache folder and see if there's a folder in there for your terrain. If there is delete it. The next time you run the terrain in the game your tiles should show up.

Cheers,
asw
asw
Latrine Attendant, 1st class
semper in excretio, solum profundum variat

Offline Waffle

  • HTC Staff Member
  • Administrator
  • *****
  • Posts: 4849
      • HiTech Creations Inc. Aces High
Sub tile setter and snow not showing up
« Reply #2 on: February 21, 2005, 12:08:41 AM »
not a cache issue.


Got snow starting at almost 5000ft in Tilesetter - Y axis on points in TE are around 7-10000 that should be coverered with snow.
« Last Edit: February 21, 2005, 02:06:50 AM by Waffle »

Offline zmeg

  • Silver Member
  • ****
  • Posts: 936
Sub tile setter and snow not showing up
« Reply #3 on: February 21, 2005, 01:01:19 AM »
Same problem here.

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
Sub tile setter and snow not showing up
« Reply #4 on: February 21, 2005, 05:21:05 AM »
Look at the tiles included with the AH2 TE, there is no snow tile. It's more of a rock tile than snow.

The names were simply used to maintain the same tile names the TE uses.
« Last Edit: February 21, 2005, 05:23:41 AM by NHawk »
Most of the people you meet in life are like slinkies. Pretty much useless, but still bring a smile to your face when you push them down the stairs.
-------------------------------
Sometimes I think I have alzheimers. But then I forget about it and it's not a problem anymore.

Offline Waffle

  • HTC Staff Member
  • Administrator
  • *****
  • Posts: 4849
      • HiTech Creations Inc. Aces High
Sub tile setter and snow not showing up
« Reply #5 on: February 21, 2005, 06:18:42 AM »
I made custom tiles...

With snow (terrain 0006)

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
Sub tile setter and snow not showing up
« Reply #6 on: February 21, 2005, 11:16:32 AM »
Did you read the "readme" file for the tile setter? ...

"You can also substitute your own tiles by replacing the tiles in the "Tile Setter/tiles" folder with your own. This does not replace the tiles in the TE. It simply allows for you to get an idea of what your tiles will look like."

Make sure your tiles are in the texsrc folder. AND be sure to delete the files in the cache folder for the TE.
« Last Edit: February 21, 2005, 11:24:23 AM by NHawk »
Most of the people you meet in life are like slinkies. Pretty much useless, but still bring a smile to your face when you push them down the stairs.
-------------------------------
Sometimes I think I have alzheimers. But then I forget about it and it's not a problem anymore.

Offline zmeg

  • Silver Member
  • ****
  • Posts: 936
Sub tile setter and snow not showing up
« Reply #7 on: February 21, 2005, 11:56:03 AM »
It won't set terr0x06 no matter what you do, it puts terr0x04 instead. I also tried terr0x16 still no go. Does it get the cells from the texsrc folder or the stdshp.res folder or mabey from the cache/stdshape folder?

Offline Waffle

  • HTC Staff Member
  • Administrator
  • *****
  • Posts: 4849
      • HiTech Creations Inc. Aces High
Sub tile setter and snow not showing up
« Reply #8 on: February 21, 2005, 05:01:06 PM »
Srry Nhawk, but yes tiles are replaced in the texsrc folder of the terrain.


My issue was that there seems to be something funky going on with the snow layer.

Basically imported a elevation bmp in to AH (set max alt to various things in testing  10k-28k) I had close to pure white around the edges, so I presumed that would kick alt up to 18k or near about there.

Anway - I ran tile setter - set snow at 7k  - nothing.

I went on the TE and checked info for the high points - and they were anywhere between 6-10k. But would not take the snow. They would  start there last layer (Rock) and run that up to the highest points.

Eventually I ended up getting it to work, but I have about 5-6 layers of rock and snow, and it was the longest guessing game as they did not seem to coodinate with the "Y" axis info data in the TE.

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
Sub tile setter and snow not showing up
« Reply #9 on: February 22, 2005, 06:59:44 AM »
I'm not sure why you'd have problems, this is set by the tile setter...




The red is terr0006, the black snow is terr0106, the brown snow is terr0206 and the yellow is terr0306.

If you can, send me your settings file from Tile Setter and your .elv file from the TE. I think that's the only way I'll find where the problem is.
« Last Edit: February 22, 2005, 07:01:48 AM by NHawk »
Most of the people you meet in life are like slinkies. Pretty much useless, but still bring a smile to your face when you push them down the stairs.
-------------------------------
Sometimes I think I have alzheimers. But then I forget about it and it's not a problem anymore.

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
Sub tile setter and snow not showing up
« Reply #10 on: February 22, 2005, 07:10:34 AM »
Quote
Originally posted by zmeg
It won't set terr0x06 no matter what you do, it puts terr0x04 instead. I also tried terr0x16 still no go. Does it get the cells from the texsrc folder or the stdshp.res folder or mabey from the cache/stdshape folder?
It doesn't take the tile info from anywhere. The main elevation(blue + in the TE) is read and main tile types are set in the .typ file with integers from 0 to 6. And sub-tiles in the .syp file are a set of four 2 bit binary values of 0 to 3 combined into an 8-bit binary value.

But when you run the TE be sure to delete the files in the cache/stdshape folder in the TE  Otherwise you'll be seeing tiles other than the ones in your .texsrc folder.

And make sure you delete the cache/ folder for your terrain in AH. Otherwise you'll be seeing tiles other than the ones in your .res file.
« Last Edit: February 22, 2005, 07:19:01 AM by NHawk »
Most of the people you meet in life are like slinkies. Pretty much useless, but still bring a smile to your face when you push them down the stairs.
-------------------------------
Sometimes I think I have alzheimers. But then I forget about it and it's not a problem anymore.

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
Sub tile setter and snow not showing up
« Reply #11 on: February 22, 2005, 07:30:24 AM »
Quote
Originally posted by Waffle BAS
.... Basically imported a elevation bmp in to AH (set max alt to various things in testing  10k-28k) I had close to pure white around the edges, so I presumed that would kick alt up to 18k or near about there.

Anway - I ran tile setter - set snow at 7k  - nothing.

I went on the TE and checked info for the high points - and they were anywhere between 6-10k. But would not take the snow. They would  start there last layer (Rock) and run that up to the highest points.....


Ok, thought about this for a little while and I think I know what's going on. The tile type is set by the main elevation in the TE grid (blue +). If you have the tile setter set for snow between 7k and 8k and no main elevations(blue +) in the TE are between that range then you'll never see snow.

Remember if you have a main elevation(blue +) set at 10k, you won't see snow at 7k in that grid space.
Most of the people you meet in life are like slinkies. Pretty much useless, but still bring a smile to your face when you push them down the stairs.
-------------------------------
Sometimes I think I have alzheimers. But then I forget about it and it's not a problem anymore.

Offline Waffle

  • HTC Staff Member
  • Administrator
  • *****
  • Posts: 4849
      • HiTech Creations Inc. Aces High
Sub tile setter and snow not showing up
« Reply #12 on: February 22, 2005, 04:42:22 PM »
That must've been the issue...was doing a lot of tweaking with seting ats - even getting detting down to 50 ft increments...lol


I think I have it figured out. Was just throwing me for a loop a little bit.

Offline zmeg

  • Silver Member
  • ****
  • Posts: 936
Sub tile setter and snow not showing up
« Reply #13 on: February 22, 2005, 08:32:22 PM »
I've found where the problem is, it has nothing to do with snow or altitude. The top 4 boxes wil use the type from the 5th box no matter what type you set in them. It just seemed to be a snow problem because that's where snow usually is.

Offline Waffle

  • HTC Staff Member
  • Administrator
  • *****
  • Posts: 4849
      • HiTech Creations Inc. Aces High
Sub tile setter and snow not showing up
« Reply #14 on: February 22, 2005, 09:24:33 PM »
Hmm - i'll have to eyeball that - i had a few layers that i was messing with with snow and rock. But, It does make sense as to what I was seeing.