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
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
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
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
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
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
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
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
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
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.
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
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
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,
13 matches
Mail list logo