Hey everyone,
I have been looking at making a total conversion mod for DFU for quite some time now. I would like to replace the current height map for Daggerfall with a completely different height map. Is there anyway to do this?
Custom Worlds in Daggerfall Unity
- Interkarma
- Posts: 7244
- Joined: Sun Mar 22, 2015 1:51 am
Re: Custom Worlds in Daggerfall Unity
Yes, you can do this with a custom TerrainSampler registration from your mod. Your terrain sampler can draw heightmap information from anywhere you want. The only stipulation is to meet the interface and design requirements of Daggerfall's world configuration.
There are a few TerrainSampler examples to learn from: DefaultTerrainSampler (which DFU uses to sample from the classic game data), NoiseTerrainSampler (Perlin noise), and SimpleTerrainSampler (all flat).
You can also check out Enhanced Terrain and Mountains & Hills mods for examples of mods that manipulate Daggerfall's terrain.
There are a few TerrainSampler examples to learn from: DefaultTerrainSampler (which DFU uses to sample from the classic game data), NoiseTerrainSampler (Perlin noise), and SimpleTerrainSampler (all flat).
You can also check out Enhanced Terrain and Mountains & Hills mods for examples of mods that manipulate Daggerfall's terrain.