User Tools

Site Tools


falcon4:mapflag

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:mapflag [2007-07-10 09:52]
127.0.0.1 external edit
falcon4:mapflag [2016-11-15 11:00] (current)
snakeman switched tactical.nekromantix.com to www.pmctactical.org domain.
Line 2: Line 2:
  
 These tutorials in this page are **__OBSOLETE__**,​ do not use them as they do not work present day Falcon 4 installations! These tutorials in this page are **__OBSOLETE__**,​ do not use them as they do not work present day Falcon 4 installations!
 +
 +You should also reference [[falcon4:​ui|User Interface]] page.
 +
  
 ====== Map / Flag Tutorial ====== ====== Map / Flag Tutorial ======
Line 9: Line 12:
 Create bmp file with terrainview - load only road, river and city TDF's. Convert this bmp file to a TARGA image using following guideline: 8bit uncompressed 2048x2048 - 256 color tga for large mission planner map. 8bit uncompressed 172x172 - 256 color tga format for small "​menu"​ map. Do Vertical Flip for the images. Create bmp file with terrainview - load only road, river and city TDF's. Convert this bmp file to a TARGA image using following guideline: 8bit uncompressed 2048x2048 - 256 color tga for large mission planner map. 8bit uncompressed 172x172 - 256 color tga format for small "​menu"​ map. Do Vertical Flip for the images.
  
-Use tga2res.pl perl script to convert the map to idx/rsc files ([[http://tactical.nekromantix.com/f4/docs/​downloads/​TerrainScripts.rar|download here]]).+Use tga2res.pl perl script to convert the map to idx/rsc files, download ​[[http://www.pmctactical.org/​f4/​downloads/​TerrainScripts.rar|TerrainScripts.rar]].
  
 <​code>​ <​code>​
Line 48: Line 51:
 </​code>​ </​code>​
  
-Edit cp_sua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID  +Edit cp_sua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\ 
-Edit cs_map.scf file and replace IA_MAP_TGA with SMALL_MAP_ID  +Edit cs_map.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\ 
-Edit df_map.scf file and replace IA_MAP_TGA with SMALL_MAP_ID  +Edit df_map.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\ 
-Edit df_sua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID  +Edit df_sua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\ 
-Edit ia_map.scf file and replace IA_MAP_TGA with SMALL_MAP_ID  +Edit ia_map.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\ 
-Edit tac_psua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID  +Edit tac_psua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\ 
-Edit tac_sua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID  +Edit tac_sua.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\ 
-Edit tac_team.scf file and replace IA_MAP_TGA with SMALL_MAP_ID ​+Edit tac_team.scf file and replace IA_MAP_TGA with SMALL_MAP_ID\\
 Edit transfer.scf file and replace IA_MAP_TGA with SMALL_MAP_ID Edit transfer.scf file and replace IA_MAP_TGA with SMALL_MAP_ID
  
Line 83: Line 86:
  
 Done, your TE map images are finished. Done, your TE map images are finished.
 +
  
 ====== JSTARS Map Tutorial ====== ====== JSTARS Map Tutorial ======
Line 144: Line 148:
  
 Use the theater with these new edited files and you should see new map at your Campaign -> Intel -> JSTARS view. Use the theater with these new edited files and you should see new map at your Campaign -> Intel -> JSTARS view.
 +
  
 ====== How To Replace Country Flags ====== ====== How To Replace Country Flags ======
Line 184: Line 189:
   * SMALLFRY.tga (small TE flag version)   * SMALLFRY.tga (small TE flag version)
  
-You are totally free in namimg ​these files, but it makes sense to name them in a way that reminds you of what they are showing.+You are totally free in naming ​these files, but it makes sense to name them in a way that reminds you of what they are showing.
  
 Now we create the script file. Open Notepad text editor. Now we create the script file. Open Notepad text editor.
Line 217: Line 222:
 </​code>​ </​code>​
  
-The name of the image script determines the name the perl script will give the .idx and .rsc files which will be used by Falcon4. Be sure to use the extension "​.irc"​ for the image script file, or it WON'T work!+The name of the image script determines the name the Perl script will give the .idx and .rsc files which will be used by Falcon4. Be sure to use the extension "​.irc"​ for the image script file, or it WON'T work!
  
-The perl script irc2res browses this image script until all [LOADIMAGE] commands are performed. So this command has to be at the beginning of each new line.+The Perl script irc2res browses this image script until all [LOADIMAGE] commands are performed. So this command has to be at the beginning of each new line.
  
 The second entry per line is the Falcon4 ID the picture shall get (SMALLALBANIA,​ OOB_ALBANIA,​ OOB_ALBANIA_DRK and so on...). The second entry per line is the Falcon4 ID the picture shall get (SMALLALBANIA,​ OOB_ALBANIA,​ OOB_ALBANIA_DRK and so on...).
  
-The third is the filename ​of the TGA graphic, the fourth and fifth value is always "​0"​.+The third is the file name of the TGA graphic, the fourth and fifth value is always "​0"​.
  
 Running the script: Running the script:
  
-I assume that you have a Windows or Unix/​Linux ​perl installation available. Copy all files (the graphics, irc2res.pl and balkanflags.irc) to a temporary folder.+I assume that you have a Windows or Unix/​Linux ​Perl installation available. Copy all files (the graphics, irc2res.pl and balkanflags.irc) to a temporary folder.
  
 Open a DOS-box, go to the temporary folder and start the script with: Open a DOS-box, go to the temporary folder and start the script with:
Line 237: Line 242:
 Now you have two new files in this folder, balkanflags.idx and balkanflags.rsc. Now you have two new files in this folder, balkanflags.idx and balkanflags.rsc.
  
-These need to be placed into "​art/​resource"​ during the installshield ​installation process.+These need to be placed into "​art/​resource"​ during the install shield ​installation process.
  
 Setting up F4 to use the new flags: Setting up F4 to use the new flags:
Line 267: Line 272:
 Now if you have to change a .scf file, don't double click, but right click and use "View file" from the popup menu. Now if you have to change a .scf file, don't double click, but right click and use "View file" from the popup menu.
  
-Edit and save the following files (save them twice - once to the original place and once to a backup place to put them in the installshield ​later).+Edit and save the following files (save them twice - once to the original place and once to a backup place to put them in the install shield ​later).
  
 <​code>​ <​code>​
Line 288: Line 293:
   * search for "​BUTTONIMAGE"​. You'll find a bunch of entries.   * search for "​BUTTONIMAGE"​. You'll find a bunch of entries.
  
-These sets are ordered by teams, starting with the team 0 that is non-existant, so don't change this one (OOB_FLAGS_NONE). The second group contains OOB_FLAGS_USA,​ which is Team 1 in Korea:+These sets are ordered by teams, starting with the team 0 that is non-existent, so don't change this one (OOB_FLAGS_NONE). The second group contains OOB_FLAGS_USA,​ which is Team 1 in Korea:
  
 <​code>​ <​code>​
Line 322: Line 327:
 </​code>​ </​code>​
  
-  * scroll down until you find the first occurence ​of "​OOB_FLAGS_USA":​+  * scroll down until you find the first occurrence ​of "​OOB_FLAGS_USA":​
  
 <​code>​ <​code>​
Line 382: Line 387:
 Now run F4 and enjoy your new flags :-). Now run F4 and enjoy your new flags :-).
  
-Manfred "​Schumi"​ Nelles+Manfred "​Schumi"​ Nelles\\
 F4 Terrain Team F4 Terrain Team
 +
  
 ====== Important Notice! ====== ====== Important Notice! ======
  
 These tutorials in this page are **__OBSOLETE__**,​ do not use them as they do not work present day Falcon 4 installations! These tutorials in this page are **__OBSOLETE__**,​ do not use them as they do not work present day Falcon 4 installations!
falcon4/mapflag.1184061154.txt.gz · Last modified: 2009-09-13 13:29 (external edit)