Daggerfall Mod talk:Image formats/Texture

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Texture Scaling[edit]

Added information about texture scaling when they are used as flats (i.e. billboards) in a 3D scene. Proper scaling of flats will ensure that NPCs and other environmental objects are aligned properly with the floor and fit correctly into their environment. These values were previously Unknown2 and Unknown3 of the TextureRecord header. Note these aren't a scale in the normal sense of the word, rather an "amount to shrink or enlarge the billboard". Divide by 256 to obtain the change value (like any DF 3D point). A values of -0.5 means "shrink size by half", and +0.5 means "enlarge size by half". A value of 0.0 means no change.

This has been tested using my scene builders at www.dfworkshop.net. Implementation fixed all billboard scaling and placement issues. One observed exception is foliage (i.e. TEXTURE.500 through TEXTURE.511) does not appear to use scaling in dungeons. This may be related to TextureRecord.Unknown1, but more research is needed.

Interkarma 16:54, 25 September 2009 (UTC)

Is some of the unknown data related to the child guard feature?[edit]

I might get around to looking at it later, but just wondering if anybody's looked to see if the unknown values include data the game uses for the child guard feature. --67.215.20.248 15:05, 11 July 2019 (UTC)

That is a damned good question, but I'm not aware of any "adult" textures. There are several flats with bare-assed titties though! Well, one could explore this hypothesis by activating the child-guard and then fiddling with these bits. Uniblab (talk) 16:24, 11 July 2019 (UTC)
I swear I had an account on here... Anyway, yes I've been looking into either modding the base game or making a mod for the new Unity engine, because the child guard still misses quite a few of those bare chests. It seems to make most of the character "decorations" just disappear,like the women that appear in the rooms of taverns. I've been trying to figure out how the game made these changes, and looking into the Daggerfall Unity modding tools I wondered if some of these unknown bits of data are what tells the game to skip the textures, then I could easily just mod the additional textures.
I'll probably start with checking that unknown data on textures I know are filtered and see if there's a correlation. --Fulano5321 (talk) 17:40, 11 July 2019 (UTC)
Well, seems not. At least the 4 textures I looked at the "Unknown1" info didn't have any relation to the other, and I know two of them were filtered by the child guard and the other two weren't. What I've been able to find out about the child guard is you just need to create a file called DAGGER.GRD in the Arena2 folder and the game does it's thing, so it's something hard coded in the game. --Fulano5321 (talk) 20:59, 15 July 2019 (UTC)