2014-11-28, 00:34
(2014-08-27, 00:24)ShadowTek Wrote: Colored Video Dialog Info
Added: November 16th, 2014
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.
Couldn't get it to work after 3 attempts, but maybe you can help me fix something else. All the way to the bottom, in your screen shots, it states that it is Rated R and for what reason, in my version of warlion it is rated R only. Do you know how to fix it?
thanks