Re: [hlcoders] Any idea how to get audio from tv screens (breencasts) working in the multiplayer sdk?

2010-01-30 Thread Chief Whosm
Thanks, I should have noticed the word PAS in there to have given me a hint in the first place :( But once I found the attenuation function I was able to see how it worked and will work on it. Currently I'm cheating in recipientfilter.cpp and have just done: void CPASAttenuationFilter::Filter(

[hlcoders] Source pausing WMP and decreasing system volume

2010-01-30 Thread Tom Edwards
Ever since I built my new system I've been having trouble with the Orange Box engine (the 'old' mods/Ep2/Portal/Gmod build) messing with sound on my system. If I connect to a server or open the options window of a multiplayer game, Source will: * Pause or unpause Windows Media Player.

Re: [hlcoders] Source pausing WMP and decreasing system volume

2010-01-30 Thread Olly
You running windows7? - There is a bunch of stuff in 7 that says 'reduce volume if I'm running a communication program' or something. You can't select what actually IS a communication program, nor can you see what it thinks is a communication program. Might be that thinking source is a comms

Re: [hlcoders] Source pausing WMP and decreasing system volume

2010-01-30 Thread Allan Button
It depends on when the program inits the microphone. I had this problem to when I upgraded to 7. -Original Message- From: hlcoders-boun...@list.valvesoftware.com [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of Tom Edwards Sent: Saturday, January 30, 2010 11:26 AM To:

Re: [hlcoders] Launching Ep1 tools directly

2010-01-30 Thread Tom Edwards
The final version of the gadget is out. If you're still using 1.0 please upgrade here: http://developer.valvesoftware.com/wiki/Source_SDK_Windows_gadget On 18/01/2010 1:01, Tom Edwards wrote: I'm using it already! I was making a stupid error though: I forgot to try starting the tools at their

[hlcoders] HTML/JPG/GIF display in HL1 Goldsrc

2010-01-30 Thread Saint Thoth (hotmail)
HTML/JPG/GIF display in HL1 Goldsrc I've seen mods that can display HTML content on panels in-game. Presumably that includes JPG and/or GIF image display capability. Has anyone seen the source code for this capability? We have a mod that can display TGA images on panels, and want to use them

Re: [hlcoders] HTML/JPG/GIF display in HL1 Goldsrc

2010-01-30 Thread 1nsane
Are you by any chance referring to the HTML MOTD panel? That just uses an Internet Explorer frame to open a web page/HTML file. On Sat, Jan 30, 2010 at 6:31 PM, Saint Thoth (hotmail) st_th...@hotmail.com wrote: HTML/JPG/GIF display in HL1 Goldsrc I've seen mods that can display HTML content

Re: [hlcoders] HTML/JPG/GIF display in HL1 Goldsrc

2010-01-30 Thread Matt Lima Faiotto
They are probably using Images converted onto a VTF. -- From: Saint Thoth (hotmail) st_th...@hotmail.com Sent: Saturday, January 30, 2010 6:31 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] HTML/JPG/GIF display in HL1 Goldsrc

Re: [hlcoders] HTML/JPG/GIF display in HL1 Goldsrc

2010-01-30 Thread Rodrigo 'r2d2rigo' Diaz
Guys, he's talking about GoldSrc. @OP: AFAIK, HL SDK didn't have any native support for other image types than TGA. Maybe you could derive your own class from BitmapTGA/Bitmap/Image and override the proper functions so you load the JPG, convert it to raw RGBA and upload it to the VRAM.

Re: [hlcoders] Launching Ep1 tools directly

2010-01-30 Thread Ryan Sheffer
Very cool Tom. :) You should make a post on some popular forums about it as well. I think it would benefit a lot of people. Cheers! On Sat, Jan 30, 2010 at 12:29 PM, Tom Edwards t_edwa...@btinternet.comwrote: The final version of the gadget is out. If you're still using 1.0 please upgrade

[hlcoders] (no subject)

2010-01-30 Thread DHack
Hey! Im trying to learn hwo to make server plugins (vdf), I know Eventscripts but want to learn c++. How do I setup Microsoft visual c++? And if you can show me a simple plugin that just displays a message on load? ___ To unsubscribe, edit your list

[hlcoders] HL1, holstering active weapon

2010-01-30 Thread kevin bowen
Ahhh, can anyone tell me why this doesn't work? :( (player.cpp) // TRUE if the player is attached to a ladder BOOL CBasePlayer::IsOnLadder( void ) { return ( pev-movetype == MOVETYPE_FLY ); //code i added if (m_pActiveItem) m_pActiveItem-Holster( ); }

Re: [hlcoders] HL1, holstering active weapon

2010-01-30 Thread Harry Pidcock
BOOL CBasePlayer::IsOnLadder( void ) { //code i added if (m_pActiveItem) m_pActiveItem-Holster( ); return ( pev-movetype == MOVETYPE_FLY ); } That might work -- From: kevin bowen fragmasterbo...@gmail.com Sent: Sunday, January

Re: [hlcoders] HL1, holstering active weapon

2010-01-30 Thread Ryan Sheffer
uhh, you are returning before your code can be used? On Sat, Jan 30, 2010 at 11:06 PM, Harry Pidcock haz...@tpg.com.au wrote: BOOL CBasePlayer::IsOnLadder( void ) { //code i added if (m_pActiveItem) m_pActiveItem-Holster( ); return ( pev-movetype == MOVETYPE_FLY ); }

Re: [hlcoders] HL1, holstering active weapon

2010-01-30 Thread kevin bowen
Sorry about that, typed it here incorrectly. // TRUE if the player is attached to a ladder BOOL CBasePlayer::IsOnLadder( void ) { if (m_pActiveItem) { m_pActiveItem-Holster( ); } return ( pev-movetype == MOVETYPE_FLY ); } No dice. On Sun, Jan 31, 2010 at 2:38 AM, Ryan