Tutorial to make TER & FOG map files for Warcraft 1 with TiledHello. I have some free time, so I make project files for Tiled and tilesets to fit Warcraft map format.
I make tilesets by hand, so maybe have errors. Feel free to report if Tiled gfx not fit in game.
We need:
TiledTiled to Binary Converter 2Wardraft 1.4aHexEditor or Notepad
Attached Tiled files
Make copy of your DATA.WAR file.
Open Tiled file - WarcraftCave.tmx, WarcraftForest.tmx or WarcraftSwamp.tmx.
Select TER layer and tileset. Draw map. Tileset have many images for compatibility, so don't use walls, roads etc. to draw map.
IMPORTANT! If you select layer, you must select tileset manualy. This not work automatically.
Ok we have map. Now place working trees, water/wall, cave exit. Select FOG layer and Fog tileset and draw.
E = Cave exit. Heroes must step on it to end mission. Place like 5x5 etc.
T = Trees.
W = Collision. Place on water for forest/swamp or on walls in cave.
Remove only with Tiled "Eraser" tool, don't use black tile.
If map is done, Save as... like Human01Full.tmx. Now we need to split data. Remove FOG layer (right click/Remove Layers) and Fog tileset (trashcan), map Save as... Human01TER.tmx. Open Human01Full.tmx, remove TER layer and terrain tileset and Save As... Human01FOG.tmx.
Run Tiled to Binary Converter 2, set to 16bit and unselect all options.
Load Human01TER.tmx, Save as 63.bin. Load Human01FOG.tmx, Save as 64.bin.
Now we have two binary files, but too large 8227 bytes per file. Open 63.bin and 64.bin in Hex editor or Notepad and remove first 35 bytes to fit 8192 bytes. Save files, remove .bin extension.
Open Wardraft 1.4a. Load DATA.WAR. Select 63:, "Import a file"
Load 63 map, select replace, compress and import. Select DATA.WAR to modify. Repeat with 64:.
Run Warcraft and start human campaign.
We only make 2 of 4 map files. I change some bytes in file 117 to change tileset to swamp for Human01 map.