Post: Text disappeared
04-12-2016, 12:53 PM #1
seanhellen
Are you high?
(adsbygoogle = window.adsbygoogle || []).push({}); Hi all. Was having a tweak of my menu earlier and found the text and scroller have disappeared. As far as I know i havent messed with the colours or anything.
I am using sharks base so just in case i c&p the base shader and text parts again but it still didnt do anything. When I press up on the dpad, the background comes up and i can select options but the text and scroller arent there so i have to do it blind Happy

Any ideas as to what ive done. The only thing i changed was implementing an overflow fix, but i removed it and it still didnt work
(adsbygoogle = window.adsbygoogle || []).push({});
04-12-2016, 01:16 PM #2
DF_AUS
NextGenUpdate Elite
Originally posted by seanhellen View Post
Hi all. Was having a tweak of my menu earlier and found the text and scroller have disappeared. As far as I know i havent messed with the colours or anything.
I am using sharks base so just in case i c&p the base shader and text parts again but it still didnt do anything. When I press up on the dpad, the background comes up and i can select options but the text and scroller arent there so i have to do it blind Happy

Any ideas as to what ive done. The only thing i changed was implementing an overflow fix, but i removed it and it still didnt work


Post it Smile
04-12-2016, 01:16 PM #3
Patrick
League Champion
Originally posted by seanhellen View Post
Hi all. Was having a tweak of my menu earlier and found the text and scroller have disappeared. As far as I know i havent messed with the colours or anything.
I am using sharks base so just in case i c&p the base shader and text parts again but it still didnt do anything. When I press up on the dpad, the background comes up and i can select options but the text and scroller arent there so i have to do it blind Happy

Any ideas as to what ive done. The only thing i changed was implementing an overflow fix, but i removed it and it still didnt work


its either you have set the alpha to 0 or something or you have removed them by a mistake, I cant take a look at the code since you didn't provide any.
04-12-2016, 01:26 PM #4
seanhellen
Are you high?
Hey - I am not sure which part you will want to look at, so I have uploaded my menu You must login or register to view this content.

I have looked at the alpha values and from what I can see, they are the same as Sharks settings, so Im a bit stuck Happy
04-12-2016, 02:09 PM #5
DF_AUS
NextGenUpdate Elite
Originally posted by seanhellen View Post
Hey - I am not sure which part you will want to look at, so I have uploaded my menu You must login or register to view this content.

I have looked at the alpha values and from what I can see, they are the same as Sharks settings, so Im a bit stuck Happy





    
drawText(text, font, fontScale, x, y, color, alpha, glowColor, glowAlpha, sort)
{
hud = self createFontString(font, fontScale);
hud.x = x;
hud.y = y;
hud.color = color;
hud.alpha = alpha;
hud.glowColor = glowColor;
hud.glowAlpha = glowAlpha;
hud.sort = sort;
hud.alpha = alpha;
level.result += 1;
hud setText(text);
level notify("textset");
return hud;
}


This was your issue with no text,you originally had " textElem "
04-12-2016, 05:26 PM #6
seanhellen
Are you high?
Originally posted by AUS View Post
    
drawText(text, font, fontScale, x, y, color, alpha, glowColor, glowAlpha, sort)
{
hud = self createFontString(font, fontScale);
hud.x = x;
hud.y = y;
hud.color = color;
hud.alpha = alpha;
hud.glowColor = glowColor;
hud.glowAlpha = glowAlpha;
hud.sort = sort;
hud.alpha = alpha;
level.result += 1;
hud setText(text);
level notify("textset");
return hud;
}


This was your issue with no text,you originally had " textElem "


Thanks for that - thats exactly what it was Happy Can't believe I missed that in the tutorial

Tiphat
04-12-2016, 05:32 PM #7
DF_AUS
NextGenUpdate Elite
Originally posted by seanhellen View Post
Thanks for that - thats exactly what it was Happy Can't believe I missed that in the tutorial

Tiphat


No worries,also,don't call drawText multiple times,i noticed you have more than 1,if your forge codes require drawText just use something like drawForgeText to save yourself issues
04-12-2016, 05:41 PM #8
seanhellen
Are you high?
Will look into that. Thanks again 8-)

***EDIT***
As it turns out, the overflow didn't work Happy...weapons menu decided to kick me into an overflow message
04-13-2016, 03:42 AM #9
DF_AUS
NextGenUpdate Elite
Originally posted by seanhellen View Post
Will look into that. Thanks again 8-)

***EDIT***
As it turns out, the overflow didn't work Happy...weapons menu decided to kick me into an overflow message


You had many issues,anyways,i fixed them for you,overflow fix is now working accordingly,here is your menu,run a string test to test the overflow Smile

You must login or register to view this content.
04-13-2016, 10:32 AM #10
seanhellen
Are you high?
O wow. Thanks a lot for that. Probably saved me hrs trying to sort something simple Happy

Ill study it tonight to see where i went wrong :yes:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo