xboxscene.org forums

Author Topic: Round Prview Vids  (Read 78 times)

A1patriot

  • Archived User
  • Newbie
  • *
  • Posts: 32
Round Prview Vids
« on: March 18, 2004, 06:59:00 AM »

QUOTE (speedspeed @ Mar 18 2004, 03:12 PM)
i got the round icons
but the vids are stil square
whatever i change it doesnt seems to work
this is what i got

<Main globe="False" Orb="False">
  <InfoFont>Verdana_10.xpr</InfoFont>
  <Image Top="180" Left="40" width="283" Height="264">icon.png</Image>
  <Image Top="205" Left="60" Width="275" Height="225" Source="GamePreview" />
  <GameIcon Enable="True">
    <Position Top="210" Left="75" Width="218" Height="216" />
  </GameIcon>
  <Background EnableAudio="False">bg.png</Background>
    <Menu smooth="True" Align="Left" ShowArrows="False" ShowIcon="False" Rotate="False">
        <Position left="382" Top="114" Width="196" Height="211"/>
   <Font>menufont.xpr</Font>
   <Preview EnableAudio="True" Top="205" Left="60" Width="275" Height="225" />
    </Menu>

hi

u need an image overlaying (sittin on top of) the preview video, giving the illusion of a round video clip.

see my kyrus_mod skin on axs (look at the preview_mask.png)

also the image overlay<Image Left="268" Top="278" Width="253" Height="164">preview_mask.png</Image>must be put in the xml after the preview vid text, that's just the way unleashX reads the xml eg:


        <Main Globe="True" Orb="False" Fog="False">
                 <BackGround EnableAudio="False">bg.png</BackGround>
                 <Image Left="65" Top="75" Width="100" Height="100" Source="GameIcon" />
                 <Image Left="65" Top="75" Width="100" Height="100">icon_mask.png</Image>

                 <Menu Smooth="False" Align="Left" ShowIcon="False" Rotate="False" ShowArrows="True">
                          <Position Top="132" Left="317" Width="126" Height="81" Fixed="False" FixAt="3" MaxItem="4"></Position>
                 <Font>verdana_10.xpr</Font>
                          <Preview EnableAudio="False" Top="289" Left="290" Width="230" Height="135" />
                 </Menu>

                 <InfoFont>Verdana_10.xpr</InfoFont>
   <Text Left="495" Top="70"             Align="Left"   Color="0xFF00CE00" Source="IP:$IP$"></Text>
   <Text Left="461" Top="90" Width="170" Align="Middle" Color="0xFF00CE00" Source="F:\$F_FreeMB$"></Text>
   <Text Left="40" Top="400" Width="150" Align="Left" Color="0xFF00CE00" Source="Soundtrack"></Text>
   <Text Left="20" Top="420" Width="150" Align="Middle" Color="0xFF00CE00" Source="$SongName$"></Text>
   <Text Left="185" Top="3" Align="center" Color="0xFF00CE00" Source="*news* $Newsfeed$" />
     <Image Source="GamePreview" />
                 <Image Left="268" Top="278" Width="253" Height="164">preview_mask.png</Image>
                 </Main>



Just make sure your image has a hole in it so the video clip can show thru wink.gif

hope i have helped (i searched hi and low on this topic myself lol) biggrin.gif
Logged