Problem with basichome.xml (1 Viewer)

wusel

Portal Pro
November 3, 2011
59
4
Home Country
I tried to edit the xml to replace the radio-button with multishortcut. When I launch Mediaportal it seems that I can't navigate to this button (there is no hover-effect and 'activate' the button). Maybe you can find what I did wrong :)
 

Attachments

  • BasicHome.xml
    24.4 KB

Zoidberg77

MP Donator
  • Premium Supporter
  • July 12, 2011
    392
    206
    Home Country
    Germany Germany
    Hi,
    you will need to change the <id> of Kylo to 3:
    Code:
    <description>Kylo</description>
    	  <type>button</type>
    	  <id>3</id>
     

    wusel

    Portal Pro
    November 3, 2011
    59
    4
    Home Country
    Zoidberg77: But I don't want this button to have ID 3 because it will bring me to the radio.
     

    legnod

    MP Donator
  • Premium Supporter
  • September 24, 2011
    1,115
    323
    Stuttgart
    Home Country
    Germany Germany
    Nope @ wusel...the id id says nothing about the linked item!
    the <hyperlink></hyperlink> parameter is used for for that!

    XML:
    	<control>
    	  <description>Kylo</description>
    	  <type>button</type>
    	  <id>3</id>
    			<posX>52</posX>
    		<posY>613</posY>
    	  <width>594</width>
    	  <height>241</height>
    	  <textureFocus>basichome_menu_item_label_overlay.png</textureFocus>
    	  <textureNoFocus>basichome_menu_item_label_overlay.png</textureNoFocus>
    	  <hyperlink>30</hyperlink>

    Change the Hyperlink parameter to the value of the xml file you want to link to. The xml file has got an <id></id> tag on top...copy it and replace the current hyperlink id inside your basichome!
     
    Last edited:

    Users who are viewing this thread

    Top Bottom