xboxscene.org forums

Pages: [1] 2 3 ... 5

Author Topic: Anyone Want The Weather Back?  (Read 642 times)

Chunk_1970

  • Archived User
  • Full Member
  • *
  • Posts: 128
Anyone Want The Weather Back?
« on: June 07, 2006, 11:30:00 AM »

Hi,

I know some people and also myself love the new skin but miss having the weather on view.

Im new to this but have had a play around today and modified the Home.xml script so that instead of the gamercard we have the weather back. I have left the area as a button so when clicked will give you the detailed weather info.

Basically replace the GAMERTAG section in Home.xml with this:


      <controlgroup id="50">

      <control>
         <description>GamerCard Button</description>
         <type>button</type>
         <id>4</id>
         <posx>156</posx>
         <posy>77</posy>
         <width>262</width>
         <height>125</height>
         <onleft>1</onleft>
         <onright>2</onright>
         <onup>11</onup>
         <ondown>5</ondown>
         <onclick>ActivateWindow(Weather)</onclick>
         <pulseonselect>no</pulseonselect>
         <visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
         <animation effect="fade" time="100">WindowOpen</animation>
      </control>

      
      <control>
         <description>current temp label</description>
         <type>label</type>
         <id>23</id>
         <posx>180</posx>
         <posy>90</posy>
         <label>-</label>
         <info>Weather.Location</info>
         <font>font13</font>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <visible>System.HasNetwork</visible>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>225</id>
         <posx>210</posx>
         <posy>140</posy>
         <font>font18</font>
         <info>Weather.Temperature</info>
         <textcolor>FF000000</textcolor>
         <visible>System.HasNetwork</visible>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>logo image</description>
         <type>image</type>
         <id>227</id>
         <posx>300</posx>
         <posy>110</posy>
         <width>70</width>
         <height>70</height>
         <info>Weather.Conditions</info>
         <visible>System.HasNetwork</visible>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>


      <control>
         <description>NO TEMP</description>
         <type>label</type>
         <id>228</id>
         <posx>190</posx>
         <posy>100</posy>
         <font>font13</font>
         <label>Weather Unavailable</label>
         <textcolor>FF000000</textcolor>
         <visible>!System.HasNetwork</visible>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>NO TEMPS</description>
         <type>image</type>
         <id>229</id>
         <posx>220</posx>
         <posy>120</posy>
         <texture>TWClogo_64px.png</texture>
         <visible>!System.HasNetwork</visible>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>



I also changed the background in the weather window to match the themes + i did not like orange so changed it to purple as follows:

File: Myweather.xml:
Look for this area. All I changed was filename in the <texture> tags.

      <control>
         <description>Orange Background Static Alpha</description>
         <type>image</type>
         <posx>0</posx>
         <posy>0</posy>
         <width>720</width>
         <height>576</height>
         <visible>!Skin.String(KAI)</visible>
         <texture>background-purple-alpha.png</texture>
         <animation effect="fade" delay="100" time="750" condition="Window.Next(12999)">WindowClose</animation>
      </control>

Hope Blackbolt team dont mind. Its a superb skin...Just needed my Weather at the forefront..

Enjoy..
Logged

joymonkey

  • Archived User
  • Newbie
  • *
  • Posts: 11
Anyone Want The Weather Back?
« Reply #1 on: June 07, 2006, 11:38:00 AM »

Thanks! I was going to try doing exactly the same thing when I got the chance later today. Is there enough room in there for the system time too?
Logged

permarco

  • Archived User
  • Newbie
  • *
  • Posts: 16
Anyone Want The Weather Back?
« Reply #2 on: June 07, 2006, 11:33:00 AM »

thanks a lot biggrin.gif
Logged

Leglez

  • Archived User
  • Sr. Member
  • *
  • Posts: 262
Anyone Want The Weather Back?
« Reply #3 on: June 07, 2006, 12:43:00 PM »

Thanks
Logged

failurbydesign

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
Anyone Want The Weather Back?
« Reply #4 on: June 07, 2006, 12:45:00 PM »

but i want it on all blades...how do i do that?
Logged

Chunk_1970

  • Archived User
  • Full Member
  • *
  • Posts: 128
Anyone Want The Weather Back?
« Reply #5 on: June 07, 2006, 12:57:00 PM »

To replace it on all Blades you will need to also modify:

Gamercard section in: custom1112_GamesHome.xml
Gamercard section in: custom1113_KAIHome.xml

Then this will replace the gamercard on all blades with the weather.

I am looking into putting different info on the other blades. I was going to replace the gamertag on the Games blade to report disc space and system temps. Maybe ip and network stuff on the XLink blade..
Logged

failurbydesign

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
Anyone Want The Weather Back?
« Reply #6 on: June 07, 2006, 12:59:00 PM »

can you make an option to choose between gamercard and weather?  That would be the best...great work by the way!!!!
Logged

Chunk_1970

  • Archived User
  • Full Member
  • *
  • Posts: 128
Anyone Want The Weather Back?
« Reply #7 on: June 07, 2006, 01:06:00 PM »

I am new to this.
 I've had Xbmc for sometime but never even looked at how skins were created until today so Im just playing around really. Might have a look into it though..Im not part of the blackbolt team so I hope they implement some peoples ideas that they think will increase the appeal of this skin.
Logged

sportsguy1237

  • Archived User
  • Newbie
  • *
  • Posts: 13
Anyone Want The Weather Back?
« Reply #8 on: June 07, 2006, 01:29:00 PM »

have gamercard/network info on xlink blade, hd info on games blade, other random info on progs blade, and sytem blade dosnt have it,

and put the weather on the bottom in between the button id's
Logged

CatDad

  • Archived User
  • Newbie
  • *
  • Posts: 27
Anyone Want The Weather Back?
« Reply #9 on: June 07, 2006, 01:37:00 PM »

I pasted the following over the mc360 logo section to have the date show instead of the logo. ...I'll work on the time showing later....

<control>
         <description>MC360 Logo</description>
         <description>date label</description>
      <type>label</type>
      <id>0</id>
      <posx>582</posx>
      <posy>75</posy>
      <label>date</label>
      <info>System.Date</info>
      <align>right</align>
      <font>special12</font>
      <visible>![Player.HasAudio + System.IdleTime(60)]</visible>
      <animation effect="fade" time="1000">VisibleChange</animation>
    </control>
Logged

Chunk_1970

  • Archived User
  • Full Member
  • *
  • Posts: 128
Anyone Want The Weather Back?
« Reply #10 on: June 07, 2006, 03:21:00 PM »

Hi, Just another little mod for those that want it. This will replace the gamertag on  the GAMES BLADE with time date, disk space, cpu temp etc. Also if you click on it it will take you to the filemanager screen.

Enjoy.  

Replace the GAMERTAG code in custom1112_GamesHome.xml with this:


      <controlgroup id="50">

      <control>
         <description>GamerCard Button</description>
         <type>button</type>
         <id>4</id>
         <posx>156</posx>
         <posy>77</posy>
         <width>262</width>
         <height>125</height>
         <onleft>1</onleft>
         <onright>2</onright>
         <onup>11</onup>
         <ondown>5</ondown>
         <onclick>ActivateWindow(MyFiles)</onclick>
         <pulseonselect>no</pulseonselect>
         <visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
         <animation effect="fade" time="100">WindowOpen</animation>
      </control>

      
      <control>
         <description>current temp label</description>
         <type>label</type>
         <id>224</id>
         <posx>180</posx>
         <posy>90</posy>
         <info>System.Time</info>
         <font>font12</font>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>225</id>
         <posx>240</posx>
         <posy>90</posy>
         <font>font12</font>
         <info>System.Date</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>225</id>
         <posx>180</posx>
         <posy>108</posy>
         <font>font12</font>
         <label>C:</label>
         <info>System.FreespaceĀ©</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>


      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>225</id>
         <posx>180</posx>
         <posy>126</posy>
         <font>font12</font>
         <label>E:</label>
         <info>System.Freespace(E)</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>225</id>
         <posx>180</posx>
         <posy>144</posy>
         <font>font12</font>
         <label>F:</label>
         <info>System.Freespace(F)</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>225</id>
         <posx>330</posx>
         <posy>108</posy>
         <font>font12</font>
         <label>CPU:</label>
         <info>System.CPUTemperature</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>


      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>225</id>
         <posx>330</posx>
         <posy>126</posy>
         <font>font12</font>
         <label>GPU</label>
         <info>System.GPUTemperature</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>


      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>226</id>
         <posx>180</posx>
         <posy>162</posy>
         <font>font12</font>
         <label>Build V/D:</label>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>

      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>227</id>
         <posx>255</posx>
         <posy>162</posy>
         <font>font12</font>
         <label>Build</label>
         <info>System.BuildVersion</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>
      <control>
         <description>current temp static label</description>
         <type>label</type>
         <id>228</id>
         <posx>300</posx>
         <posy>162</posy>
         <font>font12</font>
         <label>Build</label>
         <info>System.BuildDate</info>
         <textcolor>FF000000</textcolor>
         <include>shadow-grey</include>
         <animation effect="fade" end="0" time="100">WindowClose</animation>
      </control>





This post has been edited by Chunk_1970: Jun 7 2006, 10:22 PM
Logged

Blackbolt

  • Archived User
  • Hero Member
  • *
  • Posts: 1065
Anyone Want The Weather Back?
« Reply #11 on: June 07, 2006, 03:36:00 PM »

I have said it before and I will say it again,

FUCKING WEATHER ON THE HOMEPAGE!!!!!!!!!!!!! GRRRRRR
Logged

failurbydesign

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
Anyone Want The Weather Back?
« Reply #12 on: June 07, 2006, 03:50:00 PM »

QUOTE(Blackbolt @ Jun 7 2006, 02:07 PM) *

I have said it before and I will say it again,

FUCKING WEATHER ON THE HOMEPAGE!!!!!!!!!!!!! GRRRRRR



but what do you mean?
Logged

Pheidias

  • Archived User
  • Hero Member
  • *
  • Posts: 537
Anyone Want The Weather Back?
« Reply #13 on: June 07, 2006, 04:01:00 PM »

I'd use this instead of chunks since he forgot to edit in the visible and animation effect to replica the gamertags


<controlgroup id="50">

<control>
<description>GamerCard Button</description>
<type>button</type>
<id>4</id>
<posx>156</posx>
<posy>77</posy>
<width>262</width>
<height>125</height>
<onleft>1</onleft>
<onright>2</onright>
<onup>11</onup>
<ondown>5</ondown>
<onclick>ActivateWindow(MyFiles)</onclick>
<pulseonselect>no</pulseonselect>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>


<control>
<description>current temp label</description>
<type>label</type>
<id>224</id>
<posx>180</posx>
<posy>90</posy>
<info>System.Time</info>
<font>font12</font>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>

<control>
<description>current temp static label</description>
<type>label</type>
<id>225</id>
<posx>240</posx>
<posy>90</posy>
<font>font12</font>
<info>System.Date</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>

<control>
<description>current temp static label</description>
<type>label</type>
<id>225</id>
<posx>180</posx>
<posy>108</posy>
<font>font12</font>
<label>C:</label>
<info>System.Freespace©</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>


<control>
<description>current temp static label</description>
<type>label</type>
<id>225</id>
<posx>180</posx>
<posy>126</posy>
<font>font12</font>
<label>E:</label>
<info>System.Freespace(E)</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>

<control>
<description>current temp static label</description>
<type>label</type>
<id>225</id>
<posx>180</posx>
<posy>144</posy>
<font>font12</font>
<label>F:</label>
<info>System.Freespace(F)</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>

<control>
<description>current temp static label</description>
<type>label</type>
<id>225</id>
<posx>330</posx>
<posy>108</posy>
<font>font12</font>
<label>CPU:</label>
<info>System.CPUTemperature</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>


<control>
<description>current temp static label</description>
<type>label</type>
<id>225</id>
<posx>330</posx>
<posy>126</posy>
<font>font12</font>
<label>GPU</label>
<info>System.GPUTemperature</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>


<control>
<description>current temp static label</description>
<type>label</type>
<id>226</id>
<posx>180</posx>
<posy>162</posy>
<font>font12</font>
<label>Build V/D:</label>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>

<control>
<description>current temp static label</description>
<type>label</type>
<id>227</id>
<posx>255</posx>
<posy>162</posy>
<font>font12</font>
<label>Build</label>
<info>System.BuildVersion</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>

<control>
<description>current temp static label</description>
<type>label</type>
<id>228</id>
<posx>300</posx>
<posy>162</posy>
<font>font12</font>
<label>Build</label>
<info>System.BuildDate</info>
<textcolor>FF000000</textcolor>
<include>shadow-grey</include>
<visible>!Control.HasFocus(1) + !Control.HasFocus(2)</visible>
<animation effect="fade" time="100">WindowOpen</animation>
</control>




This post has been edited by Pheidias: Jun 7 2006, 11:06 PM
Logged

failurbydesign

  • Archived User
  • Jr. Member
  • *
  • Posts: 80
Anyone Want The Weather Back?
« Reply #14 on: June 07, 2006, 04:06:00 PM »

Pheidias, post a screen..please?

This post has been edited by failurbydesign: Jun 7 2006, 11:10 PM
Logged
Pages: [1] 2 3 ... 5