Colored Video Dialog Info
Added: November 16th, 2014
Updated: December 21st, 2014
Placed right arrow in correct place if more then 4 buttons
added missing writer and director images
This mod incorporates phil65's brilliant color fusion code into Warlion's (and skins based off of it) into the dialog page.
All credit for this brilliant addition is 100% Phil65's and his mad code skills!!!
All I did was incorporate his work into this.
Screenshots:
Instructions:
Backup the following files:
includes.xml
variables.xml
DialogVideoInfo.xml
Open includes.xml:
find:
Code:
<include name="DialogVideoInfoButton">
<width>254.5</width>
<height>50</height>
<textoffsetx>0</textoffsetx>
<textoffsety>4</textoffsety>
<align>center</align>
<aligny>top</aligny>
<texturefocus border="8">views/tripanel/listselect_fo.png</texturefocus>
<texturenofocus>button-nofocus.png</texturenofocus>
<font>Font_Reg30_2</font>
<textcolor>grey</textcolor>
<disabledcolor>66868686</disabledcolor>
<focusedcolor>white2</focusedcolor>
<colordiffuse>$VAR[FocusTextureColorVar]</colordiffuse>
<onup>CancelAlarm(ActorIconMove,true)</onup>
<onup>600</onup>
</include>
Replace With:
Code:
<!--
<include name="DialogVideoInfoButton">
<width>254.5</width>
<height>50</height>
<textoffsetx>0</textoffsetx>
<textoffsety>4</textoffsety>
<align>center</align>
<aligny>top</aligny>
<texturefocus border="8">views/tripanel/listselect_fo.png</texturefocus>
<texturenofocus>button-nofocus.png</texturenofocus>
<font>Font_Reg30_2</font>
<textcolor>grey</textcolor>
<disabledcolor>66868686</disabledcolor>
<focusedcolor>white2</focusedcolor>
<colordiffuse>$VAR[FocusTextureColorVar]</colordiffuse>
<onup>CancelAlarm(ActorIconMove,true)</onup>
<onup>600</onup>
</include>
-->
<include name="DialogVideoInfoButton">
<width>280</width>
<height>90</height>
<textoffsetx>0</textoffsetx>
<align>center</align>
<aligny>center</aligny>
<texturefocus border="40" colordiffuse="$INFO[Window(home).Property(VideoInfo.ImageColor)]">buttons/roundedbutton-focus.png</texturefocus>
<texturenofocus border="40" colordiffuse="$INFO[Window(home).Property(VideoInfo.ImageColor)]">buttons/roundedbutton-nofocus.png</texturenofocus>
<font>Font_Reg30_2</font>
<textcolor>grey</textcolor>
<disabledcolor>66868686</disabledcolor>
<focusedcolor>white2</focusedcolor>
</include>
Open
variables.xml:
Find:
Code:
<variable name="GlobalPlotVar">
<value condition="skin.hassetting(backendmode) + SubString(ListItem.Path,videodb://movies/sets/,left) + !Control.IsVisible(518)">$INFO[Window(home).Property(Set.Movies.ExtendedPlot)]</value>
<value condition="System.HasAddon(script.metadata.actors) + [Container.Content(actors) | Container.Content(directors)]">$INFO[Window.Property(current.actor.biography)]</value>
<value condition="Container.Content(seasons)">$INFO[Container.ShowPlot]</value>
<value condition="!Skin.HasSetting(preferplot) + !IsEmpty(ListItem.PlotOutline)">$INFO[ListItem.PlotOutline]</value>
<value>$INFO[ListItem.Plot]</value>
</variable>
After that area, add:
Code:
<variable name="PlotOutlineVar">
<value condition="!IsEmpty(ListItem.PlotOutline)">$INFO[ListItem.PlotOutline]</value>
<value>$INFO[ListItem.Plot]</value>
</variable>
Download and install:
https://github.com/phil65/script.toolbox
Download this zip:
Dialog Color Mod
added buttons folder to zip... opps
Copy over the DialogVideoInfo.xml into your 1080i folder (backup your original first)
Copy over the videodiffuseoverlay.png into your media folder
Copy over the buttons folder to your media folder
Note: I use shedrock's Media flags from his Shednox mod (as you can see from the screenshots), not sure if this will affect the layout of other versions, if it does, just let me know and I'll modify it.