Results 1 to 3 of 3
  1. #1
    A$$ Eater
    No condoms
    VAGINITIS's Avatar
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
    Gamer IDs

    Gamertag: Predination

    Default [SC7E52] Limitless background [Help]

    i need help making the limitless background more translucent(more clear to see through)

    Can anyone help me?
    here's the script:
    Code:
    createBackground()
    {
    	if( self._configuration["layout"] == 0 || self._inEditor == 1 )
    	{
    		self._background["shader"] = newClientHudElem( self );
    		self._background["shader"] defineElement( self._configuration["bgColor"], true, "fullscreen", "fullscreen", 0, 0, 0, 0 );
    		self._background["shader"] setShader( "white", 720, 480 );
    	}
    	else if( self._configuration["layout"] == 1 )
    	{
    		self._background["shader"] = newClientHudElem( self );
    		self._background["shader"] defineElement( self._configuration["bgColor"], true, "right", "fullscreen", -260, 0, 0, 0 );
    		self._background["shader"] horzAlign( "left" );
    		self._background["shader"] setShader( "white", 800, 480 );
    	}
    }
    
    showBackground()
    {
    	self._background["shader"].alpha = 0.75;
    }
    
    hideBackground()
    {
    	self._background["shader"].alpha = 0;
    }
    
    destroyBackground()
    {
    	self._background["shader"] destroy();
    }

    0 Not allowed! Not allowed!

  2. #2
    silenthitman7
    Zombie Modder
    BaTMaN's Avatar
    Join Date
    Feb 2012
    Posts
    235
    Points
    520
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    235
    Points
    520

    Default

    Set the alpha less than what it is...

    Maybe:
    Code:
    showBackground()
    {
    	self._background["shader"].alpha = 0.35;
    }

    0 Not allowed! Not allowed!
    Last edited by BaTMaN; 07-20-2012 at 10:14 PM.

  3. #3
    A$$ Eater
    No condoms
    VAGINITIS's Avatar
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Location
    Eating your GF's ass
    Posts
    244
    Points
    635
    Gamer IDs

    Gamertag: Predination

    Default

    thanks ill try

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 03:16 AM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.