As many of you know, the existing sets of sector images have wrong numbers. The good news are that I have created a new set of images. This set should have correct sector numbers, and it also has the numbers in hexadecimal format.
(link will be updated when the file gets moved by GoldStar611)
http://files.metropolisdawn.com/Incomin ... es_NEW.zip
Please report if there are any mistakes.
I was originally going to post before, but I couldn't because my family needed the PC. Anyway, Goldstar already moved the files to the respective place, so each time I open your original link, it shows me this:
Anyway, they are already in place on "modder-tools":
And that's amazing!
All sectors from vanilla UA have now the correct numbers and have their hex values. Now it should make even easier to mod the terrain (I only mean the terrain, not height, or sector ownership, or building functions such as power stations and that). Charlotte should see your amazing progress, no doubt!
Ormu wrote:How to create your own images
The prototype package that contains the original source code also contains a sector snapshot tool (snap.exe). (See UA_source thread for links to Hidden Palace.)
To use it, first make sure that there is a folder named "snaps" inside the ENV folder. It might be a good idea to empty the snaps folder before using this tool.
Put the tool into the folder where UA is installed. Then run it from command line:
where X is a level number
such as 52 for Hamburger Hill. The tool checks what set is used by that level and renders an image of every sector in that set. The images are saved into \ENV\snaps\ in PCX format when software rendering is used and in PPM format when hardware rendering is used. XnView can open and convert both formats.
The tool uses the same configuration as the game, and it's important to use software rendering mode
. In hardware rendering mode, the first screenshot is most likely faulty (it shows a loading screen) and the other sectors have wrong numbers. I think this might be one possible reason why the old sector images have wrong numbers.
For those who don't have as much spare time but still like UA: the link of the UA Prototype with the original source code is located on the 3rd page of the UA_source thread
. When I found it, I've had to download PowerISO to extract both windsgn.exe and snap.exe from both "Urban Assault Copy and Distribute" bin. and .cue files (both "Urban Assault Copy and Distribute" files do depend on each other, though).
However, I've had to make a batch file (.bat) to make the snap.exe work and extract different sets. One question Ormu, when you extracted the images of the 214 sectors of SET2 with snap.exe, it extracted 215 images? (counting the loading screen) When I used a .bat version to extract all images from SET2 from my Fan-Made 1.2.03, it extracted 256 files, ignoring the last sector (hex ff). Well, I guess that's a limit, but not a big one, what I must do is to edit the SET.BAS and take away 1 sector, then I use snap.exe again, and it properly extracts the last sector remaining.