Basic home help?? (1 Viewer)

dubstar

Portal Pro
October 23, 2006
152
1
Home Country
United Kingdom United Kingdom
Ive only been messing with skins for a few days, and I'm a bit of noob to programming and what not, but I had a skin in mind that I wanted and I'm part way to producing the desired skin, see below

newskin.jpg


Its kind of a spinny mac style built from the razor mod seen in another post.

What I am having trouble with is getting the feature name (TV, RADIO) to appear in the bottom right corner when the icons rotate. I could add the relavant logos to the PNGs of the rotating logos but I would like the flexibility of moving the feature name independatly of the logos!!!!

Pheww!! I hope that all makes sence!!

I would be grateful if some one could help me on this matter as Im so close to achieving my goal!!
 
December 28, 2005
237
3
Sydney
Home Country
You can do it with the new animations.

heres how to do it... you need to use this little bit of code
Code:
			<visible>Control.HasFocus(2)</visible>
			<animation effect="fade" time="500">VisibleChange</animation>

Now lets say the TV images has focus(user has selected it) there will be a visible change because the id number of the tv button is "2" has focus. you add this section of code to a "label" conrtol and each time this button is selected the text will fade in and when it is unselected it will fade out.

here is a exsample off what i mean.
Code:
	<control>
			<description>home BM TV</description>
			<type>button</type>
			<id>2</id>
			<posX>128</posX>
			<posY>520</posY>
			<width>243</width>
			<height>68</height>
			<textureFocus>Button_focus.png</textureFocus>													<textureNoFocus>Button_unfocus.png</textureNoFocus>
			<hyperlink>1</hyperlink>
			<hover>-</hover>
			<hoverX>265</hoverX>
			<hoverY>270</hoverY>
			<hoverWidth>204</hoverWidth>
			<hoverHeight>230</hoverHeight>
			<label>605</label>
  			<textcolor>750000ff</textcolor>
			<textYOff>15</textYOff>
			<onleft>1</onleft>
			<onright>1</onright>
			<onup>5</onup>
			<ondown>3</ondown>
			<animation effect="slide" end="50,0" time="200" delay="100">Focus</animation>
			<animation effect="slide" start="50,0" end="0,0" time="200">UnFocus</animation>
		</control>
		<control>
			<description>home BM TV label</description>
			<type>label</type>
			<id>21</id>
			<posX>128</posX>
			<posY>65</posY>
			<label>605</label>
  			<textcolor>ff0000ff</textcolor>
			<font>font40</font>
			<visible>Control.HasFocus(2)</visible>
			<animation effect="fade" time="500">VisibleChange</animation>
		</control>

now you have to make a new and different label control for each image you wish to have a label too...


hope this is what your looking for
 

dubstar

Portal Pro
October 23, 2006
152
1
Home Country
United Kingdom United Kingdom
Thanks for the info. I'm not at home this weekend, so I won't have time to try it. I will let you know how it goes when I've had chance to add the script.

Thanks again. Dan
 

Users who are viewing this thread


Write your reply...
Top Bottom