Hi! I hope you are well. I have come with what appear to be new bugs :_)numidium3rd wrote: ↑Sun Dec 31, 2023 5:46 pm The latest version can load images from .dfmod bundles. The replacement files still need to be in loose directories for now.
So I try to use this mods to place regional characters using sprites from DET
My idea is that the sprites from House of Dibella changes between regions. So here are the .json that I've written:
Tropical.json (Khajiit and argonian priestess in tropical regions)
Code: Select all
[
{
"Regions": [01, 22, 48, 49, 50, 51, 52, 53],
"FactionId": 29,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 184,
"TextureRecord": 18,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1014_0-",
"UseExactDimensions": true,
"FlatPortrait": 1014000
},
{
"Regions": [01, 22, 48, 49, 50, 51, 52, 53],
"FactionId": 29,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 184,
"TextureRecord": 14,
"ReplaceTextureArchive": "",
"ReplaceTextureRecord": "",
"FlatTextureName": "1014_1-",
"UseExactDimensions": true,
"FlatPortrait": 1014001
},
{
"Regions": [01, 22, 48, 49, 50, 51, 52, 53],
"FactionId": 29,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 184,
"TextureRecord": 5,
"ReplaceTextureArchive": "",
"ReplaceTextureRecord": "",
"FlatTextureName": "1014_2",
"UseExactDimensions": true,
"FlatPortrait": 1014002
}
]
Code: Select all
[
{
"Regions": [00, 01, 11, 20, 22, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 61],
"FactionId": 29,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 182,
"TextureRecord": 25,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1014_3-",
"UseExactDimensions": true,
"FlatPortrait": 1014003
}
]
Code: Select all
[
{
"Regions": [01, 52],
"FactionId": 29,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 181,
"TextureRecord": 4,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1014_4-",
"UseExactDimensions": true,
"FlatPortrait": 1014004
},
{
"Regions": [01, 52],
"FactionId": 29,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 182,
"TextureRecord": 58,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1014_5-",
"UseExactDimensions": true,
"FlatPortrait": 1014005
}
]
But if I travel to a tropical region out of Dragontail Mountains or Mournoth like Tigonus [48], this is how it looks:
Only the Senche and the alfiqs are supossed to be missing because their regions are 01 and 52. So I try without the SouthEast.json:
And suddenly works correctly. I'm also using the AlfiqsEastIliac.json and the Mournoth.json (Mournoth guards in Mournoth)
Code: Select all
[
{
"Regions": [52],
"FactionId": -1,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 183,
"TextureRecord": 2,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1016_0-",
"UseExactDimensions": true,
"FlatPortrait": 316
},
{
"Regions": [52],
"FactionId": -1,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 183,
"TextureRecord": 3,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1016_0-",
"UseExactDimensions": true,
"FlatPortrait": 316
},
{
"Regions": [52],
"FactionId": -1,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 183,
"TextureRecord": 4,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1016_0-",
"UseExactDimensions": true,
"FlatPortrait": 316
}
]
I try with the -1 in the faction ID, but it works in the same way. So this is what I think that happens: if more than a flat replacement with diferent regions happens in the same building, the flat replacement with the minimum regions overwrite the other flat replacement regions of the same building. So if the SouthEast.json is present, the regions of the Tropical.json and Hammerfell.json are automatically 01 and 52. With an unique .json happens the same.
The only exception to this is the khajiit priestess. Is not beacuse the FlatTextureName (1014_0-), but because the Texture archive and record (183 and 4). I don't know why.
Is it possible to fix this?
EDIT:
Ok, more problems
So I try with the redguard Kynareth priestess in the Temple of Kynareth. In a separate .json for search incompatibilities.
Kynareth.json
Code: Select all
[
{
"Regions": [00, 01, 11, 20, 22, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 61],
"FactionId": 35,
"BuildingType": -1,
"QualityMin": 1,
"QualityMax": 20,
"TextureArchive": 183,
"TextureRecord": 12,
"ReplaceTextureArchive": -1,
"ReplaceTextureRecord": -1,
"FlatTextureName": "1014_6-",
"UseExactDimensions": true,
"FlatPortrait": 159
}
]
Tigonus [48]
The other .json used are the sames that I shared in this post. Except they all use the same Hamerfell regions to avoid incompatibilities. After many tries I've found that the .json incompatibles are the SouthEast.json and the Mournoth.json. Without these it works:
I don't know why,
EDIT 2:
Seems that the problem with Mournoth.json is that a Mournoth guard appears in Kynareth Temple. So the regions of the Mournoth.json determines those of the Kynareth.json. Without the SouthEast.json, the Kynareth priestess appears in Mournoth, but if I change the faction of the Mournoth guard, the priestess dissapears with him. It's strange, because the faction of Mournoth.json doesn't affect the others .json.