Daggerfall:Land creation notes
The UESPWiki – Your source for The Elder Scrolls since 1995
|To meet our site's higher standard of quality, this article or section may require cleanup. It currently falls under the jurisdiction of the Daggerfall Redesign Project, but anyone is welcome to improve upon the quality of this page.
To leave a message about the cleanup for this article, please add it to this article's
 Steps to create a map 'block' or pixel
The entire DF map is composed of 1000x500 land pixels, each of which is further divided into 5x5 subpixels as per the WOODS.WLD data. Each pixel can contain only one town or dungeon and has a given terrain type, texture, and roughness.
 All Pixels
- Generate land pixel from WOODS.WLD.
- Smooth edges with adajacent pixels.
- Add flats to landscape (trees, bushes, rocks, etc.).
- Check for a location within the pixel. Currently, the only known way to do this is to check all the locations within the current region. It may be indicated by the first two bytes in a pixel record in WOODS.WLD, but this is not yet confirmed.
- Load just the maptable for the region, if not loaded.
- Check all locations or a pixel-coordinate match.
- Stop search on first match.
 Location Only Pixels
- Load entire location from MAPS.BSA.
- Smooth appropiate land for location. How to get width/height for location or just smooth entire pixel? Smoothing should not be absolute, there should still be some random 'ripple'. If the entire pixel is to be smoothed, this could be done in All Pixels Step 1.
- Parse through the object list in the map record (post records).