User Tools

Site Tools


falcon4:terrain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
falcon4:terrain [2007-07-04 13:41]
snakeman
falcon4:terrain [2017-10-07 01:17] (current)
snakeman http to https switch.
Line 4: Line 4:
  
 And our [[falcon4:​terrain:​tilingtutorial|Tiling Tutorial]] which might be useful to someone. And our [[falcon4:​terrain:​tilingtutorial|Tiling Tutorial]] which might be useful to someone.
 +
 +We have made list of [[falcon4:​terrain:​cateairbases|CATE airbases]] to instruct you how to configure the airbase models properly into CATE conf files.
 +
 +More information about [[falcon4:​terrain:​dcw|DCW]] data to populate your terrains.
 +
 +Did you know that "​shared ocean segment"​ is mirrored from the 1,63 segment in 64 segment theaters and in 1,127 on 128 segment theaters.\\
 +
 +Bottom left corner 1,63 or 1,127 (correct for shared ocean):\\
 +OOO\\
 +OXO
 +
 +The utmost corner would be 0,63 or 0,127 (wrong for shared ocean!):\\
 +OOO\\
 +XOO
  
 ====== Initial map creation ====== ====== Initial map creation ======
    
-This tutorial is for Julian "​Codec"​ Onions superfast dem2terrain spherical converter.+This tutorial is for Julian "​Codec"​ Onions superfast ​[[falcon4:​tools:​dem2terrain|Dem2Terrain]] ​spherical converter
 + 
 +Get the DEM data from [[http://​www.ngdc.noaa.gov/​cgi-bin/​seg/​ff/​nph-newform.pl/​seg/​topo/​subset|here]] if you're creating default [[falcon4:​theatersize|64 segment theater]] map (10 x 10 degrees), we suggest you download 12-13 degree data'​s,​ this way Spherical Converter has the extra data to process. {{ https://​www.pmctactical.org/​f4/​images/​THR_Tut-01.jpg}} If you decide for 128 segment theater map (20 x 20 degrees), then you should download 25-30 degree data'​s,​ the more the better, if you want to choose the best location for your theater, you might want to make few previews first to get the most interesting places etc.
  
-Get the DEM data from [[http://​www.ngdc.noaa.gov/​cgi-bin/​seg/​ff/​nph-newform.pl/​seg/​topo/​subset|here]] if you're creating default 64 segment map (10 x 10 degrees), we suggest you download 12-13 degree data's, this way Spherical Converter has the extra data to process. {{ http://tactical.nekromantix.com/​f4/​images/​THR_Tut-01.jpg}} ​If you decide for 128 segment map (20 x 20 degrees), then you should download 25-30 degree data'​s,​ the more the better, ​if you want to choose the best location ​for your theateryou might want to make few previews first to get the most interesting places etc.+You need to select ​the terrain size from main viewthere is dropdown button for this selection. {{https://www.pmctactical.org/​f4/​images/​THR_Tut-02-2.jpg }} There you can actually can select smaller than 64 maps if you wish to experiment such things. Usually you would want to use default 64 (Korea) size or 128 for larger theaters. The ultimate 256 is not fully supported on [[falcon4:​superpak|SP]] series and for example [[falcon4:​campaign|campaign]] will not run on itits a shame but something we have to live with.
  
-You need to select ​the terrain ​size from main viewthere is dropdown button for this selection. {{http://​tactical.nekromantix.com/​f4/​images/​THR_Tut-02-2.jpg }} There you can actually can select smaller than 64 maps if you wish to experiment such thingsUsually ​you would want to use default 64 (Korea) size or 128 for larger theaters. The ultimate 256 is not fully supported on SP series and for example campaign will not run on itits a shame but something we have to live with.+There is also option selecting ​the map view size, this only effects the Dem2Terrain map output, it has nothing ​to do with the actual files converted for your falcon usageIf you have very large DEM file and want to "​zoom"​ in to the terrainthen adjust the Size button.
  
-There is also option selecting ​the map view size, this only effects ​the dem2terrain map outputit has nothing to do with the actual files converted ​for your falcon usageIf you have very large DEM file and want to "​zoom" ​in to the terrain, then adjust ​the Size button.+The Units dropdown can be used to change ​the measurements of the theater. These are FeetKilometers, Meters, Miles and NauticalMiles. Default is NauticalMiles. This is the main display when you got DEM data loaded. {{ https://​www.pmctactical.org/​f4/​images/​THR_Tut-02.jpg}} Here you select the correct location ​for the theaterYou'll notice that it will take maybe couple of tries to get it align right. There just might be that one airbase which you want to include but then in the other hand something is left out in the other side of the theater...
  
-The Units dropdown can be used to change the measurements of the theater. These are Feet, Kilometers, Meters, Miles and NauticalMiles. Default is NauticalMiles. This is the main display when you got DEM data loaded. {{ http://​tactical.nekromantix.com/​f4/​images/​THR_Tut-02.jpg}} Here you select the correct location for the theater. You'll notice that it will take maybe couple of tries to get it align right. There just might be that one airbase which you want to include but then in the other hand something is left out in the other side of the theater... 
  
 ====== Creating Terrain Features ====== ====== Creating Terrain Features ======
  
-Download ​the data from here take the following data's for each country you want to modify... ​+Go to the [[falcon4:​terrain:​dcw|DCW]] ​data page and take the following data's for each country you want to modify... ​
  
   * Political/​Ocean ​   * Political/​Ocean ​
Line 36: Line 51:
 In dem2terrain after you have selected the location for your map, click the Load E00 Files icon or press CTRL-L and select the e00 files for all the countries in your theater. If you select too much at once it will fail (I think its 16 or something), we suggest you select one country'​s features at one time. In dem2terrain after you have selected the location for your map, click the Load E00 Files icon or press CTRL-L and select the e00 files for all the countries in your theater. If you select too much at once it will fail (I think its 16 or something), we suggest you select one country'​s features at one time.
  
-{{http://tactical.nekromantix.com/​f4/​images/​THR_Tut-03.jpg }} Like here for example, you can select more than one country at time but there is some limit you run into.+{{https://www.pmctactical.org/​f4/​images/​THR_Tut-03.jpg }} Like here for example, you can select more than one country at time but there is some limit you run into. 
  
 ====== Create Terrain ====== ====== Create Terrain ======
  
-{{ http://tactical.nekromantix.com/​f4/​images/​THR_Tut-03-2.jpg}} When its done, click Generate Terrain or CTRL-G. dem2terrain then shows the Build Terrain options+{{ https://www.pmctactical.org/​f4/​images/​THR_Tut-03-2.jpg}} When its done, click Generate Terrain or CTRL-G. dem2terrain then shows the Build Terrain options
 **Mea File** is used to store the elevation data of the terrain, radar'​s use this to plot line of sight (LOS) for targeting and such. **Mea File** is used to store the elevation data of the terrain, radar'​s use this to plot line of sight (LOS) for targeting and such.
  
-**Map file** is the important one which stores coordinates of the theater and information of the fartiles and other terrain file measurements. If you select this, dem2terrain wants to read your .PAL file, this is the Jasc PaintShopPro created color palette file from you terrain'​s fartiles. You should really ​read the [[falcon4_textures|texture ​tutorial]] for more details.+**Map file** is the important one which stores coordinates of the theater and information of the fartiles and other terrain file measurements. If you select this, dem2terrain wants to read your .PAL file, this is the Jasc PaintShopPro created color palette file from you terrain'​s fartiles. You should really ​refer to the [[falcon4:​textures|texture ​category]] for more details.
  
-**Large (4 byte) Terrain** is not to be confused with 128 terrain'​s! Its merely a selection for 2 byte or 4 byte L2 file creation. [[falcon4_cate|CATE]] reads only 2 bytes and we highly recommend you choose not to use this option. You'll can use the [[falcon4_theatermaker|TheaterMaker]] packages LODFixer to convert 2 byte terrain to 4 byte terrain format.+**Large (4 byte) Terrain** is not to be confused with 128 terrain'​s! Its merely a selection for 2 byte or 4 byte L2 file creation. [[falcon4:​tools:​cate|CATE]] reads only 2 bytes and we highly recommend you choose not to use this option. You'll can use the [[falcon4:​tools:​theatermaker|TheaterMaker]] packages LODFixer to convert 2 byte terrain to 4 byte terrain format.
  
 **Description** is just a text file with all the information about the created terrain file, it has no use for us in Falcon, its just nice statistics. **Description** is just a text file with all the information about the created terrain file, it has no use for us in Falcon, its just nice statistics.
Line 51: Line 67:
 **TDF Files** is very important, these are the terrain feature files which are used to create cities, coasts, airbases, labels, roads and rivers for your theater. **TDF Files** is very important, these are the terrain feature files which are used to create cities, coasts, airbases, labels, roads and rivers for your theater.
  
-**Objectives** is the airbase and label generated CSV import file for Tacedit. You should select this and then you get all the nice objectives for your theater. You can specify rules in the rules.obr file found in the dem2terrain directory. We will go into these more detail later (please remind us).+**Objectives** is the airbase and label generated CSV import file for [[falcon4:​tools:​tacedit|Tacedit]]. You should select this and then you get all the nice objectives for your theater. You can specify rules in the rules.obr file found in the dem2terrain directory. We will go into these more detail later (please remind us). 
  
 ====== Using CATE with Terrainview ====== ====== Using CATE with Terrainview ======
  
-Since the first draft of this terrain tutorial page came out, we did not have the luxury of having the awesome ​[[falcon4_cate|CATE]] Configurable Auto Tiling Enchancer program by Skyfire. We used to hand tile the terrain'​s and I can assure you its not something you want to do. Now we use CATE and do the same things in couple of minutes than took us YEAR(s) before. However if you are interested here we have the old tiling method help documents listed: Read Manfred "​Schumi"​ Nelle'​s excellent HowToTile.doc which explains the terrainview usage and basic tiling instructions and tips, along with good screenshots. (You need word viewer or something to see the .doc format). ​download ​Schumi'​s how to tile guide, ​here. Download ​T-Bone'​s Tiling Guide[[http://tactical.nekromantix.com/​f4/​downloads.php|here]].+Since the first draft of this terrain tutorial page came out, we did not have the luxury of having the awesome CATE Configurable Auto Tiling Enchancer program by Skyfire. We used to hand tile the terrain'​s and I can assure you its not something you want to do. Now we use CATE and do the same things in couple of minutes than took us **YEAR**(s) before. However if you are interested here we have the old tiling method help documents listed: Read Manfred "​Schumi"​ Nelle'​s excellent HowToTile.doc which explains the terrainview usage and basic tiling instructions and tips, along with good screenshots. (You need word viewer or something to see the .doc format). ​Download ​Schumi'​s how to tile guide, ​and T-Bone'​s Tiling Guide [[https://www.pmctactical.org/​f4/​downloads.php|PMC Tactical Falcon 4 Downloads]].
  
-We have done small web based Tiling tutorial, check it out [[falcon4_tilingtutorial|here]].+We have done small web based Tiling tutorial, check it out [[falcon4:​terrain:​tilingtutorial|here]].
  
 But please remember that its not the current way of tiling a terrain, its just for old times sake historical reference mainly. We can take tips of course from the tiling primers and such for CATE usage, but terrain'​s get build by CATE - hey I'm not going to spend FORTY WEEKS for tiling. How about you? But please remember that its not the current way of tiling a terrain, its just for old times sake historical reference mainly. We can take tips of course from the tiling primers and such for CATE usage, but terrain'​s get build by CATE - hey I'm not going to spend FORTY WEEKS for tiling. How about you?
Line 71: Line 88:
 We extract both files so that we now should have Barents1.bin,​ Barents1.hdr,​ Barents1.fmt and Barents2.bin,​ Barents2.hdr,​ Barents2.fmt in the same directory. Go to your widows accessories and start Command Prompt. To merge the files, move to the directory and then type in Command Prompt window: We extract both files so that we now should have Barents1.bin,​ Barents1.hdr,​ Barents1.fmt and Barents2.bin,​ Barents2.hdr,​ Barents2.fmt in the same directory. Go to your widows accessories and start Command Prompt. To merge the files, move to the directory and then type in Command Prompt window:
  
-//copy /b Barents1.bin + Barents2.bin BarentsBIG.bin/​/+<​code>​ 
 +copy /b Barents1.bin + Barents2.bin BarentsBIG.bin 
 +</code>
  
 Syntax ( COPY /b bin1.bin + bin2.bin newbin ) (for two files)(you can merge more files if you want to) Syntax ( COPY /b bin1.bin + bin2.bin newbin ) (for two files)(you can merge more files if you want to)
Line 79: Line 98:
 Open the files Barents1.hdr and Barents1.fmt and save them as BarentsBIG.hdr and BarentsBIG.fmt . If the name changes to barentsBIG.hdr.txt,​ change them back from command prompt. Edit the coordinates in both files BarentsBIG.hdr and BarentsBIG.fmt according to the new coordinates of the merged files, N 85, S 45, W -25 E 35. You must also edit the number of rows. The number of rows must equal the sum of rows in the files you merge. While you are at it, check that the number of columns are equal in all the files. The number of columns shall not be changed. Open the files Barents1.hdr and Barents1.fmt and save them as BarentsBIG.hdr and BarentsBIG.fmt . If the name changes to barentsBIG.hdr.txt,​ change them back from command prompt. Edit the coordinates in both files BarentsBIG.hdr and BarentsBIG.fmt according to the new coordinates of the merged files, N 85, S 45, W -25 E 35. You must also edit the number of rows. The number of rows must equal the sum of rows in the files you merge. While you are at it, check that the number of columns are equal in all the files. The number of columns shall not be changed.
  
-Open the files BarentsBIG with DEM2Terrain,​ and you should be able to load the .e00 files and start on your new theater.  +Open the files BarentsBIG with DEM2Terrain,​ and you should be able to load the .e00 files and start on your new theater.
-(Credits for this tutorial goes to Javanree who came up with this merging idea and for 87th Striker to actually writing this text. Thanks guys, appreciated!).+
  
-====== ​Credits ​Tutorial ====== +(Credits ​for this tutorial goes to Javanree who came up with this merging idea and for 87th Striker ​to actually writing ​this textThanks guys, appreciated!).
- +
- +
-How to build your theaters own Credits file.  +
- +
-Grab a copy of default Korean credits.idx ​and credits.rsc files from art\resource directory. Use the perl +
- +
-//​./​procidx.pl credits.idx//​ +
- +
-And you'll get ENGLISH_CREDITS.txt file, now edit there your own credit information and then use cred2res.pl ​to create new credits files, like this:  +
- +
-//./​cred2res.pl credits.idx ENGLISH_CREDITS.txt//​ +
- +
-Perl script just produced you a credits.idx and credits.rsc files which you need to place to terrdata\Theater.name\files directory so TSwitch.exe can swap them when you change theaters. That's it+
falcon4/terrain.1183556460.txt.gz · Last modified: 2007-07-10 09:52 (external edit)