[hlcoders] Double tap controls

2008-04-30 Thread Nicolaj Schweitz
Any suggestion on how implement double tap controls in source. I am working on an assignment where we can use only 4 keys, so we need a way to broaden the range of controls. -- Med venlig hilsen / Best regards Nicolaj Schweitz B.Sc. Medialogy www.nicolajschweitz.dk +45 27217173

[hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread Ronny Schedel
Hello, we used FCVAR_NOTIFY in the past for some CVars we want to see in the server rules. But since one of the last updates, the changes to these CVars will be announced to the clients ingame also, but we don't want. In the beginning we had the FCVAR_SERVER to achieve this, but it was removed

Re: [hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread Saul Rennison
Uhm, I think FCVAR_NOTIFY'd CVars are announced in clientmode.cpp, in there you can do something like: // Get the ConVar ConVar* pCVar = cvar-FindVar(event-GetString(cvarname)); if(!pCVar) return; // If the CVar has the FCVAR_NO_ANNOUNCE flag, don't announce it. if(pCVar-m_nFlags

Re: [hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread Ronny Schedel
Sorry, I didn't mention, it's for a server plugin. Uhm, I think FCVAR_NOTIFY'd CVars are announced in clientmode.cpp, in there you can do something like: // Get the ConVar ConVar* pCVar = cvar-FindVar(event-GetString(cvarname)); if(!pCVar) return; // If the CVar has the

Re: [hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread Tom Leighton
He said everything you need to know how to do it. Define the FCVAR_NO_ANNOUNCE in a header so you can use it, #define FCVAR_NO_ANNOUNCE (125) Then on all your cvars put this as a flag ConVar blah(Blah, test, ., FCVAR_REPLICATED FCVAR_NO_ANNOUNCE); Ronny Schedel wrote: Sorry, I didn't

Re: [hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread Saul Rennison
Tom, that won't work in server plugins as the client will just ignore that flag. Tom Leighton wrote: He said everything you need to know how to do it. Define the FCVAR_NO_ANNOUNCE in a header so you can use it, #define FCVAR_NO_ANNOUNCE (125) Then on all your cvars put this as a flag

Re: [hlcoders] Double tap controls

2008-04-30 Thread Tim Baker
Any suggestion on how implement double tap controls in source. I am working on an assignment where we can use only 4 keys, so we need a way to broaden the range of controls. In HL2 you can double-tap 'c' to recall your squad. The code is in the SDK for that. -- Tim Baker

Re: [hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread Tom Leighton
Never mind then :S My Bad Saul Rennison wrote: Tom, that won't work in server plugins as the client will just ignore that flag. Tom Leighton wrote: He said everything you need to know how to do it. Define the FCVAR_NO_ANNOUNCE in a header so you can use it, #define

Re: [hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread 1nsane .
What about FCVAR_REPLICATED? On Wed, Apr 30, 2008 at 1:48 PM, Tom Leighton [EMAIL PROTECTED] wrote: Never mind then :S My Bad Saul Rennison wrote: Tom, that won't work in server plugins as the client will just ignore that flag. Tom Leighton wrote: He said everything you need to

Re: [hlcoders] Orange Box Engine: CVar attributes?

2008-04-30 Thread Ronny Schedel
It does not show the cvars in the server rules. What about FCVAR_REPLICATED? On Wed, Apr 30, 2008 at 1:48 PM, Tom Leighton [EMAIL PROTECTED] wrote: Never mind then :S My Bad Saul Rennison wrote: Tom, that won't work in server plugins as the client will just ignore that flag.

[hlcoders] gameui_english.txt updated today

2008-04-30 Thread Tim Baker
The only way I have found to display localized strings used by GameMenu.res is to put them into gameui_english.txt. For some reason they aren't translated if I put strings in my mod's MODNAME_english.txt (even though other things like chapter titles are properly translated if they appear in

[hlcoders] Off Topic: Racing in the 2008 Tire Rack One Lap of America

2008-04-30 Thread Ben Everett
Hey guys, Just sending out an e-mail to all of you to let you know I will be racing from May 3rd-10th in the 2008 Tire Rack One Lap of America. This is an endurance race visiting premiere tracks all over the United States where I will be racking up 4,000mi in seven days! Races

Re: [hlcoders] Off Topic: Racing in the 2008 Tire Rack One Lap of America

2008-04-30 Thread Adam Maras (memzero)
O_o // Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Everett Sent: Wednesday, April 30, 2008 9:37 PM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Off Topic: Racing in the 2008 Tire Rack One Lap of America Hey guys,