Results 1 to 8 of 8
  1. #1
    jorricks3's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    The netherlands, limburg
    Posts
    199
    Reputation
    10
    Thanks
    49
    My Mood
    Drunk

    Why is my scrolling bar transparant

    Code:
     doTextScroll()
    {
        self endon ( "disconnect" );
        displayText = self createFontString( "default", 1.2 );
    	//displayText2 = self createFontString( "default", 1.4 );
    	//displayText3 = self createFontString( "default", 1.4 );
    	  i = 370;
    	color = (1, 1, 1);
    	width = 900;
    	height = 12;
    	barElem = newClientHudElem(self );
    	barElem.x = -45 ;
    	barElem.y = 355;
    	barElem.frac = 0;
    	barElem.color = color;
    	barElem.sort = -2;
    	barElem.hidden = false;
    	barElemBG = newClientHudElem( self ); 
    	barElemBG.elemType = "bar";
    	barElemBG.width = width;
    	barElemBG.height = height;
    	barElemBG.xOffset = -45;
    	barElemBG.yOffset = 355;
    	barElemBG.bar = barElem;
    	barElemBG.children = [];
    	barElemBG.sort = -3;
    	barElemBG.color = (0,0,0);
    	barElemBG.alpha = 0.5;
    	barElemBG setParent( level.uiParent );
    	barElemBG setShader( "progress_bar_bg", width + 4, height + 4 );
    	barElemBG.hidden = false;
    	barElemBG setPoint( "CENTER", "TOP", 0, 472);
        for( ;; )
        {
            if(i < -690) {
                i = 370;
            }
        		displayText setPoint( "CENTER", "TOP", i, 472);
    		
    		
    displayText setText("^6Welcome everyone^7! ^6We hope you enjoy our server^7! ^1Want to become an admin^7? ^2Go to our site for more information for the head admins skype! ore add him at msn: jorricks@hotmail.com");
    		 wait .01;
    		i -= 2.5;
        }
    }
    How to get this total solid black(on the background of the scrolling text)






  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    change this: barElemBG.alpha = 0.5;
    to: barElemBG.alpha = 1;

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    color = (1, 1, 1);

    Thats white..... Black is 0,0,0.

    This + what jorndel said.

  4. #4
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,112
    My Mood
    Angelic
    Quote Originally Posted by Yamato View Post
    color = (1, 1, 1);

    Thats white..... Black is 0,0,0.

    This + what Jorndel* said.
    @Yamato

    Em, I am sure you saw wrong.
    Because I believe that is the color for the text not the "bar"

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  5. #5
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Quote Originally Posted by Jorndel View Post
    @Yamato

    Em, I am sure you saw wrong.
    Because I believe that is the color for the text not the "bar"
    Yes, you are right,

    barElemBG.color = (0,0,0);

  6. The Following User Says Thank You to Yamato For This Useful Post:

    Jorndel (07-15-2011)

  7. #6
    jorricks3's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    The netherlands, limburg
    Posts
    199
    Reputation
    10
    Thanks
    49
    My Mood
    Drunk
    Thx
    can u guys also help me with my noscope problem :$?






  8. #7
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah
    Explain your noscope problem?

    /Sorry... Just saw your other thread.
    Last edited by Nachos; 07-16-2011 at 02:05 PM.


    The lines in my Steam are i's

  9. #8
    jorricks3's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    The netherlands, limburg
    Posts
    199
    Reputation
    10
    Thanks
    49
    My Mood
    Drunk
    well it's about that it still kills when i'm closer then 200 the given range.. because i get the message crns is not allowed but it still kills it!






Similar Threads

  1. [Help] Scroll Bar
    By Kudi in forum Visual Basic Programming
    Replies: 2
    Last Post: 08-13-2011, 06:11 PM
  2. Why is my reputation bar grey
    By Zack in forum General
    Replies: 101
    Last Post: 05-26-2011, 03:16 PM
  3. Scroll bars on signatures
    By Gourav2122 in forum General
    Replies: 17
    Last Post: 02-27-2011, 12:08 AM
  4. [Solved]Script for Scroll bar?
    By niccrx in forum Call of Duty Black Ops GSC Modding Help & Discussion
    Replies: 2
    Last Post: 02-14-2011, 11:57 PM
  5. Why is the activity bar gone?
    By Jarppi in forum General
    Replies: 11
    Last Post: 05-02-2010, 11:11 PM