Post: Help with black ops patch[shaders]?
02-21-2011, 05:07 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Alright well, ive been trying to get shaders working in my menu, and everytime I get a syntax error and its making me mad because I really want to release


Heres my draw menu:
    drawMenu( cycle, scroll ){
menu = [[self.getMenu]]();

//get the titles
titles = self createFontString( "objective", 2.9 );
titles setPoint( "CENTER", "TOP", 0, 60 );
titleText = "";

//Left Title
if( menu.size > 2 ){
if( cycle-1 < 0 )
titleText += menu[menu.size - 1].name[0];
else
titleText += menu[cycle - 1].name[0];
}

//Center Title
titleText += " " + "^5" + menu[cycle].name[0] + "^7" + " ";

//Right Title
if( menu.size > 2 ){
if( cycle > menu.size - 2 )
titleText += menu[0].name[0];
else
titleText += menu[cycle + 1].name[0];
}

titles setText( titleText );
self thread destroyOnAny( titles, "right", "left",
"up", "down", "button_y", "death" );

//draw column
column = self createFontString( "objective", 2.1 );
column setPoint( "CENTER", "TOP", 0, 135 );
columnText = "";
extendedColumnText = "";
for( i = 1; i < menu[cycle].name.size; i++ ){
if(i == scroll)
columnText += "^1" + menu[cycle].name[i] + "^7\n";//Highlighted option
else
columnText += menu[cycle].name[i] + "\n";

//Extend the column if the string is too long.
if( columnText.size > 400 ){
column setPoint( "CENTER", "TOP", 0, i * 60 );
extendedColumn = self createFontString( "objective", 1.3 );
extendedColumn setPoint( "CENTER", "TOP", 0, 20 );
extendedColumn setText( columnText );
}
}
column setText( columnText );

self thread destroyOnAny( column, "right", "left",
"up", "down", "button_y", "death" );
}



if someone could help me put a shader in that I would be very greatful and give you credits when I release

thanks ngu
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo