falcon4:mapflag
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
falcon4:mapflag [2007/07/07 07:19] – created mapflag initial page snakeman | falcon4:mapflag [2024/07/31 11:14] (current) – links added. snakeman | ||
---|---|---|---|
Line 2: | Line 2: | ||
These tutorials in this page are **__OBSOLETE__**, | These tutorials in this page are **__OBSOLETE__**, | ||
+ | |||
+ | You should also reference [[falcon4: | ||
+ | |||
====== Map / Flag Tutorial ====== | ====== Map / Flag Tutorial ====== | ||
+ | |||
+ | [[https:// | ||
**TE Map Image Creation** | **TE Map Image Creation** | ||
Line 9: | Line 14: | ||
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 " | 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 " | ||
- | Use tga2res.pl perl script to convert the map to idx/rsc files ([[http:// | + | Use tga2res.pl perl script to convert the map to idx/rsc files, download |
< | < | ||
Line 48: | Line 53: | ||
</ | </ | ||
- | 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 61: | Line 66: | ||
< | < | ||
- | art\resource\mainbg.irc | + | art\resource\mainbg.irc |
- | art\resource\main.irc | + | art\resource\main.irc |
- | art\resource\local.irc | + | art\resource\local.irc |
- | art\resource\imagerc.irc | + | art\resource\imagerc.irc |
- | art\resource\pilots.irc | + | art\resource\pilots.irc |
- | art\resource\patches.irc | + | art\resource\patches.irc |
art\resource\vietnam-small.irc | art\resource\vietnam-small.irc | ||
</ | </ | ||
Line 83: | Line 88: | ||
Done, your TE map images are finished. | Done, your TE map images are finished. | ||
+ | |||
====== JSTARS Map Tutorial ====== | ====== JSTARS Map Tutorial ====== | ||
Line 128: | Line 134: | ||
" | " | ||
</ | </ | ||
- | with | + | with |
< | < | ||
" | " | ||
Line 144: | Line 150: | ||
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 151: | Line 158: | ||
General information: | General information: | ||
- | All graphics in Falcon4 are flipped upside down, as you may already know from the big campaign map. Thus don't forget to flip the flag graphics, too. | + | All graphics in Falcon4 are flipped upside down, as you may already know from the big campaign map. Thus don't forget to flip the flag graphics, too. |
Before you start, you have to know which korean country you want to exchange with a country from your theater. | Before you start, you have to know which korean country you want to exchange with a country from your theater. | ||
Line 184: | Line 191: | ||
* SMALLFRY.tga (small TE flag version) | * SMALLFRY.tga (small TE flag version) | ||
- | You are totally free in namimg | + | You are totally free in naming |
Now we create the script file. Open Notepad text editor. | Now we create the script file. Open Notepad text editor. | ||
Line 217: | Line 224: | ||
</ | </ | ||
- | 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 " | + | 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 " |
- | 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, | The second entry per line is the Falcon4 ID the picture shall get (SMALLALBANIA, | ||
- | The third is the filename | + | The third is the file name of the TGA graphic, the fourth and fifth value is always " |
Running the script: | Running the script: | ||
- | I assume that you have a Windows or Unix/ | + | I assume that you have a Windows or Unix/ |
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 244: | ||
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 " | + | These need to be placed into " |
Setting up F4 to use the new flags: | Setting up F4 to use the new flags: | ||
Line 267: | Line 274: | ||
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 | + | 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 |
< | < | ||
Line 273: | Line 280: | ||
</ | </ | ||
- | * search for " | + | * search for " |
The first contains OOB_FLAGS_NKOREA, | The first contains OOB_FLAGS_NKOREA, | ||
Line 288: | Line 295: | ||
* search for " | * search for " | ||
- | 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, | + | 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, |
< | < | ||
Line 322: | Line 329: | ||
</ | </ | ||
- | * scroll down until you find the first occurence | + | * scroll down until you find the first occurrence |
< | < | ||
Line 382: | Line 389: | ||
Now run F4 and enjoy your new flags :-). | Now run F4 and enjoy your new flags :-). | ||
- | Manfred " | + | Manfred " |
F4 Terrain Team | F4 Terrain Team | ||
+ | |||
====== Important Notice! ====== | ====== Important Notice! ====== | ||
These tutorials in this page are **__OBSOLETE__**, | These tutorials in this page are **__OBSOLETE__**, | ||
+ |
falcon4/mapflag.1183792759.txt.gz · Last modified: 2007/07/10 09:52 (external edit)