Re: [hlcoders] how to create floating labels over entities?

2008-03-05 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] Just to follow up on my original question and what you guys are talking about, ive found the code that i need to place the voice icon over someones head, the problem is its an icon and not text. How can I create in real time text rather then

Re: [hlcoders] how to create floating labels over entities?

2008-03-05 Thread Steve Henderson
David, Here are a couple of suggestions: 1) Check out the vgui_screen class. There is a pretty good tutorial here: http://developer.valvesoftware.com/wiki/VGUI_Screen_Creation You'll need to do a little more than the tutorial to get the dynamic text. 2) You could use a Sprite (env_sprite)

[hlcoders] how to create floating labels over entities?

2008-02-27 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] please pardon me if this has been asked before, but what class or classes should i be looking into to create floating labels that say, for instance, the players name over his head? appreciate it! --

Re: [hlcoders] how to create floating labels over entities?

2008-02-27 Thread Tony omega Sergi
-- [ Picked text/plain from multipart/alternative ] Depends on how you want to do it. Look at the voice icons for one method; Alternatively, you could do it entirely on the hud; using that method and ScreenTransform to get the coordinates. -Tony On Wed, Feb 27, 2008 at 2:39 PM, David Adams [EMAIL

Re: [hlcoders] how to create floating labels over entities?

2008-02-27 Thread David Adams
-- [ Picked text/plain from multipart/alternative ] thanks for that insight, i didnt think about the voice comm icon, but that is a perfect example of what i need! On Wed, Feb 27, 2008 at 3:00 PM, Tony omega Sergi [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ]

Re: [hlcoders] how to create floating labels over entities?

2008-02-27 Thread Tom Edwards
That also solves a problem I've had brewing as well. Thanks! David Adams wrote: -- [ Picked text/plain from multipart/alternative ] thanks for that insight, i didnt think about the voice comm icon, but that is a perfect example of what i need! On Wed, Feb 27, 2008 at 3:00 PM, Tony omega Sergi

Re: [hlcoders] how to create floating labels over entities?

2008-02-27 Thread Tony omega Sergi
you're welcome :) On 2/27/08, Tom Edwards [EMAIL PROTECTED] wrote: That also solves a problem I've had brewing as well. Thanks! David Adams wrote: -- [ Picked text/plain from multipart/alternative ] thanks for that insight, i didnt think about the voice comm icon, but that is a perfect

Re: [hlcoders] how to create floating labels over entities?

2008-02-27 Thread Garry Newman
I have some code knocking about to place the camera so you can draw VGUI in the world easier if anyone's interested. The fonts look like total shit though. It's pretty much exactly the same as what the vgui screen thing does. garry On Wed, Feb 27, 2008 at 9:02 PM, Tony omega Sergi [EMAIL

Re: [hlcoders] how to create floating labels over entities?

2008-02-27 Thread Tony omega Sergi
how do you do it garry if you don't mine me askin? i was thinkin about this a bit and i think rt s might be a good way to do it as well but again the text could look shit that way too On 2/27/08, Garry Newman [EMAIL PROTECTED] wrote: I have some code knocking about to place the camera so you can