2016-09-16, 20:38
(2016-09-16, 20:31)Solo0815 Wrote: @mike:Not going to add an include for 1 line unless I actually need to, that is what find & replace is for
In the Live-TV info code, there is
with this animationCode:<texture border="40">dialogs/default/bg.png</texture>
which gives a nice semi-transparent BG. In many other XMLs there is only the "texture"-line from above without any "animation". This gives non-transparent windows. That is inconsistent. Is this a wanted behaviour?Code:<animation effect="fade" reversible="false" end="85" time="0" condition="true">Conditional</animation>
If not, I suggest adding a include with this lines
and call it later with a include-tag. If wanted the "85" could be replaced with a Variable, where the user can choose the transparency of the dialogs.Code:<texture border="40">dialogs/default/bg.png</texture>
<animation effect="fade" reversible="false" end="85" time="0" condition="true">Conditional</animation>
The include has the advantage, that if you want to replace the animation, texture or the transparency, you only have to edit ONE include, instead of 6534 appearences
Two things... First is that the easiest way would be to delete all those colordiffuse and animation tags and have someone with some Photoshop skills change the textures to be 15% more transparent and the second is that you cannot use a variable that way... I already tried it long ago