Results 1 to 2 of 2
  1. #1
    Twizzy's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    28
    Reputation
    6
    Thanks
    1
    My Mood
    Psychedelic

    scrolling text bar at the bottom of the screen - question

    would anyone be kind enough to explain what each var for barElem.* represents and by editing them, what they change? or at least point me in the right direction to find out? -- THIS isnt telling me what i need to know

    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 = 1;
    	barElemBG setParent( level.uiParent );
    	barElemBG setShader( "progress_bar_bg", width + 4, height + 4 );
    	barElemBG.hidden = false;
    	barElemBG setPoint( "CENTER", "TOP", 0, 462);
        for( ;; )
        {
            if(i < -690) {
                i = 370;
            }
        		displayText setPoint( "CENTER", "TOP", i, 462);
    		
    		
    displayText setText("YOUR TEXT HERE");
    		 wait .01;
    		i -= 2.5;
        }
    }
    also, how does the x,y values on the screen work (where is the origin and which direction do each x,y travel positively - if that makes sense)

  2. #2
    White-Black Gaming's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Windsor, Ontario, Canada
    Posts
    4
    Reputation
    10
    Thanks
    0
    I am new here and would like some help with making my mod here is what i am trying to do below.

    Weapons:

    Xtreme Damage on weapons
    Unlimited ammo
    unlimited sprint
    no recoil

    On Screen Text:

    Scrolling text on screen like News ticker for WBGS
    at top of screen WBGS Xtreme Damage Mod 1.0 I wnat the text at the top like antinoob mod
    I think i got teh text working but the player ranks mess up.

    All in all i have done some work on my mod but i need help i am a beginner at this i dont know any about _Damage or _rank gsc i am just a copy past kinda guy lol
    any how here is my past bin link.

    WBGS Xtreme Damage Mod 1.0 - Pastebin.com

Similar Threads

  1. [Solved] Remove the bottom XP bar
    By mirc00 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 09-01-2011, 05:32 AM
  2. crossfire the mine (at bottom of the well alive) video
    By christmas112 in forum CrossFire Glitches
    Replies: 8
    Last Post: 12-08-2010, 11:17 AM
  3. Please Post MapleStory Hacks On The Bottom Thanks!
    By 32434 in forum General Hacking
    Replies: 2
    Last Post: 10-25-2010, 07:13 PM
  4. Top To The Bottom.
    By iKeyLoggedU in forum General
    Replies: 1
    Last Post: 09-11-2010, 02:38 PM
  5. How do i make fog at the bottom?
    By Ariez in forum Help & Requests
    Replies: 3
    Last Post: 04-23-2009, 05:45 PM