Aces High Bulletin Board

General Forums => Terrain Editor => Topic started by: soda72 on May 09, 2005, 12:55:21 PM

Title: Skuzzy or Hitech
Post by: soda72 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?
Title: Skuzzy or Hitech
Post by: FalconSS 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.
Title: Skuzzy or Hitech
Post by: soda72 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..
Title: Skuzzy or Hitech
Post by: zmeg 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.
Title: Skuzzy or Hitech
Post by: NHawk 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.
Title: Skuzzy or Hitech
Post by: soda72 on May 13, 2005, 09:06:57 PM
Thanks for the responses guys....