Author Topic: Skuzzy or Hitech  (Read 614 times)

Offline soda72

  • Platinum Member
  • ******
  • Posts: 5201
Skuzzy or Hitech
« on: May 09, 2005, 12:55:21 PM »
I noticed that mapmaker creates .elv and .typ files that can be used with the terrain editor.  Did you guys create the layouts for these files for use with the TE?

Offline FalconSS

  • Parolee
  • Nickel Member
  • ***
  • Posts: 393
Skuzzy or Hitech
« Reply #1 on: May 10, 2005, 07:09:30 AM »
Hi Soda, when you create a map in the TE it automaticly creates typ and elv files, the mapmaker program creates typ and elv files from actual globe locations, just take the two files from mapmaker name them the same as your terrain and replace, not sure if this answers your question if not just e-mail me from the BB and I'll be glad to help.
Marty McFly

Offline soda72

  • Platinum Member
  • ******
  • Posts: 5201
Skuzzy or Hitech
« Reply #2 on: May 10, 2005, 07:47:29 AM »
Thanks for the response FalconSS,

I was looking for what information is contained in the files, and how they should be built.  I was wondering if HTC created the format or if it was already a public standard that can be looked up..

Offline zmeg

  • Silver Member
  • ****
  • Posts: 936
Skuzzy or Hitech
« Reply #3 on: May 10, 2005, 07:58:52 AM »
The typ is a single channel .RAW file and the elv is a 2 channel .RAW file. Add a .raw to the end and you can open them in photoshop.

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
Skuzzy or Hitech
« Reply #4 on: May 10, 2005, 01:50:49 PM »
Soda, this may help you...

Data in the elevation file is a set of unsigned integers for each green and blue + in TE.

Main tile types are set in the .typ file with integers from 0 to 6 for each Blue + in TE.

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.

I think that will point you in the right direction if you're considering writing something.
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 soda72

  • Platinum Member
  • ******
  • Posts: 5201
Skuzzy or Hitech
« Reply #5 on: May 13, 2005, 09:06:57 PM »
Thanks for the responses guys....