Re: [hlcoders] Brush Function, Get Location name?

2006-07-21 Thread Aaron Schiff
-- [ Picked text/plain from multipart/alternative ] Since networking these entities don't put any stress on the server while it's running (only sent on connection), it'd be the best idea to network the triggers to the client and have it all client managed. Of course you can add functionality to the

[hlcoders] Brush Function, Get Location name?

2006-07-21 Thread Michael Kramer
-- [ Picked text/plain from multipart/alternative ] Im trying to program a brush function, CLocation() It has a name property (a string_t) which can be set in hammer. What i want it to do, is take that name, and display it on the hud. How would I go about doing this? My hud element is already co

Re: [hlcoders] HUD drawing problems

2006-07-21 Thread Wraiyth
-- [ Picked text/plain from multipart/alternative ] I don't think it can be done for a HUD element... I'll just edit HudLayout.res from my laptop and use hud_reloadscheme, because closing and opening HL2 gets annoying :) On 7/22/06, Michael Kramer <[EMAIL PROTECTED]> wrote: > > -- > [ Picked text/

Re: [hlcoders] HUD drawing problems

2006-07-21 Thread Michael Kramer
-- [ Picked text/plain from multipart/alternative ] Not that I know of. But if you find one let me know :) -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoder

Re: [hlcoders] HUD drawing problems

2006-07-21 Thread Wraiyth
-- [ Picked text/plain from multipart/alternative ] Thanks heaps, got it all working nicely now :) One final question, is there a way to activate build mode for the HUD? SHIFT+ALT+CTRL+B doesn't work (all I do is crouch, prone, sprint :P) On 7/22/06, Michael Kramer <[EMAIL PROTECTED]> wrote: > > -

Re: [hlcoders] Modifying HL2 characters

2006-07-21 Thread Michael Kramer
-- [ Picked text/plain from multipart/alternative ] If you want to just modify the texture, then all you need is Photoshop with the VTF Plugins If you want to change the model, you will need to use a modeling program such as XSI or 3DS Max. -- ___ To un

Re: [hlcoders] HUD drawing problems

2006-07-21 Thread Michael Kramer
-- [ Picked text/plain from multipart/alternative ] Alright here is what I have: This is how I have the background for my Health Bar First off, my health bar has rounded edges, so I have three different images: vgui::ImagePanel *healthLeft; vgui::ImagePanel *healthBg; vgui::ImagePanel *healthRig

Re: [hlcoders] HUD drawing problems

2006-07-21 Thread Wraiyth
-- [ Picked text/plain from multipart/alternative ] My images seem to be drawing excessively small when I do that. I'm still playing around with it, but did you have it as a separate entry in HudLayout.res or just that code tacked on to hud_health (or any other Hud element)? On 7/21/06, Michael K

[hlcoders] Modifying HL2 characters

2006-07-21 Thread Shriyamvar Bugga
-- [ Picked text/plain from multipart/alternative ] Hi everyone, I'm relatively new to character modeling using the Source SDK/ Hammer/ Model Viewer and wanted to know how can an existing character model be modified, preferably without using any of the external tools like XSI or 3Ds max. I want to

Re: [hlcoders] Drawing the name to the right of a player

2006-07-21 Thread Robbie Groenewoudt
-- [ Picked text/plain from multipart/alternative ] I've got it... ts2do told me to look around the renderbounds. So I did. GetRenderBounds() gives me a good vector. Robbie -- ___ To unsubscribe, edit your list preferences, or view the list archives, p

Re: [hlcoders] Drawing the name to the right of a player

2006-07-21 Thread Daniel Menard
Rather than take the origin on the player in screenspace (that ends up somewhere on the floor) why not take the rightmost bound. I think GetRenderBounds() can do this. Then its a matter or transforming to screen space and painting. On 7/21/06, Benjamin Davison <[EMAIL PROTECTED]> wrote: -- [ Pic

Re: [hlcoders] Drawing the name to the right of a player

2006-07-21 Thread Benjamin Davison
-- [ Picked text/plain from multipart/alternative ] This is my code for part of the HUD. GetVectorInScreenSpace(vPointer, x, y, NULL); m_pWarmupLabel->SetPos(x, y); Could you not possibly do this? m_pWarmupLabel->SetPos(x + 100, y); On 7/21/06, Robbie Groenewoudt <[EMAIL PROTECTED]

[hlcoders] Drawing the name to the right of a player

2006-07-21 Thread Robbie Groenewoudt
-- [ Picked text/plain from multipart/alternative ] Hey, At the moment I'm busy coding a HUD-element that draws players names, health and armor. Thanks to GetVectorInScreenSpace(), I can convert their location to screencoordinates. However I want that the info never "blocks" (is in the front of) t