2014-04-23, 17:40
(2014-04-22, 20:52)bokkoman Wrote: Thank you.
I read something about <colordiffuse> to dim a background. But I wouldn't know where I would put that code.
Maybe colordiffuse would be a better way to dim a background instead of a picture? But I'm not into skinning at all, so I wouldn't know
Thanks for all your help!
**edit**
I think nox5 is using blk.png for dimming. I saw that in code somewhere.
You'll need to add the following code at the end of the first control group in IncludesBackgroundBuilding.xml. Also download blk60.png from my git and put it in your media folder.
Code:
<control type="image">
<posy>0</posy>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<texture>blk60.png</texture>
<visible>Control.IsVisible(502)</visible>
</control>
Alternatively, you could try this code and wouldn't need blk60.png...
Code:
<control type="image">
<visible>Control.IsVisible(502)</visible>
<posx>0</posx>
<posy>0</posy>
<width>1920</width>
<height>1080</height>
<texture>black.png</texture>
<colordiffuse>88ffffff</colordiffuse>
</control>