Jump to content


Skinning HELP!!


  • You cannot reply to this topic
17 replies to this topic

#1 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  
Is it possible to set a transparent image as a background so I would get something like this?

Posted Image


Posted Image


#2 OFFLINE Game

    Mercurial Genius.

  • Fanboy
  • PipPip
  • 536 posts
  • Supports:  Death
  • Managing:  to be a baller.
  • Location:  Reality
  • Nationality:  
I'd ask over at SI Games. I'd think it was possible, but you'd have to find a way to remove the default background colour (which I'd imagine is in place).

#3 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  
I'd be grateful if you ask over at SI. I edited few XMLs to remove that background colour last night but all I could have was a plain black background. Obviously, I'm a knob when it comes to FM skinning. :(


Posted Image


#4 ONLINE Joaquin Bibi

    Retiring at end of season

  • Moderating Fanboy
  • 5,157 posts
  • Supports:  -
  • Managing:  -
  • Location:  -
  • Nationality:  
I doubt it you'll be able to do it through XML. My thoughts being that in VS it's a property of the form.

#5 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  

View PostJoaquin Bibi, on 02 June 2011 - 02:48 PM, said:

I doubt it you'll be able to do it through XML. My thoughts being that in VS it's a property of the form.


Posted Image

It works for Nero so I'm hopeful that we can get the same on FM.


Posted Image


#6 OFFLINE Game

    Mercurial Genius.

  • Fanboy
  • PipPip
  • 536 posts
  • Supports:  Death
  • Managing:  to be a baller.
  • Location:  Reality
  • Nationality:  

View PostHooligan Polygon, on 02 June 2011 - 02:10 PM, said:

I'd be grateful if you ask over at SI. I edited few XMLs to remove that background colour last night but all I could have was a plain black background. Obviously, I'm a knob when it comes to FM skinning. :(


I'm banned from SI :D

Erm... post up the XML file as text so we can see it?

#7 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  
Well, I replaced them with the back-up files as those edits didn't have any positive effect. :mook:


Posted Image


#8 OFFLINE Game

    Mercurial Genius.

  • Fanboy
  • PipPip
  • 536 posts
  • Supports:  Death
  • Managing:  to be a baller.
  • Location:  Reality
  • Nationality:  
Yeah, but what's the coding look like? Is there a set code defining the background colour?

If you post the XML file up, I can see the coding and maybe make a suggestion –– or someone else might be able to solve it. At the moment it's like fumbling in the dark.

#9 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  

View PostGame, on 02 June 2011 - 09:32 PM, said:

Yeah, but what's the coding look like? Is there a set code defining the background colour?

If you post the XML file up, I can see the coding and maybe make a suggestion –– or someone else might be able to solve it. At the moment it's like fumbling in the dark.


It was very late when I did those edits so I can't remember all of them. Though, I'll try to post them tomorrow.


Posted Image


#10 OFFLINE Jad

    Star man? Not so much.

  • Fanboy
  • 24 posts
  • Supports:  Manchester United
  • Managing:  Manchester United
  • Game Year:  2025
  • Aim:  Pwnage
  • Position:  1st
  • Team MVP:  William Bell
  • Location:  Walsall
  • Nationality:  
If you already know how to set an image as the background, then you could try the simplest, and possibly incorrect, solution of using an image that is completely blank and transparent, which would have to be a png file (I think).

#11 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  

View PostJad, on 05 June 2011 - 10:01 PM, said:

If you already know how to set an image as the background, then you could try the simplest, and possibly incorrect, solution of using an image that is completely blank and transparent, which would have to be a png file (I think).


Already tried. All you can see is a plain black background. :(


Posted Image


#12 OFFLINE Game

    Mercurial Genius.

  • Fanboy
  • PipPip
  • 536 posts
  • Supports:  Death
  • Managing:  to be a baller.
  • Location:  Reality
  • Nationality:  
If you posted up the xml we could see which line of code dictates the background colour. Maybe then you can set it to trqnsparent.

#13 OFFLINE Jad

    Star man? Not so much.

  • Fanboy
  • 24 posts
  • Supports:  Manchester United
  • Managing:  Manchester United
  • Game Year:  2025
  • Aim:  Pwnage
  • Position:  1st
  • Team MVP:  William Bell
  • Location:  Walsall
  • Nationality:  
Yeah, knowing what file you've been editing could be helpful. Have you made all the images in boxes/plain transparent?

#14 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  

View PostJad, on 06 June 2011 - 03:42 PM, said:

Yeah, knowing what file you've been editing could be helpful. Have you made all the images in boxes/plain transparent?


Yup.

View PostGame, on 06 June 2011 - 09:24 AM, said:

If you posted up the xml we could see which line of code dictates the background colour. Maybe then you can set it to trqnsparent.



steklo_x1\panels\bgsmod11\backgrounds.xml

        <widget class="background" file="backgrounds/1" alpha="0">
          <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
          <attachment class="test_global_attachment" get_property="bgnd" mode="1" set_property="hidn" skip_if_null="false" skip_if_resetting="false"/>
        </widget>


fm2011 dark-widgets\settings\colours.xml

<properties version="1.0">

	<!-- standard colours used throughout the game -->
	
	<!-- misc "special" colours -->
	<colour name="selection" red="178" green="215" blue="238"/>
	<colour name="hilight" red="124" green="192" blue="235"/>
	<colour name="background" red="255" green="255" blue="255" alpha="0"/>


skins\fm2011-widgets\settings\fm2011-widgets settings.xml

	<!-- misc properties -->
	<real id="background_opacity" value="1.0" />
	<integer id="dcht" value="22" comment="default control height"/>
	
	<!-- misc "special" colours -->
	<colour name="selection" red="55" green="102" blue="154"/>
	<colour name="hilight" red="164" green="194" blue="216"/>
	<colour name="background" red="255" green="255" blue="255" alpha="0"/>


skins\fm2011\panels\global panels.xml

  <!-- background picture - covers entire screen -->
  <widget class="background" file="backgrounds/default" alpha="0">
    <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
    <attachment class="get_global_attachment" get_property="bgnd" set_property="file" skip_if_null="true"/>
  </widget> 


I might have done few more edits but I can't remember any other at the moment. These are pretty silly attempts TBH. I just added alpha settings at the end of the code.


Posted Image


#15 OFFLINE Jad

    Star man? Not so much.

  • Fanboy
  • 24 posts
  • Supports:  Manchester United
  • Managing:  Manchester United
  • Game Year:  2025
  • Aim:  Pwnage
  • Position:  1st
  • Team MVP:  William Bell
  • Location:  Walsall
  • Nationality:  
Is the alpha value not the transparency value? If that's correct (I'm not too sure), then you could surely set the settings xml to:

<!-- misc properties -->
<real id="background_opacity" value="1.0" />
<integer id="dcht" value="22" comment="default control height"/>

<!-- misc "special" colours -->
<colour name="selection" red="55" green="102" blue="154"/>
<colour name="hilight" red="164" green="194" blue="216"/>
<colour name="background" red="255" green="255" blue="255" alpha="255"/>


#16 OFFLINE Hooligan Polygon

    The King of Lucid Dreams

  • Graphics Fanboy
  • 990 posts
  • Supports:  Galatasaray
  • Managing:  Valencia
  • Game Year:  2020
  • Aim:  Winning La Liga and ECL 3 times in a row
  • Position:  1st
  • Team MVP:  Alberto Paloschi & Bahia
  • Location:  Alnilam
  • Nationality:  
Setting the alpha to 255 will make the image opaque. You need to set it zero if you want to have fully transparent image.


Posted Image


#17 OFFLINE Jad

    Star man? Not so much.

  • Fanboy
  • 24 posts
  • Supports:  Manchester United
  • Managing:  Manchester United
  • Game Year:  2025
  • Aim:  Pwnage
  • Position:  1st
  • Team MVP:  William Bell
  • Location:  Walsall
  • Nationality:  
Have you tried that then?

Edit: yeah course you have, I c+p'ed the code lol. Have you tried leaving the RGB codes blank?

Edited by Jad, 07 June 2011 - 04:45 PM.


#18 OFFLINE Game

    Mercurial Genius.

  • Fanboy
  • PipPip
  • 536 posts
  • Supports:  Death
  • Managing:  to be a baller.
  • Location:  Reality
  • Nationality:  
Try adding:

background_colour = "0"
background_image = "off"





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users