by Graf Zahl » Tue Nov 01, 2016 3:30 am
Actually, what you got here is a definition error. Take a closer look:
Code: Select all
Texture "SHADELBR", 300, 1 { YScale 0.0010 Patch "SHADERBR", 0, 0 { Rotate 0 } }
Texture "SHADEUBR", 1, 300 { XScale 0.0005 Patch "SHADERBR", 0, 0 { Rotate 90 } }
Texture "SHADERBR", 300, 1 { YScale 0.0010 Patch "SHADERBR", 0, 0 { Rotate 180 } }
Texture "SHADEDBR", 1, 300 { XScale 0.0005 Patch "SHADERBR", 0, 0 { Rotate 90 } }
The third entry here is redefining the name, but with the new two stage approach this definition gets picked up now by all of these, except for itself. You already added some fudging to the fourth entry to compensate for this but the other two were previously based on the original patch but now aren't anymore.
This happens because you placed your patches in the 'graphics' directory/namespace, meaning that ZDoom can not prioritize the textures by their use type and picks the last one with a matching name because there is none in the 'patches' namespace. If you change the 'patch' to 'graphic' it will always pick up the proper one, of course you have to fix the fourth entry then.
I'm sorry, but addressing this in the engine would mean bringing back the bug this is supposed to fix. And next time, be more careful with proper texture namespaces, please. That was the only reason this broke in the first place and the only reason you already had to fudge.
Actually, what you got here is a definition error. Take a closer look:
[code]
Texture "SHADELBR", 300, 1 { YScale 0.0010 Patch "SHADERBR", 0, 0 { Rotate 0 } }
Texture "SHADEUBR", 1, 300 { XScale 0.0005 Patch "SHADERBR", 0, 0 { Rotate 90 } }
Texture "SHADERBR", 300, 1 { YScale 0.0010 Patch "SHADERBR", 0, 0 { Rotate 180 } }
Texture "SHADEDBR", 1, 300 { XScale 0.0005 Patch "SHADERBR", 0, 0 { Rotate 90 } }
[/code]
The third entry here is redefining the name, but with the new two stage approach this definition gets picked up now by all of these, except for itself. You already added some fudging to the fourth entry to compensate for this but the other two were previously based on the original patch but now aren't anymore.
This happens because you placed your patches in the 'graphics' directory/namespace, meaning that ZDoom can not prioritize the textures by their use type and picks the last one with a matching name because there is none in the 'patches' namespace. If you change the 'patch' to 'graphic' it will always pick up the proper one, of course you have to fix the fourth entry then.
I'm sorry, but addressing this in the engine would mean bringing back the bug this is supposed to fix. And next time, be more careful with proper texture namespaces, please. That was the only reason this broke in the first place and the only reason you already had to fudge.