Re: [hlcoders] SteamID in-game and community

2008-11-22 Thread Sebastian Staudt
Thanks for your help. Works great. 2008/11/22 Olly [EMAIL PROTECTED] Remember now that any players that join though a lobby in L4D will have the steam id of STEAM_1:x:xx 2008/11/21 Zach Kanzler [EMAIL PROTECTED] A full explanation is available here:

Re: [hlcoders] .fxc Shaders not found

2008-11-22 Thread Maarten De Meyer
Are you sure your environment settings are correct for your mod? He's not copying the files to another directory? I've recently attempted to run through the shader tutorials on the wiki and on wraith's website, and I seem to be running into an error in both. I'm using the episode one engine,

Re: [hlcoders] .fxc Shaders not found

2008-11-22 Thread Matt Stafford
Having a space in your path to the mod can cause them to incorrectly copy, but it should also produce an error when running buildsdkshaders.bat There should be a directory in the shaders directory where the FXC files are compiled to (Can't remember the name off the top of my head). The shaders are

[hlcoders] GetTargetInScreen space returning wrong/scaled position

2008-11-22 Thread Jed
Ok this is really confusing me. I've got full screen panel which I want to draw elements on based on the position of elements in my map. I'm setting my panel full screen with: int nHudWidth, nHudHeight; GetHudSize( nHudWidth, nHudHeight ); SetSize( nHudWidth, nHudHeight ); I've check them

Re: [hlcoders] GetTargetInScreen space returning wrong/scaled position

2008-11-22 Thread Garry Newman
Assuming that GetTargetInScreenSpace uses the view/proj matrices to work out the pixels.. if you're rendering this in a panel then wouldn't they have changed, making it all useless? Try capturing the positions during the actual rendering process, then using those to draw to the HUD later on.

Re: [hlcoders] GetTargetInScreen space returning wrong/scaled position

2008-11-22 Thread Jorge Rodriguez
There is also ScreenTransform(). I don't know if it will work for you but it is worth noting. -- Jorge Vino Rodriguez ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] GetTargetInScreen space returning wrong/scaled position

2008-11-22 Thread Jed
Solved it. GetVectorInScreenSpace() calls ScreenTransform(); Problem was that GetTargetInScreenSpace() simply passes an entities WordSpaceCenter to GetVectorInScreenSpace() which is no good for the type of entity I was using. In the end I just used GetVectorInScreenSpace() directly passing my