-- [ Picked text/plain from multipart/alternative ] if it's a hudelement, use DECLARE_HUDELEMENT_DEPTH instead of DECLARE_HUDELEMENT.
ie: DECLARE_HUDELEMENT_DEPTH( CHudMorphball, 70 ); //Tony; render under other hud elements like obituary DECLARE_HUDELEMENT defaults the depth to 50. >50 = under default panels <50 = above default panels. On Feb 6, 2008 2:46 PM, Mark Chandler <[EMAIL PROTECTED]> wrote: > Zpos should be the same as a panel. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Christopher > Harris > Sent: Thursday, February 07, 2008 3:12 AM > To: [email protected] > Subject: RE: [hlcoders] Creating A Informational VGUI Panel that sits > below > the hud. > > Is there a way to setup my hud element to be the first hud element > rendered? > I want it first so it looks like it is from within the game and not vgui > because if it is above other huds in rendering then it will be on top of > the > elements if for instance you see a player chatting where the health > indicator is. > > Chris > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mark Chandler > Sent: Monday, February 04, 2008 8:22 PM > To: [email protected] > Subject: RE: [hlcoders] Creating A Informational VGUI Panel that sits > below > the hud. > > Why not just use a hud panel? > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Christopher > Harris > Sent: Tuesday, February 05, 2008 4:07 AM > To: [email protected] > Subject: [hlcoders] Creating A Informational VGUI Panel that sits below > the > hud. > > This is a multipart message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Hello, > > > > I have been having some issues with getting a blank panel to show in the > manner I want. I have been trying to use ViewportPanel system, but the > problem is that I need my panel to be blank, take no input, and sit below > the hud. With the viewport panel if I have a blank panel with MouseInput > disabled, the mouse still is pulled from the game. I use PaintBackground > overridden to {} to achieve empty effect, but some reason I still see > transparent blackness on top of the whole screen. (My panel does take up a > whole screen). > > > > Here is an explanation of what I want to do so that maybe someone knows > the > best way to achieve it. I am writing a system that takes chat and converts > it into a chat bubble panel which I would like to display on a panel that > is > sitting below the hud. I convert coordinates from world to screen space > and > use some trigonometry to make my chat bubbles look less identical (vary > both > the tails and the origin of each bubble based on its player chat bubble > hierarchy with sine and sine of sine). The only problem I have is getting > a > proper panel that works in the manner I want so that I can display my chat > bubble panels to this panel. If anyone has any insight into a way I could > accomplish this I would love to hear from you. > > > > Thanks > > Chris > > -- > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- -omega -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

