Answered Source Engine Base Not Showing Background

Status
Not open for further replies.

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
so im using the Source Engine Menu Base and I moved it around a lot
When the menu is open the alpha is set to 1

Here it is in StoreShaders
Code:
self.menu.background = self createRectangle("TOP","TOP",-100,0,150,10,(0,0,0),"white",1, 0);

and the Open/Close Menu
Code:
OpenMenu()
{
//just showing this other than everything else that doesnt really matter
self.menu.background.alpha = 1;
}
CloseMenu()
{
//just showing this other than everything else that doesnt really matter
self.menu.background.alpha = 0;
}

What it looks like -
You do not have permission to view link Log in or register now.


Im really not sure why its not showing up, so Im not 100% on where to look
 
Last edited:

Inactive Account

Old CCM Member
Premium Member
Messages
480
Reaction score
240
Points
913
Hello,
Can you complete your thread please.
I give your 24 hours for this,
Thank's :tongueclosed:
 

Harry

Certified Sick ℂunt
Premium Member
Messages
1,263
Reaction score
969
Points
973
Probably because you isn't 1337 haxOr
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,998
Reaction score
2,918
Points
1,053
so im using the Source Engine Menu Base and I moved it around a lot
When the menu is open the alpha is set to 1

Here it is in StoreShaders
Code:
self.menu.background = self createRectangle("TOP","TOP",-100,0,150,10,(0,0,0),"white",1, 0);

and the Open/Close Menu
Code:
OpenMenu()
{
//just showing this other than everything else that doesnt really matter
self.menu.background.alpha = 1;
}
CloseMenu()
{
//just showing this other than everything else that doesnt really matter
self.menu.background.alpha = 0;
}

What it looks like -
You do not have permission to view link Log in or register now.


Im really not sure why its not showing up, so Im not 100% on where to look
I don't know maybe it is the .sort. Do you set the sort for the element?

Also try to set the Alpha to one in the creat function, maybe you open function don't thread to the end.
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,327
Reaction score
763
Points
973
I don't know maybe it is the .sort. Do you set the sort for the element?

Also try to set the Alpha to one in the creat function, maybe you open function don't thread to the end.
I think I have found it, I set the sort to 1 in storeshaders, and it was showing up behind the top bar, I didnt have the "y" coordinates correct
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,998
Reaction score
2,918
Points
1,053
I think I have found it, I set the sort to 1 in storeshaders, and it was showing up behind the top bar, I didnt have the "y" coordinates correct
:grinning: ok fine
 
Status
Not open for further replies.
Top