Re: [hlcoders] Vehicle Prediction

2005-07-09 Thread Tom Edwards
TF2...TF2...hang on in there... ;-) SB Childe Roland wrote: Noone has done it?? On 6/30/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've recently tried to tackle adding prediction to vehicles and wound up finding it was a more difficult task than I realized. I've heard the issue

Re: [hlcoders] Third Person Camera Tutorial

2005-07-09 Thread Zach Brockway
The compiler is most assuredly clever enough to optimize away the clause entirely considering there's no code to be executed therein. On 7/8/05, SB Childe Roland [EMAIL PROTECTED] wrote: Why wouldn't you comment out the entire if statement?? Do you like wasting processor cycles? --

Re: [hlcoders] I love VGUI

2005-07-09 Thread Draco
I don't love it :( I tried to get the hud to draw a filled rectangle only to get nothing, using code that works right in the same conditions on other panels. Seen some dazelmazing stff done though *cough*vampires bloodlines. -- Draco ___ To

RE: [hlcoders] Third Person Camera Tutorial

2005-07-09 Thread Tony Paloma
Actually, just as a little side note, it seems as long as there is no function in the expression, no machine code gets added to the program when an if's statement has no code. So if ( gpGlobals-maxClients 1 ) { //return; } ..adds no real code and no cycles get added. I checked this

Re: [hlcoders] Third Person Camera Tutorial

2005-07-09 Thread Zach Brockway
Like I said. :P Thanks for confirming it. On 7/9/05, Tony Paloma [EMAIL PROTECTED] wrote: Actually, just as a little side note, it seems as long as there is no function in the expression, no machine code gets added to the program when an if's statement has no code. So if (

[hlcoders] Is there no way to Precache extern Sounds?

2005-07-09 Thread Ratman2000
Hello, I like to precache an file like this: cstrike/sound/test/test.wav But when i do this i become overflows and the server crashs... Whats wrong? Has anybody a way to precache extern sound files? Thanks from Germany! With friendly reguards ___

Re: [hlcoders] Vehicle Prediction

2005-07-09 Thread Andrew (British_Bomber)
lol :D Those TF2 quotes are a conspiracy.. They are just there to give you that tiny glimmer of hope that it will some day release :P :P :D ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Is there no way to Precache extern Sounds?

2005-07-09 Thread LDuke
Don't include the cstrike part of the path. Also, if this is a plugin, use IEngingeSound to precache and not IVEngineServer. On 7/9/05, Ratman2000 [EMAIL PROTECTED] wrote: Hello, I like to precache an file like this: cstrike/sound/test/test.wav But when i do this i become overflows and

Re: [hlcoders] I love VGUI

2005-07-09 Thread Kamran
My HUD has an old-school Diablo II-type archaic look... I got the health working, with a Health Bar and everything (and the health bar even has text inside it to tell you how much health you have) ;) It's basically all very easy... you set the PaintBackgroundEnabled( false ) for the panel you're

[hlcoders] HUD Animations

2005-07-09 Thread Kamran
Alright, my goal: To display a message that is called each time you take damage and then fade it out within 1 second. I created my class, I created the label I want to use to display the message and it works... it updates my label with the damage taken by the user. But it stays there and never

RE: [hlcoders] HUD Animations

2005-07-09 Thread Matt Boone
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] There is quite a lot of documentation for this at the top of hudanimations.txt, but here's a quick example. There are actually a few built in panel animation vars that you can use ( Alpha, FgColor )

Re: [hlcoders] HUD Animations

2005-07-09 Thread Kamran
Thanks I figured it out... I didn't know I could just use my Label's name for panel name and change the FG color and alpha, hehe. Yay, now whenever I get damage I can see how much was done to me... and I can see how much health I've gained when I pick up health kits. Matt Boone wrote: This is