View Full Version : et:qw advanced binding features
reyalp
07-01-2007, 10:02 PM
if you look in etqwbinds.cfg you will see that binds aren't just a simple bind key action any more. Instead, they look like this:
bind "w" "_forward" "" "default"
The each field in quotes has a meaning, as described below:
bind "KEY" "ACTION" "MODIFIER KEY" "CONTEXT"
We'll get to modifiers in a moment, but first, contexts.
In the first example "default" means this bind is for the default context. Binds in the default context are used when there are no binds for the same key in the current context. You don't actually need to specify this (binds without any context will be in the default context), but et:qw saves your configs this way.
"vehicle" is the default context for when you are in any vehicle. A bind with this context is only active when you are in a vehicle. So
bind "MOUSE5" "_weapon0" "" "vehicle"
means that MOUSE5 fires a decoy when you are in a vehicle, but could be used for something completely different as infantry.
You can also name vehicle contexts individually, which is nice, since you might want to use the different keys for flying vehicles and ground vehicles.
For example, you could use:
setp g_bind_context_hornet "hornet"
bind "MOUSE2" "_weapnext" "" "hornet"
which means pressing MOUSE2 to will switch to the next weapon (effectively toggling between guided strockets and unguided plasma cannon) only when you are in the tormentor (hornet seems to be it's internal name)
If more than one vehicle uses the same control set, you can just make one context which covers them all. For example, crouch engages siege mode in the desecrator and cyclops, but isn't useful in other vehicles. So you could use something like:
Note the use of 'setp' instead of 'seta'. This means to save it in your profile, rather than your main etqwconfig.cfg. This is important, if you use seta, the value will be lost when you load the game.
setp g_bind_context_desecrator "stroggtank"
setp g_bind_context_goliath "stroggtank"
bind "MOUSE2" "_movedown" "" "stroggtank"
that way, your MOUSE2 goes to siege mode in both these vehicles (goliath is the internal name for the cyclops), but could be used for something else in all other cases.
Class contexts work much like vehicle contexts. The default context for each class is the name of the class (so if you wanted to make a medic only bind, it would use the "medic" context), but like the above, it may make sense to give classes with similar needs the same context names.
Modifiers:
The modifier field is used to specify that a key combination is used to do that particular action. An example combining class contexts and modifiers from my config is:
setp g_class_context_covertops "cov"
setp g_class_context_infiltrator "cov"
...
bind "b" "useweapon weapon_tool2" "CTRL" "cov" // deploy
...
bind "b" "useWeapon weapon_binocs" "" "default"
Which means that control+b brings up the deploy tool for both covert ops and infiltrator, while plain b brings up the binocs for all classes. If I hadn't renamed the two class contexts, I would have had to specify the deploy tool bind twice.
Note that you can use ANY key as a modifier, not just the normal CTRL, SHIFT, ALT etc. However, you may run into limits on the number of simultanious keys your keyboard supports.
For completeness, I should mention that there are also a "menu" and "bindmenu" contexts. I suggest not messing with them.
Here is the complete list of class and vehicle context name cvars, and their default values (from etqwconfig.cfg):
setp g_bind_context_anansi "vehicle"
// badger is the armadillo
setp g_bind_context_badger "vehicle"
setp g_bind_context_bumblebee "vehicle"
setp g_bind_context_desecrator "vehicle"
//goliath is the cyclops
setp g_bind_context_goliath "vehicle"
setp g_bind_context_hog "vehicle"
//hornet is the tormentor
setp g_bind_context_hornet "vehicle"
setp g_bind_context_husky "vehicle"
setp g_bind_context_icarus "vehicle"
setp g_bind_context_mcp "vehicle"
setp g_bind_context_platypus "vehicle"
setp g_bind_context_titan "vehicle"
setp g_bind_context_trojan "vehicle"
setp g_class_context_aggressor "aggressor"
setp g_class_context_technician "technician"
setp g_class_context_constructor "constructor"
setp g_class_context_oppressor "oppressor"
setp g_class_context_infiltrator "infiltrator"
setp g_class_context_soldier "soldier"
setp g_class_context_medic "medic"
setp g_class_context_engineer "engineer"
setp g_class_context_fieldops "fieldops"
setp g_class_context_covertops "covertops"
Note public beta 1 had a spelling error in the game: g_class_context_solider "soldier". In beta two, the cvar is correctly called g_class_context_soldier.
edit:
Updated for beta 2, with setp.
edit again:
Note that for context cvars to work, you may have to set them in your profile autoexec rather than the normal one in base. To do this, place a file called autoexec.cfg under sdnet\<your profile name>\base under your etqw directory. In theory setp in your main autoexec should do the same thing, but some people have had trouble with that.
Wow very helpful.
Thank you!
b0rsuk
07-02-2007, 06:20 AM
Just what I was looking for ! I can have my mouse3 switch to handgrenades but throw flares while in a vehicle. Great feature.
The car still called 'badger'. Great.
paZifist
07-02-2007, 09:10 AM
thx will try it out later at home :)
thwak
07-02-2007, 04:53 PM
very helpful. could we get this stickied?
space
07-02-2007, 07:50 PM
Rock on! This is nice, thanks man! :D
Hakuryu
07-02-2007, 08:15 PM
Here is a portion of my autoexec to show some of this in action. Most everything is commented on what it does :
// RMB - Iron Sights (Infantry) - Sprint/Jet/Nitrous (Vehicles)
bind MOUSE2 "_altattack" "" "default"
bind MOUSE2 "_sprint" "" "vehicle"
// Numpad 0 - Sprint (Infantry) - FreeLook (Vehicles)
bind "KP_INS" "_sprint" "" "default"
bind "KP_INS" "_tophat" "" "vehicle"
// Side Mouse Button - Reload (Infantry) - Handbrake/Reverse thrust (Vehicles)
bind "MOUSE4" "_reload" "" "default"
bind "MOUSE4" "_speed" "" "vehicle"
// End - Prone (Infantry) - Vehicle Horn (Vehicles)
bind "END" "_prone" "" "default"
bind "END" "_modeswitch" "" "vehicle"
cpt.whistlepants
07-04-2007, 12:42 AM
Thanks reyalp, you saved us some time. Good stuff
gurgle
07-04-2007, 03:13 AM
can someone explain to me what this means in english?
Hakuryu
07-04-2007, 03:29 AM
It means you can change what your keybinds do depending upon what you are in control of - a player or vehicle for example.
You don't need to ever reload in a vehicle, but that keybind is probably in a good spot that could be re-used by something else while you are in a vehicle.
Ifurita
07-04-2007, 04:43 AM
A bind has 2 additional arguments, a modifier and a context. By default, the is no modifer and no context.
The modifier simply lets you assign functions to a combination of keys, e.g, differentiate between J and J+SHIFT or MOUSE1 and MOUSE1+SHIFT
The context allows keys or key combinations to have different functions based on context (read as bind x only if x), where x could be in a vehicle, in a flyer, or in a tormentor. Or x could be only when you are a medic or in the menu.
b0rsuk
07-04-2007, 07:28 AM
In short, you can have the same keys do different things depending on class or vehicle you are. You can make mouse3 switch to handgrenades for infantry, and the same key throw a decoy if you're in a vehicle.
Modifiers mean that you can essentially have a lot more keys at your disposal. I use numpad for weapons and other tools, but I can use it for communication messages if I hold down Shift or CTRL. (i have movement on home/end/pgdn/del )
ho0ber
07-04-2007, 03:33 PM
Awesome info! Thanks! (and also to Hakuryu)
I'd been thinking about binding the vehicle mouselook and horn to something more useful for a while. :)
Ifurita
07-04-2007, 03:48 PM
@ B0rsuk, correct. The modifiers allow you have more keys at your disposal and the contexts allow you to set up keys that are more natural for you whether you're infantry, a specific class, in a vehicle, or specifically a tormentor.
I wish that you could assign contexts to variables too
engie^benjy
07-04-2007, 06:47 PM
This helped me because I have mouse wheel up bound to pistol and mouse wheel down bound to grenade - zooming with a rifle or binoculars was then lost. but now all I do is hold ctrl and I can zoom!! Great Stuff
reyalp
07-07-2007, 01:26 AM
Quick note: there seems to be some issues with vehicle contexts in the current beta build. Even if you set them in your autoexec, they get reset to "vehicle" when you load into game. A workaround is to bind a key to manually exec your cfg after you start the game.
n|colo
07-09-2007, 08:39 AM
Cheers for the info, you can make some real nice binds with it !
LuigiBrotha
07-10-2007, 09:56 AM
I'm going to take a look at this and see if I can figure out how to create a bind similair to the Q from Counter Strike (switch to previous). Atleast so I can quick switch between my main weapons.
reyalp
07-10-2007, 10:24 AM
I don't think there's any way currently to switch to the previous weapon you were holding. I just use a key for each weapon.
Jammydodger
07-14-2007, 10:41 AM
Great little guide there reyalp, cheers ;)
1 of my members is asking a Q and I was wondering if you guys can help answer?
Question, Is it possible to add a double command into a single bind that will both be activated when the key is pressed.
Example:
I wand F12 to toggle the bind g_showHud, and the com_showFPS. How about would I do that, would I do it simmular to RTCW where I would seperate the commands with a ; or would I just put in a space.
This
bind "F12" "toggle g_showHud; com_showFPS" "" "default"
or this
bind "F12" "toggle g_showHud com_showFPS" "" "default"
And is that toggle even correct, will it toggle them on and off together. Basically what you are seeing is a possiable bind to make clean demos by deleating everything from the scree.
Thanks for any help.
1 of my members is asking a Q and I was wondering if you guys can help answer?
Here's how you'd do that:
bind F12 "toggle g_showHud; toggle com_showFPS"
You don't need the "" "default" at the end for every bind - these are just the default settings that mean the bind will apply in every default case unless otherwise specified (for example, it would be overridden when in a vehicle if you were to bind F12 to something else in the "vehicle" context).
You need both "toggles" in there, you can't toggle two different cvars at once with a single toggle command.
Another note, the "toggle" command will switch between 0 and 1 using the current value as a starting point. So if you want the HUD and FPS counter to show and hide together, make sure they're both set to either 1 or 0 by default. If one is set to a different value, you'll find that one displays when the other is hidden and vice-versa.
Hope that helps.
Jammydodger
07-14-2007, 03:07 PM
Thanks alot MoP, your a ledge ;)
General.Jung
07-14-2007, 03:18 PM
Hello Forum,
is it possible to bind the driver seat?
b0rsuk
07-14-2007, 03:23 PM
You don't need the "" "default" at the end for every bind - these are just the default settings that mean the bind will apply in every default case unless otherwise specified
Explicit > Implied . Python is great !
Is there any chance for new contexts ? For example...
g_bind_context_offense
(true for GDF on Valley or Sewer.)
g_bind_context_defense
(Map-dependant just like the one above. True for Strogg on Valley or Sewer .
It would be nice to have 'Regroup' and 'Incoming' on the same key, depending on whether you're attacking or defending.
g_bind_context_fireteam
If there was such a context, I could make my communication binds broadcast to fireteam channel if I'm in a fireteam. If I'm not in a fireteam, they would broadcast to the main team channel.
dommafia
07-15-2007, 01:08 PM
All this will be great for us script junkies :)
Szakalot
07-17-2007, 11:20 AM
what i would like is to make one thing belong to more than one context. One context for for example any vehicle, and the other specificaly for a hog. I know it can be solved by just copying paste every command to every context but it is a pain in the ass.
Oompa
07-22-2007, 03:28 PM
True, I agree with you there, but what can you do?
Cerci
08-04-2007, 04:51 PM
Having a problem with vehicle context binds, my autoexec looks like this:
seta g_bind_context_hornet "stroggair"
bind "MOUSE2" "_weapnext" "" "stroggair"
bind "MOUSE4" "_weapon0" "" "stroggair"
bind "e" "_forward" "" "stroggair"
bind "c" "_back" "" "stroggair"
bind "w" "_sprint" "" "stroggair"
bind "s" "_speed" "" "stroggair"
But when I run the game, the tormentor controls are unchanged. Am I doing something wrong?
derpious
08-08-2007, 05:19 PM
Having a problem with vehicle context binds, my autoexec looks like this:
seta g_bind_context_hornet "stroggair"
bind "MOUSE2" "_weapnext" "" "stroggair"
bind "MOUSE4" "_weapon0" "" "stroggair"
bind "e" "_forward" "" "stroggair"
bind "c" "_back" "" "stroggair"
bind "w" "_sprint" "" "stroggair"
bind "s" "_speed" "" "stroggair"
But when I run the game, the tormentor controls are unchanged. Am I doing something wrong?
Im having the same problem and I located the problem to be that when I reboot the game the g_bind_context_hornet (hornet for exampel) is still "vehicle" but it says default=heli (heli is what I named it in my cfg).
This is really weird, you can try and see if this is the same problem your having or if you fixed it please let me know how.
I tried changing g_bind_context_hornet to heli in both autoexec and etqwconfig.cfg but still its "vehicle" when I start the game, really annoying.
Cerci
08-08-2007, 06:06 PM
I fixed it, was just dumb placement of the autoexec. I'd put it in the \base folder, in mydocs, when it should've been in the sdnet\profilename\base folder.
[]v[]
08-08-2007, 06:24 PM
Anyway to bind the command map so that it disappears when I release the key.
HalF.DeaD
08-08-2007, 07:16 PM
Is there any way to bind "look up", "look down", "look left" and "look right" (liek on mouse), i wanna make controls for flyers same like in gta san andreas, i really mastered that and i dont wanna get used to new controls.
reyalp
08-08-2007, 11:53 PM
Just a quick note:
beta 2 has solved the problems with contexts getting reset. To take advantage of this, you should use setp (this means save in profile) for your context cvars, or create an autoexec.cfg in your profile directory which sets them.
edit:
I've updated the original post to reflect this.
Dirka_Dirka
08-09-2007, 06:19 PM
Is there any chance for new contexts ? For example...
g_bind_context_offense
g_bind_context_defense
g_bind_context_fireteam
we definately need more contexts..
how about g_class_context_gdf and g_class_context_strogg
and how about some more options for vehicles.. like g_vehicle_context_air, g_vehicle_context_ground, etc
or even the ability to set multiple binds per context...
eg - something along the lines of:
setp g_class_context_aggressor "aggressor"
setp g_class_context_aggressor "fighter"
setp g_class_context_aggressor "strogg" // if theres no "race" context added
I'm new to all and have only just thrown together my first config file. Got everything I want working, except the following;
bind "UPARROW" "clientquickchat quickchat/fireteams/waypoint/attack" "" "default"
bind "DOWNARROW""clientquickchat quickchat/fireteams/waypoint/defend" "" "default"
bind "LEFTARROW" "clientquickchat quickchat/fireteams/waypoint/regroup" "" "default"
The console says these cannot be found - all my other bindings, ysays etc work fine. Any ideas?
b0rsuk
08-12-2007, 12:15 PM
Some more context ideas:
g_bind_context_dead
g_bind_context_notdriver
True if you're in a vehicle but not a driver. Could be used to communicate with the driver/pilot, for example
'Stop, I need to pee'
'Stop, I'll repair you'
'Look out, airstrike/tormentor/rocketlauncher/artillery'
'Let me drive'
Does anyone know if quickchat menus are configurable ? I might want to replace 'Thanks' with 'Danke'. Is that possible ?
Dirka_Dirka
08-13-2007, 01:30 AM
'Stop, I need to pee'
lol
10 char min post?.. i just wanted to say thats funny shite.
Mustang
08-15-2007, 08:14 PM
Agree on all the points requarding more contexts
Does anyone know if quickchat menus are configurable ? I might want to replace 'Thanks' with 'Danke'. Is that possible ?
In ET you could have custom text with the default sounds
But I dont think ETQW allows this
You definately wont be able to use custom sounds on pure/ranked servers
It could most likely be done with a server side sound pack though
reyalp
08-16-2007, 05:31 AM
In ET you could have custom text with the default sounds
That was actually added in mods AFAIK.
superfreakkkyy
08-17-2007, 07:39 PM
so is there a way to bind a key to do two things in the vehicle?
for example, mouse1 as fire button and decoy for vehicles?
Ifurita
08-17-2007, 08:15 PM
I don't think that would be a great idea. Would you really want to fire off the titan's main gun everytime you tried to deploy a flare and vice versa?
reyalp
08-17-2007, 09:35 PM
In any case, you cannot combine _ commands like _attack and _weapon0
Mustang
08-18-2007, 02:10 AM
That was actually added in mods AFAIK.
ah, quite possibly
i very quickly decided that only liked playing on etpro servers
GoatLord
08-19-2007, 08:52 PM
I'm not an expert with scripting but is there a way to make a script that toggles sprinting ON and OFF just like in ET?
If there is how would you go about it?
reyalp
08-19-2007, 09:43 PM
I'm not an expert with scripting but is there a way to make a script that toggles sprinting ON and OFF just like in ET?
If there is how would you go about it?
There is a cvar for this, but that means you can't have a toggle key and a hold key.
in_toggleSprint pressing _sprint button toggles run on/off
type: bool
default: 0 (false)
Dirka_Dirka
08-20-2007, 12:50 AM
There is a cvar for this, but that means you can't have a toggle key and a hold key.
in_toggleSprint pressing _sprint button toggles run on/off
type: bool
default: 0 (false)
you can do this in the gui now as well.
BaronLeadStorm
08-20-2007, 03:23 PM
I haven't been able to find this looking over the scripts, so I figured I would ask to make sure:
Is it possible to bind mouse 1 to strocket and mouse 2 to plasma for the tormentor?
I find using the right mouse button to switch a lot less useful then having each mouse button be a different weapon like in other flight sims.
Mustang
08-20-2007, 04:14 PM
I haven't been able to find this looking over the scripts, so I figured I would ask to make sure:
Is it possible to bind mouse 1 to strocket and mouse 2 to plasma for the tormentor?
I find using the right mouse button to switch a lot less useful then having each mouse button be a different weapon like in other flight sims.
no not possible
in etqw you have to switch to a weapon before using it
as you can only have 1 weapon equiped at any moment in time
Spreche
08-20-2007, 10:49 PM
Is there any way to bind "look up", "look down", "look left" and "look right" (liek on mouse)
Yeah, same here I was wondering how you would do that. Can anyone help us out here?
alucardx
08-23-2007, 06:18 PM
all of this context stuff needs to be implemented into the in-game config menu. this is ridiculous.
have one column for infantry (on-foot), another column for vehciles, etc.
FischCommand
08-26-2007, 07:59 AM
hi,
my following script doesn't work:
bind "MOUSE4" "toggle _weapon5; toggle _weapon2"
bind "ALT" "toggle _weapon4; toggle _weapon2"
In the console the error comes: 'unknown cvar'
Background is that that I want to convert script from ET:
bind MOUSE4 "vstr ToggleAmmoMedicNormal"
set MedicAmmo "set ToggleAmmoMedicNormal vstr NormalWaffe;weaponbank 6"
set NormalWaffe "set ToggleAmmoMedicNormal vstr MedicAmmo;weaponbank 3"
set ToggleAmmoMedicNormal "vstr MedicAmmo"
//
bind ALT "vstr medictoggle"
set spritze "set medictoggle vstr thompson2;weaponbank 5"
set thompson2 "set medictoggle vstr spritze;weaponbank 3"
set medictoggle "vstr spritze"
can anyone help?
reyalp
08-26-2007, 08:15 AM
Toggle is for cvars, not commands or _commands. You can't script _commands.
FischCommand
08-26-2007, 08:23 AM
@reyalp:
ok thx, had thought me that nearly. it harms that there is none 'vstr' more.
Was just thinking about the same stuff. Is it possible to bind two weapons on one key? I would really love to put the two main weapons on one button and grenades with close range weapon on another one. :dance:
Toggle is for cvars, not commands or _commands. You can't script _commands.
Snoofer
09-28-2007, 02:35 PM
I have a problem with my script:
seta g_bind_context_goliath "goliath"
bind "MWHEELDOWN" "_movedown" "" "goliath"
bind "MWHEELUP" "_moveup" "" "goliath"
bind "x" "_weapon0" "" "goliath"
fire decoy works, going into siege mode not
btw, rock in close combat:
bind "MWHEELDOWN" "_stroyup" "" "aggressor"
bind "MWHEELUP" "_stroydown" "" "aggressor"
Wicky
09-30-2007, 04:19 AM
What's the word to bind a mouse-axis to a command while in air? I want to strafe with the mouse x-axis (for precise aiming).
So while on ground I look with mouse and strafe with A+D.
But while in air it's flipped to strafe with mouse and look with A+D.
reyalp
09-30-2007, 05:05 AM
you should be able to bind _strafe to a key which would do that, but you will have to hold it down to take effect.
Wicky
09-30-2007, 06:14 AM
Alas, when I bound a key to _strafe I couldn't strafe up and down anymore, but the left/right movement worked as intended. And it was very precise just like I had imagined!
It didn't work but thanks! It was a good idea.
reyalp
09-30-2007, 06:47 AM
Ah you are right, it also turns mouse looking up/down to the equivalent of forward/backward on the kb :/
MAsta_KFC
10-01-2007, 10:23 AM
So you guys are saying you can't bind several commands in successive order? Eg I want to bind a key that switched my main to knife, stab, then switch back to previous weapon. Or a command that switches me to grenade, toss a gren, then switch back?
FischCommand
10-01-2007, 12:05 PM
MAsta_KFC:
No chance. After my informations that isnt possible
Diablo85
10-02-2007, 12:52 PM
I am trying to bind these keys but it doesn't seem to work. I put the commands in all my config files and even my autoexec but ingame they simply don't work. Anyone has any idea what I am doing worng and why it isn't working?
bind "KP_INS" "_weapon0" "" "vehicle"
bind "MOUSE2" "_vehicleCamera" "" "vehicle"
bind "CTRL" "_modeswitch" "" "vehicle"
FischCommand
10-02-2007, 01:09 PM
I am trying to bind these keys but it doesn't seem to work. I put the commands in all my config files and even my autoexec but ingame they simply don't work. Anyone has any idea what I am doing worng and why it isn't working?
bind "KP_INS" "_weapon0" "" "vehicle"
bind "MOUSE2" "_vehicleCamera" "" "vehicle"
bind "CTRL" "_modeswitch" "" "vehicle"
relevant paths for ET:QW are:
1) %userprofile%\My Documents\id Software\Enemy Territory - QUAKE Wars\base
2) %userprofile%\My Documents\id Software\Enemy Territory - QUAKE Wars\sdnet\[username]\base
if you have your autoexec.cfg in 1) then make a separate autoexec.cfg in 2) with follow content: 'exec autoexec.cfg' then it should work..
Diablo85
10-02-2007, 02:07 PM
Thanks, that did the trick.
One more question. Whats the command to enable or disable the weapon scroll menu?
FischCommand
10-02-2007, 02:31 PM
hm, each time if you use 'MWHEELDOWN' or 'MWHEELUP' this menu is visible
bind "MWHEELDOWN" "_weapnext" "" "default"
bind "MWHEELUP" "_weapprev" "" "default"
therefor I would say delete the fields/bindings "MWHEELDOWN"/"MWHEELUP"
Diablo85
10-02-2007, 02:46 PM
I ran this autoexec that I found on some site which is suppose to be good for low end pcs like mine. But when I did I lost my mousemenu. So I am wondering what command does that. What you said didn't seem to fix it.
//r_ gfx
seta r_customAspectRatioV "10"
seta r_customAspectRatioH "16"
seta r_aspectRatio "0"
seta r_fullscreen "1"
seta r_displayRefresh "100"
seta r_mode "5"
seta r_multiSamples "0"
seta r_megaTilesPerSecond "9999"
seta r_megaUpscale "0"
seta r_megaStreamFromDVD "0"
seta r_megaFadeTime "1500"
seta r_megaStreamBlocks "4"
seta r_detailFade "0.5"
seta r_detailTexture "1"
seta r_visDistMult "1.2"
seta r_shaderSkipSpecCubeMaps "0"
seta r_normalizeNormalMaps "1"
seta r_shaderPreferALU "1"
seta r_shaderQuality "1"
seta r_useAlphaToCoverage "0"
seta r_debugArrowStep "120"
seta r_debugLineWidth "1"
seta r_debugLineDepthTest "0"
seta r_skipRefractCopy "0"
seta r_skipDepthAmbient "0"
seta r_useShadowVisDistMult "1.0"
seta r_trisColor "1.0 1.0 1.0 1.0"
seta r_forceLoadImages "0"
seta r_shadows "0"
seta r_shadowPolygonFactor "0"
seta r_shadowPolygonOffset "-1"
seta r_useDitherMask "1"
seta r_skipAtmosphere "1"
seta r_brightness "1.2"
seta r_gamma "1.2"
seta r_swapInterval "0"
seta r_megaDrawMethod "999"
seta r_softParticles "0"
seta r_useIndexBuffers "1"
seta r_skipStuff "0"
seta r_MD5LodScale "1"
seta r_renderProgramLodDistance "200"
//image
seta image_specularPicMip "-2"
seta image_diffusePicMip "-2"
seta image_bumpPicMip "-2"
seta image_globalPicMip "-2"
seta image_picMip "-2"
seta image_picMipEnable "1"
seta image_detailPower "0.7"
seta image_ignoreHighQuality "1"
seta image_useBackgroundLoads "1"
seta image_usePrecompressedTextures "1"
seta image_useNormalCompression "2"
seta image_useAllFormats "1"
seta image_useCompression "1"
seta image_roundDown "1"
seta image_lodbias "1"
seta image_anisotropy "0"
seta image_filter "GL_LINEAR_MIPMAP_NEAREST"
//bse
seta bse_simple "1"
seta bse_rateCost "1.0"
seta bse_rateLimit "1.0"
seta bse_detailLevel "0.5"
//net
seta net_httpProxyMode "1"
seta net_httpProxy ""
seta net_updateAutoExecute "1"
seta net_updateAutoDownload "1"
seta net_clientPunkbusterEnabled "1"
seta net_clientMaxRate "999999"
seta net_serverMaxClientRate "28000"
seta net_useUPnP "1"
seta net_maxPredictionMerge "1"
seta net_clientLagOMeter "0"
//mouse
seta m_strafeSmooth "1"
seta m_smooth "0"
seta m_strafeScale "6.25"
seta m_yaw "0.022"
seta m_pitch "0.016"
seta sensitivity "6.0"f
seta in_toggleSprint "0"
seta in_toggleRun "0"
seta in_freeLook "1"
seta in_anglespeedkey "1.5"
seta in_pitchspeed "140"
seta in_yawspeed "140"
//com
seta com_unlockFPS "1"
seta com_unlock_maxFPS "60"
seta com_unlock_timingMethod "0"
seta com_useFastVidRestart "1"
seta com_videoRam "256"
seta com_showTPS "0"
seta com_showBPS "0"
seta com_showFPS "1"
seta com_allowConsole "1"
seta com_purgeAll "0"
seta com_gpuSpec "0"
seta com_machineSpec "0"
seta com_lastCPULevel "0"
//sound
seta s_maxLowPrioritySounds "8"
seta s_useAdpcmCompression "1"
seta s_clipVolumes "1"
seta s_numberOfSpeakers "2"
seta s_globalFraction "0.8"
seta s_subFraction "0.5"
seta s_playDefaultSound "1"
seta s_voipVolumeOut_dB "0"
seta s_voipVolumeIn_dB "0"
seta s_meterTopTime "2000"
seta s_reverse "0"
seta s_spatializationDecay "2"
seta s_maxSoundsPerShader "1"
seta s_decompressionLimit "6"
seta s_libOpenAL "openal32.dll"
seta s_driver "dsound"
seta s_volume_dB "-5"
seta g_volumeMusic_dB "0"
//gui
seta gui_vehicleDirectionAlpha "0.5"
seta gui_vehicleAlpha "1"
seta gui_tooltipAlpha "0"
seta gui_voteAlpha "0.5"
seta gui_obitAlpha "1"
seta gui_objectiveStatusAlpha "1"
seta gui_objectiveListAlpha "0"
seta gui_commandMapAlpha "0.5"
seta gui_fireTeamAlpha "1"
seta gui_chatAlpha "1"
seta gui_notificationPause "5"
seta gui_notificationTime "5"
seta gui_doubleClickTime "0.2"
seta gui_showTooltips "1"
seta gui_scoreBoardSort "0"
//g_
seta g_showPlayerShadow "0"
seta g_radialMenuMouseSensitivity "0"
seta g_radialMenuUseNumberShortcuts "1"
seta g_radialMenuStyle "1"
seta g_waypointDistanceMax "3084"
seta g_waypointDistanceMin "512"
seta g_waypointSizeMax "32"
seta g_waypointSizeMin "16"
seta g_showWayPoints "1"
seta g_waypointAlphaScale "0.7"
seta g_rotateCommandMap "0"
seta g_spectateLerpScale "0.2"
seta g_playerIconAlphaScale "0.5"
seta g_playerArrowIconSize "10"
seta g_playerIconSize "20"
seta g_drawPlayerIcons "1"
seta g_noBotSpectate "1"
seta g_playTooltipSound "1"
seta g_radialMenuMouseInput "2"
seta g_vehicleSteerKeyScale "1"
seta g_transportDebrisLowCutoff "0"
seta g_transportDebrisMediumCutoff "0"
seta g_transportDebrisHighCutoff "0"
seta g_transportDebrisExtraHighCutoff "0"
seta g_maxTransportDebrisLow "0"
seta g_maxTransportDebrisMedium "0"
seta g_maxTransportDebrisHigh "0"
seta g_maxTransportDebrisExtraHigh "0"
seta g_execMapConfigs "0"
seta g_hitBeep "1"
seta g_weaponSwitchTimeout "0"
seta g_showFireTeamLocation "0"
seta g_useCompiledScript "1"
seta g_cheapDecalsMaxDistance "16384"
seta g_enemyColor "0.9 0.1 0.1 1"
seta g_neutralColor "0.75 0.75 0.75"
seta g_friendlyColor ".5 .83 0 1"
seta g_skipIntro "1"
seta g_chatFireTeamColor "0.8 0.8 0.8 1"
seta g_chatTeamColor "1 1 0 1"
seta g_chatDefaultColor "1 1 1 1"
seta g_showPlayerSpeed "0"
seta g_commandMapZoom "0.125"
seta g_commandMapZoomStep "0.125"
seta g_decals "0"
seta g_fov "90"
//ui
seta ui_drivingCameraFreelook "0"
seta ui_rememberCameraMode "1"
seta ui_advancedDrivingControls "1"
seta ui_advancedFlightControls "1"
seta ui_postArmFindBestWeapon "1"
seta ui_ignoreExplosiveWeapons "1"
seta ui_autoSwitchEmptyWeapons "1"
seta ui_showGun "0"
//stuff
seta sys_lang "english"
seta cl_punkbuster "1"
seta in_alwaysrun "1"
seta con_speed "999"
seta win_noTaskKeys "0"
seta win_allowMultipleInstances "1"
Do you happen to know which command disabled my mouse menu?
FischCommand
10-02-2007, 03:08 PM
Unfortunately no notion, but the following instruction might be wrong:
seta sensitivity "6.0"f
remove the f at the end of line..
Diablo85
10-02-2007, 03:40 PM
Unfortunately no notion, but the following instruction might be wrong:
seta sensitivity "6.0"f
remove the f at the end of line..
Thanks for the help anyways. I will just delete all my configs then and see if its fixed then. And then alter the settings.
FischCommand
10-02-2007, 03:50 PM
np, yes thats the simplest way for you IMO
Diablo85
10-03-2007, 02:43 PM
What is the action command for changing vehicle seat inside of a vehicle?
Ifurita
10-04-2007, 02:58 PM
Activate/Use (F)
Quicksilver420
10-04-2007, 07:35 PM
How would I go about binding delete and insert to the vsays,I need a medic and I need ammo? Is it even possible:confused:
Ifurita
10-04-2007, 08:48 PM
http://4newbies.planetwolfenstein.gamespy.com/ETQW/faq.php#scriptingfaq
Page down once and you'll see a list of key names. For Delete, it's just bind DEL ..., for Insert, it's just bind INS ...
AresNAD
10-05-2007, 03:54 PM
Is there any way to bind "look up", "look down", "look left" and "look right" (liek on mouse), i wanna make controls for flyers same like in gta san andreas, i really mastered that and i dont wanna get used to new controls.
_lookup
_lookdown
_right
_left
I have tired _lookup and _lookdown for the flyers, but it seems to be a bit twichy. IE, you don't pull back on the stick, you yank it back all the way.
czarnyziompl
10-07-2007, 11:50 PM
what's the thingybob for HORN in vehicles? I'm trying to bind it under a key while I'm one coz H is not an easy access for me? anyone?
EDIT: got it..that was easy...now I need to get Mouse4 switching to knife when disguised? help! :rolleyes:
Goner
10-11-2007, 03:00 PM
How could I make 'crouch' toggable (is that a word?) ??
Tried : bind "c" "toggle _movedown" "" "default"
but that doesn't seem to work. Can't find a cvar for it either ...
reyalp
10-11-2007, 09:00 PM
How could I make 'crouch' toggable (is that a word?) ??
Tried : bind "c" "toggle _movedown" "" "default"
but that doesn't seem to work. Can't find a cvar for it either ...
You cannot.
toggle operates on cvars. _movedown is not a cvar.
Backdraft
10-12-2007, 05:08 AM
Just wondering if there is a way to bind MOUSE2 (or another key) to _activate when ONLY holding the knife? Sort of like a weapon's context bind.
czarnyziompl
10-13-2007, 01:49 PM
I need to bind a key to hide and show COCKPIT in vehicles. Can you drop me a line of the cvar or command or whatever is needed to do so? thanks guyz...
-=OUTLAW=-
10-13-2007, 05:04 PM
Hi, i am trying to bind the A and D keys to roll left and right,but i only want to do this in the heli vehicles.
The command i am using is
bind "a" "_left" "" "Tormentor"
bind "d" "_right" "" "Tormentor"
this does not seem to work.
when i use Bind "A" "_left" "" "Vehicles"
it works but then all vehicles use it and thats not what i want.
Any help would be appreciated.
actually i have done it now.
i set the flying vehicles into a "flyers" context
then set it up with the following command.
bind "A" "_left" "" "flyers
if i put the quotes at the end of flyers it would not work for some reason.
ah bollocks it didnt save !
Done..just added to my autoexec. cfg and a few lines into my bindings.cfg
mattshu88
10-13-2007, 06:05 PM
From the looks of what people have posted so far, you cannot say use MOUSE3 to toggle between nades and primary weapon correct?
However, would it be possible to use MOUSE3 to switch to nades and MOUSE3 with a shift modifier to go back to primary weapon?
If so how would that appear in scripting language?
Appreciate it guys :)
Backdraft
10-13-2007, 08:00 PM
I need to bind a key to hide and show COCKPIT in vehicles. Can you drop me a line of the cvar or command or whatever is needed to do so? thanks guyz...
Add this to autoexec or type in console:
bind "z" "toggle g_showvehiclecockpits 0 1" "" "vehicle"
Backdraft
10-13-2007, 08:03 PM
From the looks of what people have posted so far, you cannot say use MOUSE3 to toggle between nades and primary weapon correct?
However, would it be possible to use MOUSE3 to switch to nades and MOUSE3 with a shift modifier to go back to primary weapon?
If so how would that appear in scripting language?
Appreciate it guys :)
bind "MOUSE3" "_weapon3"
bind "MOUSE3" "_weapon1" "ALT"
Replace the ALT with whatever modifier you want to use.
AresNAD
10-14-2007, 06:43 PM
Anyone know what is the command to switch fire modes?
Backdraft
10-14-2007, 09:47 PM
Anyone know what is the command to switch fire modes?
I believe it is _weapnext.
reyalp
10-15-2007, 05:56 AM
I believe it is _weapnext.
That switches weapons (in the anansi/tormentor that means either guided or unguided).
altfire (ironsight/scope/grenade launcher) is _altattack
rrcp1us
10-15-2007, 08:19 AM
Is there any way to bind the W key (if it's tapped twice) to run? like it used to be in BF2?
reyalp
10-15-2007, 09:49 PM
Is there any way to bind the W key (if it's tapped twice) to run? like it used to be in BF2?
I don't think so. You can turn on in_togglesprint which makes your sprint key a turn sprint on or off, but be warned that this also affects vehicles.
ZaZen.
10-16-2007, 11:50 PM
One more question. Whats the command to enable or disable the weapon scroll menu?
Thats
g_weaponSwitchTimeout
When set to '0' you get no menu
Seta g_weaponSwitchTimeout 1.5
set to 1.5 (which is how mine is set) and you get the menu.
you need these two binds (these are default) or the menus dont work with the mouse wheel.
bind "MWHEELDOWN" "_weapnext" "" "default"
bind "MWHEELUP" "_weapprev" "" "default"
Strogg Strogg Strogg !!!!
ZaZen.
ScottFree
10-18-2007, 04:36 AM
Couple of Questions?
Is it possible to direct select tools that usually overlap in keys. Such as Pliers and Deployment tool overlap on the 5 key or Medpacks and Supply crate markers are on the 6 key. Can I bind Pliers to one key and Deployment tool to another?
Is there anyway to script "turn off toggle to sprint" when in a vehicle so that sprint works on key press only?
Is the cross hair supposed to disappear when you use free lock (_tophat) when in a flying vehicle? Is there another command to keep the cross hair visible during free look?
Ifurita
10-18-2007, 05:47 AM
Here's a list of the items and tools that can be bound
http://4newbies.planetwolfenstein.gamespy.com/ETQW/weapons_special.php
reyalp
10-18-2007, 11:16 PM
Couple of Questions?
Is it possible to direct select tools that usually overlap in keys. Such as Pliers and Deployment tool overlap on the 5 key or Medpacks and Supply crate markers are on the 6 key. Can I bind Pliers to one key and Deployment tool to another?
Yes. My config (http://www.collectivecomputing.com/~reed/etqw/reyalp_etqw_cfg.zip) has an example of this. You can also do it in the menu using the tool1/tool2/item1/item2 options.
Is there anyway to script "turn off toggle to sprint" when in a vehicle so that sprint works on key press only?
There's no automatic way to do it. You could set a key to toggle in_togglesprint.
Is the cross hair supposed to disappear when you use free lock (_tophat) when in a flying vehicle? Is there another command to keep the cross hair visible during free look?
The crosshair is supposed to go away if you aim beyond where the gun can aim. You can still lock after that. AFAIK there is no way to keep the crosshair on.
Backdraft
10-19-2007, 03:23 AM
The crosshair is supposed to go away if you aim beyond where the gun can aim. You can still lock after that. AFAIK there is no way to keep the crosshair on.
In the Tormentor you have about 15 degrees of freelook, while in the Anansi you have effectively 0.
ScottFree
10-20-2007, 06:12 AM
Thanks Ifurita and reyalp
In the Tormentor you have about 15 degrees of freelook, while in the Anansi you have effectively 0.
That's pretty consistent with my experience and annoying.
Bu11eT
10-21-2007, 12:15 PM
Hi !
I want to do a script which gives me a rotation of tools and item's on the C key, but it should skip the empty ones (not every class has 2 tools and 2 items, so if i use a default binding (commented out in example shown below) it switches also to the empty slots..)
I've tried the following but the game used only the last entry (covertops)
What do i have to change to get it work right ?
Thanks in advance !
//bind "c" "vstr werkzeug1"
//seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'default'"
//seta werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr werkzeug3' '' 'default'"
//seta werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug4' '' 'default'"
//seta werkzeug4 "useWeapon weapon_item2; bind 'c' 'vstr werkzeug1' '' 'default'"
setp g_class_context_aggressor "aggressor"
bind "c" "vstr werkzeug1" "" "aggressor"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'aggressor'"
seta werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug1' '' 'aggressor'"
setp g_class_context_technician "technician"
bind "c" "vstr werkzeug1" "" "technician"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'technician'"
seta werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug1' '' 'technician'"
setp g_class_context_constructor "constructor"
bind "c" "vstr werkzeug1" "" "constructor"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'constructor'"
seta werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr werkzeug3' '' 'constructor'"
seta werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug1' '' 'constructor'"
setp g_class_context_oppressor "oppressor"
bind "c" "vstr werkzeug1" "" "oppressor"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'oppressor'"
seta werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug3' '' 'oppressor'"
seta werkzeug3 "useWeapon weapon_item2; bind 'c' 'vstr werkzeug1' '' 'oppressor'"
setp g_class_context_infiltrator "infiltrator"
bind "c" "vstr werkzeug1" "" "infiltrator"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'infiltrator'"
seta werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr werkzeug3' '' 'infiltrator'"
seta werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug4' '' 'infiltrator'"
seta werkzeug4 "useWeapon weapon_item2; bind 'c' 'vstr werkzeug1' '' 'infiltrator'"
setp g_class_context_soldier "soldier"
bind "c" "vstr werkzeug1" "" "soldier"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'soldier'"
seta werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug1' '' 'soldier'"
setp g_class_context_medic "medic"
bind "c" "vstr werkzeug1" "" "medic"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'medic'"
seta werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug3' '' 'medic'"
seta werkzeug3 "useWeapon weapon_item2; bind 'c' 'vstr werkzeug1' '' 'medic'"
setp g_class_context_engineer "engineer"
bind "c" "vstr werkzeug1" "" "engineer"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'engineer'"
seta werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr werkzeug3' '' 'engineer'"
seta werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug1' '' 'engineer'"
setp g_class_context_fieldops "fieldops"
bind "c" "vstr werkzeug1" "" "fieldops"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'fieldops'"
seta werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug3' '' 'fieldops'"
seta werkzeug3 "useWeapon weapon_item2; bind 'c' 'vstr werkzeug1' '' 'fieldops'"
setp g_class_context_covertops "covertops"
bind "c" "vstr werkzeug1" "" "covertops"
seta werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr werkzeug2' '' 'covertops'"
seta werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr werkzeug3' '' 'covertops'"
seta werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr werkzeug4' '' 'covertops'"
seta werkzeug4 "useWeapon weapon_item2; bind 'c' 'vstr werkzeug1' '' 'covertops'"
EDIT:
Found it - u need to make the vstr's uniqe !
Here's what works:
setp g_class_context_aggressor "aggressor"
bind "c" "vstr ag_werkzeug1" "" "aggressor"
seta ag_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr ag_werkzeug2' '' 'aggressor'"
seta ag_werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr ag_werkzeug1' '' 'aggressor'"
setp g_class_context_technician "technician"
bind "c" "vstr te_werkzeug1" "" "technician"
seta te_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr te_werkzeug2' '' 'technician'"
seta te_werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr te_werkzeug1' '' 'technician'"
setp g_class_context_constructor "constructor"
bind "c" "vstr con_werkzeug1" "" "constructor"
seta con_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr con_werkzeug2' '' 'constructor'"
seta con_werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr con_werkzeug3' '' 'constructor'"
seta con_werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr con_werkzeug1' '' 'constructor'"
setp g_class_context_oppressor "oppressor"
bind "c" "vstr op_werkzeug1" "" "oppressor"
seta op_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr op_werkzeug2' '' 'oppressor'"
seta op_werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr op_werkzeug3' '' 'oppressor'"
seta op_werkzeug3 "useWeapon weapon_item2; bind 'c' 'vstr op_werkzeug1' '' 'oppressor'"
setp g_class_context_infiltrator "infiltrator"
bind "c" "vstr in_werkzeug1" "" "infiltrator"
seta in_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr in_werkzeug2' '' 'infiltrator'"
seta in_werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr in_werkzeug3' '' 'infiltrator'"
seta in_werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr in_werkzeug4' '' 'infiltrator'"
seta in_werkzeug4 "useWeapon weapon_item2; bind 'c' 'vstr in_werkzeug1' '' 'infiltrator'"
setp g_class_context_soldier "soldier"
bind "c" "vstr so_werkzeug1" "" "soldier"
seta so_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr so_werkzeug2' '' 'soldier'"
seta so_werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr so_werkzeug1' '' 'soldier'"
setp g_class_context_medic "medic"
bind "c" "vstr me_werkzeug1" "" "medic"
seta me_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr me_werkzeug2' '' 'medic'"
seta me_werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr me_werkzeug3' '' 'medic'"
seta me_werkzeug3 "useWeapon weapon_item2; bind 'c' 'vstr me_werkzeug1' '' 'medic'"
setp g_class_context_engineer "engineer"
bind "c" "vstr en_werkzeug1" "" "engineer"
seta en_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr en_werkzeug2' '' 'engineer'"
seta en_werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr en_werkzeug3' '' 'engineer'"
seta en_werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr en_werkzeug1' '' 'engineer'"
setp g_class_context_fieldops "fieldops"
bind "c" "vstr fi_werkzeug1" "" "fieldops"
seta fi_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr fi_werkzeug2' '' 'fieldops'"
seta fi_werkzeug2 "useWeapon weapon_item1; bind 'c' 'vstr fi_werkzeug3' '' 'fieldops'"
seta fi_werkzeug3 "useWeapon weapon_item2; bind 'c' 'vstr fi_werkzeug1' '' 'fieldops'"
setp g_class_context_covertops "covertops"
bind "c" "vstr cov_werkzeug1" "" "covertops"
seta cov_werkzeug1 "useWeapon weapon_tool1; bind 'c' 'vstr cov_werkzeug2' '' 'covertops'"
seta cov_werkzeug2 "useWeapon weapon_tool2; bind 'c' 'vstr cov_werkzeug3' '' 'covertops'"
seta cov_werkzeug3 "useWeapon weapon_item1; bind 'c' 'vstr cov_werkzeug4' '' 'covertops'"
seta cov_werkzeug4 "useWeapon weapon_item2; bind 'c' 'vstr cov_werkzeug1' '' 'covertops'"
MrBeens
10-21-2007, 12:23 PM
Is there anyt way to bind the context sensative chat actions to a key?
For instance there are context chat lines for "I'm a <class>" and in game using the Vsay menu you cycle to the relevant section and you tell your team what class you are.
I've found the list of the individual chat lines (for instance clientquickchat quickchat/self/imaggressor) but would like to just set up one bind that detects what class I am and says it, as opposed to setting up a separate contect bind for each class.
Thanks
PS here is what my binds look like at the moment -
bind "KP_END" "clientquickchat quickchat/self/imaggressor" "" "aggressor"
bind "KP_END" "clientquickchat quickchat/self/imtechnician" "" "technician"
bind "KP_END" "clientquickchat quickchat/self/imconstructor" "" "constructor"
bind "KP_END" "clientquickchat quickchat/self/imoppressor" "" "oppressor"
bind "KP_END" "clientquickchat quickchat/self/iminfiltrator" "" "infiltrator"
I want to cut this down to just one line if possible.
Bu11eT
10-21-2007, 01:41 PM
Hi !
Ran into another problem:
Why is this not working:
bind "KP_PGUP" "clientquickchat quickchat/global/cheers/forthemakron" "" "clientTeam Strogg"
bind "KP_PGUP" "clientquickchat quickchat/global/cheers/freedomofearth" "" "clientTeam GDF"
Just wanted to say similar things based on the Team i am !
How to...?
Thanks in advance !
Ifurita
10-21-2007, 04:58 PM
because Strogg is not a recognized context (and certainly not ClientTeam Strogg) unless you made the context for your constructor, tech, aggressor, oppressor, and infiltrator = "Strogg"
Bu11eT
10-22-2007, 09:35 PM
Hi !
because Strogg is not a recognized context (and certainly not ClientTeam Strogg) unless you made the context for your constructor, tech, aggressor, oppressor, and infiltrator = "Strogg"
I've guessed it, but was'nt sure, so i've tried.
I've then tried to set an additional context this way:
setp g_class_context_aggressor "strogg"
...
setp g_class_context_soldier "gdf"
...
bind "PGDN" "clientquickchat quickchat/global/cheers/strogg" "" "strogg"
bind "PGDN" "clientquickchat quickchat/global/cheers/gdf" "" "gdf"
...
which also won't work..
How would i do this right ?
Thanks in advance !!
Regards
samsho5
10-23-2007, 06:17 PM
Hi !
I've guessed it, but was'nt sure, so i've tried.
I've then tried to set an additional context this way:
setp g_class_context_aggressor "strogg"
...
setp g_class_context_soldier "gdf"
...
bind "PGDN" "clientquickchat quickchat/global/cheers/strogg" "" "strogg"
bind "PGDN" "clientquickchat quickchat/global/cheers/gdf" "" "gdf"
...
which also won't work..
How would i do this right ?
Thanks in advance !!
Regards
i've posted this already, its almost what youre looking for but you have to hit the key 2 times to hear/see it.
seta med1 "clientquickchat quickchat/need/medic; bind KP_PLUS $med2"
seta med2 "clientquickchat quickchat/need/technician; bind KP_PLUS $med1"
bind "KP_PLUS" "vstr med1"
edit** just change the KEY and the medic/technician line with yours.
sion47? posted a really nice one..check out this link
http://community.enemyterritory.com/forums/showthread.php?t=14394
Bu11eT
10-23-2007, 07:30 PM
Thanks for the Hint !
EDIT: Oh my Strogg - it's so simple:
bind "KP_END" "clientquickchat botchat/generic/technicianenroute; clientquickchat botchat/generic/medicenroute" "" "default"
will do the trick !
Console spits out an errormessage for the "not found other Team vsay" but thats ok i guess !
Thanks again for helping me out !
CowEyeball
10-23-2007, 09:46 PM
I can't help but think this has been asked already, but I couldn't find it if it had.
When I do something like this:
setp g_bind_context_hornet "flyers"
am I changing the hornet to now be a "flyer" context and only a "flyer" context, or am I creating an additional context for the hornet to live in (in addition to its default "vehicle" context)?
MrBeens
10-24-2007, 01:40 PM
That's a very good question - I would like to know that too :)
reyalp
10-24-2007, 09:24 PM
I can't help but think this has been asked already, but I couldn't find it if it had.
When I do something like this:
setp g_bind_context_hornet "flyers"
am I changing the hornet to now be a "flyer" context and only a "flyer" context, or am I creating an additional context for the hornet to live in (in addition to its default "vehicle" context)?
Only one context is active at a time. If do the above, flyers is the ONLY context that applies when you are flying the tormentor.
Similarly, your class context only applies if you aren't in a vehicle.
"vehicles" only works because it's the default value for all the vehicles.
Necro
10-25-2007, 09:42 AM
Another question:
Is it possible to set a cvar for a specific weapon, like medpack?
I try to set alternate fire to "Medpacks dropped!" when i got my medpacks in the hand. Same for Supplycrate.
So something like that will work:
setp g_bind_context_medpack "medpack"
bind "mouse2" "quickchat quickchat/.../medpacksdropped" "" "medpack"
reyalp
10-25-2007, 09:43 AM
Another question:
Is it possible to set a cvar for a specific weapon, like medpack?
I try to set alternate fire to "Medpacks dropped!" when i got my medpacks in the hand. Same for Supplycrate.
So something like that will work:
setp g_bind_context_medpack "medpack"
bind "mouse2" "quickchat quickchat/.../medpacksdropped" "" "medpack"
Nope only the contexts I listed in my original post are valid (plus a couple related to UI stuff)
Necro
10-25-2007, 02:40 PM
Ok, try to find a way to move a flying vehicle with mouse left and right. Because its to inaccurate to control it with "A" and "D".
bind "MOUSELEFT" "_LEFT" "" "ANANSI"
I'm not sure if MOUSELEFT is the right command. Will try it now. Anyone other ideas?
Edit:
Ok, MOUSELEFT doesnt exists. I have tried to find the right command in the console, but havent found anything.
reyalp
10-25-2007, 09:18 PM
You cannot re-assign the mouse axis.
Quicksilver420
10-26-2007, 03:30 AM
Not sure what I'm doing wrong but I cant seem to get any binds to work in the TORMENTOR
Here's what I have so far:I use my joystick to jump/crouch which is _moveup/_movedown these are JOY1_3 and JOY1_4
I'd like to use them for the tormentor up/down as well.
I type this in at the console and no-go
bind "joy1_3" "_moveup" "" "hornet" or "vehicle"
I jump/crouch on foot of course but in a vehicle the keys are dead....any ideas guys??:confused:
I tried bind "joy1_3" "forward" "" "hornet" and bingo it worked ! Forward is the command to fly higher not _moveup,and back is down in the tormentor....weird shit
Inkubus
10-26-2007, 03:42 AM
Is it possible to make it so that when you use the mousewheel to scroll through weapons, you don't have to click fire to select that weapon, and item is automatically brought up (like when you use the number keys)?
Hirutashiro
10-26-2007, 04:35 PM
if you look in etqwbinds.cfg you will see that binds aren't just a simple bind key action any more. Instead, they look like this:
bind "w" "_forward" "" "default"
The each field in quotes has a meaning, as described below:
bind "KEY" "ACTION" "MODIFIER KEY" "CONTEXT"
We'll get to modifiers in a moment, but first, contexts.
In the first example "default" means this bind is for the default context. Binds in the default context are used when there are no binds for the same key in the current context. You don't actually need to specify this (binds without any context will be in the default context), but et:qw saves your configs this way.
"vehicle" is the default context for when you are in any vehicle. A bind with this context is only active when you are in a vehicle. So
bind "MOUSE5" "_weapon0" "" "vehicle"
means that MOUSE5 fires a decoy when you are in a vehicle, but could be used for something completely different as infantry.
You can also name vehicle contexts individually, which is nice, since you might want to use the different keys for flying vehicles and ground vehicles.
For example, you could use:
setp g_bind_context_hornet "hornet"
bind "MOUSE2" "_weapnext" "" "hornet"
which means pressing MOUSE2 to will switch to the next weapon (effectively toggling between guided strockets and unguided plasma cannon) only when you are in the tormentor (hornet seems to be it's internal name)
If more than one vehicle uses the same control set, you can just make one context which covers them all. For example, crouch engages siege mode in the desecrator and cyclops, but isn't useful in other vehicles. So you could use something like:
Note the use of 'setp' instead of 'seta'. This means to save it in your profile, rather than your main etqwconfig.cfg. This is important, if you use seta, the value will be lost when you load the game.
setp g_bind_context_desecrator "stroggtank"
setp g_bind_context_goliath "stroggtank"
bind "MOUSE2" "_movedown" "" "stroggtank"
that way, your MOUSE2 goes to siege mode in both these vehicles (goliath is the internal name for the cyclops), but could be used for something else in all other cases.
Class contexts work much like vehicle contexts. The default context for each class is the name of the class (so if you wanted to make a medic only bind, it would use the "medic" context), but like the above, it may make sense to give classes with similar needs the same context names.
Modifiers:
The modifier field is used to specify that a key combination is used to do that particular action. An example combining class contexts and modifiers from my config is:
setp g_class_context_covertops "cov"
setp g_class_context_infiltrator "cov"
...
bind "b" "useweapon weapon_tool2" "CTRL" "cov" // deploy
...
bind "b" "useWeapon weapon_binocs" "" "default"
Which means that control+b brings up the deploy tool for both covert ops and infiltrator, while plain b brings up the binocs for all classes. If I hadn't renamed the two class contexts, I would have had to specify the deploy tool bind twice.
Note that you can use ANY key as a modifier, not just the normal CTRL, SHIFT, ALT etc. However, you may run into limits on the number of simultanious keys your keyboard supports.
For completeness, I should mention that there are also a "menu" and "bindmenu" contexts. I suggest not messing with them.
Here is the complete list of class and vehicle context name cvars, and their default values (from etqwconfig.cfg):
setp g_bind_context_anansi "vehicle"
// badger is the armadillo
setp g_bind_context_badger "vehicle"
setp g_bind_context_bumblebee "vehicle"
setp g_bind_context_desecrator "vehicle"
//goliath is the cyclops
setp g_bind_context_goliath "vehicle"
setp g_bind_context_hog "vehicle"
//hornet is the tormentor
setp g_bind_context_hornet "vehicle"
setp g_bind_context_husky "vehicle"
setp g_bind_context_icarus "vehicle"
setp g_bind_context_mcp "vehicle"
setp g_bind_context_platypus "vehicle"
setp g_bind_context_titan "vehicle"
setp g_bind_context_trojan "vehicle"
setp g_class_context_aggressor "aggressor"
setp g_class_context_technician "technician"
setp g_class_context_constructor "constructor"
setp g_class_context_oppressor "oppressor"
setp g_class_context_infiltrator "infiltrator"
setp g_class_context_soldier "soldier"
setp g_class_context_medic "medic"
setp g_class_context_engineer "engineer"
setp g_class_context_fieldops "fieldops"
setp g_class_context_covertops "covertops"
Note public beta 1 had a spelling error in the game: g_class_context_solider "soldier". In beta two, the cvar is correctly called g_class_context_soldier.
edit:
Updated for beta 2, with setp.
edit again:
Note that for context cvars to work, you may have to set them in your profile autoexec rather than the normal one in base. To do this, place a file called autoexec.cfg under sdnet\<your profile name>\base under your etqw directory. In theory setp in your main autoexec should do the same thing, but some people have had trouble with that.
You saved my life!
Now I will be able to use mouse2 for freelook in a vehicle; anytime I'd bind mouse 2 for freelook in a vehicle, first or secondary slot, it would always remove the action for default more: on feet.
A bit of pain the arse though, to go through it manually. Hasn't this been solved with a patch for the retail?
anthonyda
10-26-2007, 06:39 PM
Hi, sorry if this not the good thread, but is there a way to have the hidden voice bind that bots have, it's says "I'm gonna TK revive you", i read this thread, but I didn't find the solution, thx !
samsho5
10-26-2007, 09:16 PM
you could also make a totally new set of binds and switch back and forth between them with 1 button.
make 2 copyies of your etqwbinds.cfg and rename them to something like flybinds.cfg and normalbinds.cfg(or use the etqwbinds)
edit the flybinds to however you like when you are flying with wordpad/ingame or whatever.
use the game console and add..
bind f10 "vstr mybinds1"
seta mybinds1 "exec flybinds.cfg; bind F10 $mybinds2"
seta mybinds2 "exec normalbinds.cfg; bind F10 $mybinds1"
reyalp
10-26-2007, 11:36 PM
you could also make a totally new set of binds and switch back and forth between them with 1 button.
make 2 copyies of your etqwbinds.cfg and rename them to something like flybinds.cfg and normalbinds.cfg(or use the etqwbinds)
contexts provide a FAR more reasonable way of doing this.
tombstone
10-27-2007, 02:01 PM
i am wondering if the context on the context menu in game would be available. i think it should be really. then you could have binds for things that you might be aiming at. If you were staring at a titan, and you hit a certain key, it could say the enemy armour spotted as usual, but then request artillery support in addition, or if you were aiming at a flyer, it could request rocket launcher support. perhaps it could be used to bring out the most suitable weapon in the specific class context. or if it was a friendly vehicle, and you were an engineer, , it could say 'i'm repairing', and get out the pliers. Medics looking at downed team mates could say, 'hold on i'm a medic', and of course get the defibrillators out
if you could access information like the name of the target too, and come out with something like 'i'm gonna get you <namehere>', or 'don't tap out <namehere>, i'll revive you'
i wonder if these contexts could be secretly available :)
EDIT: anthonyda. Try here: http://wiki.battle.no/index.php/Quake_Wars_vsay_list
WhizzIK
10-28-2007, 03:51 PM
Hi there i hope somebody can help me here im trying to understand the way way the configs work in ETQW similar to the way Quake 3 work but lot of additions .... neway anybody here know how to script and write configs coz i just cant get my bloody head around it
My problem is i have all my keys bound to my liking accept for the mouse wheel which im using for my primary weapons which i don't really want to change
bind "MWHEELUP" "_weapon1" "" "default" - LIGHT
bind "MWHEELDOWN" "_weapon2" "" "default" - HEAVY
now this is fine as long as i don't want to be an infiltrator with a railgun "which the situation often dictates i do"
my question is can i use the mousewheel for zoom just as an infiltrator as below solely for the zoom function on the railgun if so how? i didn't really want to use another key if i can help it. the key bindings i want to use for the zoom are the default ones but they clash
bind "," "_weapprev" "" "default"
bind "." "_weapnext" "" "default"
any help would be greatly appreciated
Peace
Ifurita
10-28-2007, 03:58 PM
you could use a modifier
bind "mwheelup" "_weapprev" "shift" "default"
bind "mwheeldown" "_weapnext" "shift" "default"
So that shift and mousewheel would make you scroll
WhizzIK
10-28-2007, 04:44 PM
you could use a modifier
bind "mwheelup" "_weapprev" "shift" "default"
bind "mwheeldown" "_weapnext" "shift" "default"
So that shift and mousewheel would make you scroll
Yes i understand that much but im sure i read somewhere you can do it another way without using another key but for the life of me i cant remember is it another modifier for the infiltrator class ?
Peace
Evilbonez
10-28-2007, 05:07 PM
Hey guys, I'm just trying to do a simple toggle bind for crouch. But I cannot get it working in-game for some reason.
I'm using;
bind KP_END "toggle _movedown"
I have KP_END bound to one of my mouse keys. But for some reason it does not work in-game.
Any ideas?
Thanks.
Ifurita
10-28-2007, 06:29 PM
you can't toggle crouch
Hangman
10-28-2007, 07:45 PM
Sorry guys I just cant get this to work (:
Iv tried even the basic of binds but nothing :(
All iv been trying to do is bind (while in vehicle) mouse 5 to weapon 0, iv followed the examples you guys have posted but nothing :(
Any help??
Ifurita
10-28-2007, 08:53 PM
are you putting your autoexec in my docs/idsoftware/etqw/sdnet/[profile name]/base?
WhizzIK
10-28-2007, 08:53 PM
i cant work out why these binds wont work anybody have any ideas
bind "F4" "clientquickchat quickchat/self/disguise/enemydisguisedasme" "" "default"
bind "HOME" "clientquickchat quickchat/global/thanks" "" "default"
bind "END" "clientquickchat quickchat/global/welcome" "" "default"
bind "PGUP" "clientquickchat quickchat/need/medic; clientquickchat quickchat/need/technician" "" "default"
thanx in advance
Ifurita
10-28-2007, 08:56 PM
bind "KP_INS" "clientquickchat quickchat/global/thanks" "" "default"
bind "KP_DEL" "clientquickchat quickchat/global/sorry " "" "default"
yours looks just like mine. Are you sure your autoexec is in the right folder? See my post above yours
WhizzIK
10-28-2007, 09:07 PM
think im missing something ...yes it is in the right folder haven't moved it since installation of the full game
Marche
10-29-2007, 12:01 PM
Ok, I need help to record demos.
If there a way that I could set a demo to record for every multiplayer game I play. Then save each of there as a different name so there dont get overwritten? For example the name is the Time, Map, Server ect.
WhizzIK
10-29-2007, 01:20 PM
Yes i understand that much but im sure i read somewhere you can do it another way without using another key but for the life of me i cant remember is it another modifier for the infiltrator class ?
Peace
finaly resolved it shit im so proud a maself fkin A
this fixes my problem
Seta g_class_context_infiltrator "infiltrator"
bind "MWHEELUP" "_weapprev" "" "infiltrator"
bind "MWHEELDOWN" "_weapnext" "" "infiltrator"
Peace
Fade2Black_Qubenet
11-04-2007, 01:25 AM
Just trying to adapt my Wolf:ET binds...
Now in the afore mentioned Class Change scripts is it possible to do this:
F4 - F8 class selection (Select between them)
// The selection
bind "F9" "vstr team_swap"
seta my_team_GDF "echo ^4 Spawning GDF;"clientTeam gdf" "" "default"; seta team_swap vstr my_team_STROGG"
seta my_team_STROGG "echo ^1 Spawning STROGG;"clientTeam gdf" "" "default"; set team_swap vstr my_team_SPEC"
seta my_team_SPEC "echo ^2 Spectator Mode;"clientTeam strogg" "" "default"; seta team_swap vstr my_team_GDF"
seta team_swap "vstr my_team_STROGG"
// Selfkill
bind "F10" "kill" "ALT" "default"
bind "F10" toggle com_showFPS
So not only does F10 + ALT give a self kill to team selection toggle, F10 on its own gives FPS..
Or am I on the wrong tract?
Boumy
11-05-2007, 08:05 PM
Your script will not work :
-a lot of mistake in code
-If you are Strogg and you want change class, how do you do ? You have to switch GDF before join Strogg ? :o
I personnal use two different files what I load in function of the side : a GDF and a Stoggs.cfg
Add in your autoexec :
bind "KP_MINUS" "exec strogg.cfg; clientquickchat quickchat/global/cheers/strogg" "" "default"
bind "KP_PLUS" "exec gdf.cfg; clientquickchat quickchat/global/cheers/gdf" "" "default"
Now, build 2 files strogg.cfg with bind class for strogg side :
set tech1 "clientTeam Strogg; ClientClass Technician 0; addchatline '^pR^3e^psp^1a^pwn T^3e^pchnic^1i^pan ^7~ ^pL^3a^pcerat^1o^pr'; bind F1 $tech2"
set tech2 "clientTeam Strogg; ClientClass Technician 1; addchatline '^pR^3e^psp^1a^pwn T^3e^pchnic^1i^pan ^7~ ^pN^3a^pilg^1u^pn'; bind F1 $tech1"
bind F1 $tech1
And same with gdf.cfg.
Don't forget to press the key according your camp (here + for strogg - for GDF)
Backdraft
11-08-2007, 06:01 AM
Is there a way to unbind keys contextually?
IE. I have SHIFT bound as _sprint for "default", but for my "vehicle" and "air" context I would like to unbind it. The reason is because my SHIFT key is a modifier for my VOIP and I don't want any other commands to interfere with it when in a vehicle or air. Currently this does not work:
bind "SHIFT" "_sprint" "" "default"
unbind "SHIFT" "" "vehicle"
unbind "SHIFT" "" "air"
I did manage to rectify the problem by fooling the system, but it's more like a cheap workaround than a real solution. Works nonetheless though, so I can't complain too much.
bind "SHIFT" "_sprint" "" "default"
bind "SHIFT" "_stroydown" "" "vehicle"
bind "SHIFT" "_stroydown" "" "air"
Lazrus
11-08-2007, 06:04 AM
How can I say this...... this is all Greek to me! I still have the default setup - and it is terrible for gameplay.
so wat would i have to do if i wanted to unbind alt while pressing shift, is it possible?
(HP)Natural Causes
11-08-2007, 12:55 PM
this is a copy of my current autoexec, for a bare minimum spec computer, 2gighz,1gig ram, geforce 6200. i change my megadrawmethod based on the map, and the fov using g_fov 100 everytime i load the game up. i use v for context, b for quickchat, and the mouse for me has only been 2 buttons, 1 and 2, i never click anything else. i hope it can help some of you who still have default configs, as it can easily be modified to suit your pc....i must warn you though, it has gone through so many changes none of the config are listed under the appropriate header...if i could get some insight into any alterations i should make, such as the use of image_picmip, i would be motivated enough to appropriately sort the config listings and repost :) watch out for changing your chat colors, and weapontimeout, whichi use at 0.0 0.1 and 0.2 for knife running although Mechanical says he uses it at 0 for "scrolling" with your weapons.
// ================================================== =======================
// NAME & SPAM
// ================================================== ========================
seta ui_name "^pNatural^3-^4Causes"
seta g_skipintro 1
bind "o" "clientquickchat botchat/generic/holdonimamedic"
// ================================================== ========================
// GAMEPLAY
// ================================================== ========================
bind "g" "_activate" "" "default"
// ================================================== ========================
// HUD
// ================================================== ========================
seta g_friendColor "1 2 2 1"
seta g_playTooltipSound "0"
seta g_weaponSwitchTimeout 0.2
// ================================================== ========================
// Chat
// ================================================== ========================
bind "KP_INS" "clientquickchat quickchat/global/thanks" "" "default"
bind "KP_DEL" "clientquickchat quickchat/global/sorry " "" "default"
seta gui_scoreBoardSort "1"
seta g_chatLineTimeout "4"
seta g_chatFireTeamColor "2 2 2 2"
seta g_chatTeamColor "1 1 0 1"
seta g_chatDefaultColor "0.8 1 1 0.8"
// ================================================== ========================
// FRAMERATE & VIDEO
// ================================================== ========================
G_decals 0
r_skipstuff 1
com_unlock_timingMethod 1
com_unlockfps 1
g_showPlayerShadow 0
r_stuffFadeStart 0
r_stuffFadeEnd 1000
com_videoRam 256
com_unlock_maxFPS 60
// ================================================== ========================
// Thanks G-Force Now Eat My APT
// ================================================== ========================
g_transportDebrisLowCutoff "0"
g_transportDebrisMediumCutoff "0"
g_transportDebrisHighCutoff "0"
g_transportDebrisExtraHighCutoff "0"
g_maxTransportDebrisLow "0"
g_maxTransportDebrisMedium "0"
g_maxTransportDebrisHigh "0"
g_maxTransportDebrisExtraHigh "0"
image_filter "GL_LINEAR_MIPMAP_NEAREST"
seta bse_simple "1"
seta bse_detailLevel "0.5"
seta bse_rateLimit "1"
r_detailTexture "0"
r_useDitherMask "0"
r_MD5LodScale "1"
r_renderProgramLodDistance "-1"
r_megaDrawMethod "0"
r_megaTilesPerSecond "1"
// ================================================== ========================
// MISC
// ================================================== ========================
pm_crouchbob "0"
pm_bobroll "0"
pm_bobpitch "0"
pm_bobup "0"
pm_runroll "0"
pm_runpitch "0"
pm_runbob "0"
pm_walkbob "0"
bind "x" "toggle ui_showgun"
image_lodBias "1"
r_skipAtmosInteractions 1
r_visDistMult 1.2
// ================================================== ========================
// VEHICLES
// ================================================== ========================
bind "MOUSE2" "_vehiclecamera" "" "vehicle"
Boumy
11-09-2007, 07:54 PM
so wat would i have to do if i wanted to unbind alt while pressing shift, is it possible?
set unbindALT "unbind ALT; bind SHIFT $bindALT"
set bindALT " bind ALT [your action]; bind SHIFT $unbindALT"
bind SHIFT $unbindALT
Hirutashiro
11-14-2007, 02:14 AM
Are there plans in a patch to get "extended control menus", where you could specifically bind the keys for each class, and even each vehicle?
Doing it manually is fun only for a short while, and I think it should be a basic feature by now.
JASGripen
11-14-2007, 09:16 AM
So you guys are saying you can't bind several commands in successive order? Eg I want to bind a key that switched my main to knife, stab, then switch back to previous weapon. Or a command that switches me to grenade, toss a gren, then switch back?
Perhaps answered ready. No is the answer, which has been said before. But with a G15 Keyboard you can do that stuff.
Boumy
11-15-2007, 11:06 AM
So you guys are saying you can't bind several commands in successive order? Eg I want to bind a key that switched my main to knife, stab, then switch back to previous weapon. Or a command that switches me to grenade, toss a gren, then switch back?
Perhaps answered ready. No is the answer, which has been said before. But with a G15 Keyboard you can do that stuff.
I have made a script to switch between main weapon and tool :
seta tool1 "useweapon weapon_tool1; bind MOUSE3 $main_weapon ;wait 50; bind MOUSE3 $tool1"
seta main_weapon "_weapon2"
bind "MOUSE3" "vstr tool1"
Presse 1 time MOUSE3 to use tool (defibrilator, plier, hacker,...) and 2 times MOUSE3 tu switch main weapon.
ScottFree
11-21-2007, 08:29 PM
I fixed my whole problem
This is how you bind your mini-map to zoom to maximum level to minimum level and call your command map from 1 button.
set zoom1 "zoomOutCommandMap; bind KP_INS $zoom2" //Allows toggle of command map zoom levels
set zoom2 "zoomInCommandMap; bind KP_INS $zoom1" //Allows toggle of command map zoom levels
bind button $zoom1 "" "default"
//Makes mini-map zoom levels
bind "button" "_commandMap" "second button" "default"
//Call command map from the same button above when holding a second button
Dohly
11-30-2007, 04:20 PM
Sorry. My question has already been answered.
Dr_Tenma
12-04-2007, 02:47 AM
I have a very specific question, I skimmed the thread and didn't see it answered anywhere.
Is it possible to have different mouselook sensitivities in certain contexts only?
I use a sensitivity of 14 on foot and that works great for me, but the Trojan AA missile pod is much too slow. Also, for the Tormentor/Anansi, I'd like to increase *only* the y-axis mouse movement (the pitch only, with yaw unaffected) and only while I'm in those vehicles.
Thanks in advance.
Ifurita
12-04-2007, 04:17 AM
no it isn't possible
Boumy
12-04-2007, 09:24 AM
Yes it is !
It's not the perfect script but it works.
The principal issue is that sensitivity doesn't apply itself : you have to press a key (I'm using "fire" because it's a key you always use) for apply sensitivity.
//Infantery Sensitivity
seta InfSens "sensitivity 1.2; m_pitch 0.022; seta m_yaw 0.022; bind MOUSE1 $InfAttack '' 'default' ; wait 50; bind MOUSE1 $FlyerSens '' 'vehicle' "
seta InfAttack "bind MOUSE1 _attack '' 'default' "
bind MOUSE1 $InfSens '' 'default'
//vehicle sensitivity
seta FlyerSens "sensitivity 3; m_pitch 0.022 ;seta m_yaw 0.03; bind MOUSE1 $FlyerAttack '' 'vehicle' ; wait 50; bind MOUSE1 $InfSens '' 'default' "
seta FlyerAttack "bind MOUSE1 _attack '' 'vehicle'"
bind MOUSE1 $FlyerSens '' 'vehicle'
Of course, you also can make a simple toggle. But with me script it's automatic, you don't have to remember to press a key. And it also could be use for change the toggle sprint in vehicle, configur each type a vehicle setting....
snosrap
06-23-2009, 10:54 PM
I'm looking for a way to toggle my netclient prediction, does any one know?
Szakalot
06-23-2009, 11:12 PM
sure: bind a command like this:
"bind "x" "toggle net_clientprediction "Y" "Z""
where x is the key you want, and Y and Z are the values you want to toggle between.
You can read more about that on etqw4newbies, checkout teh sticky in the general discussion.
snosrap
06-23-2009, 11:16 PM
thanks that all I need
Panzerfire
07-10-2009, 01:29 PM
Hey,
Does anyone know what the command is to get out of siege ? ( in a desecrator/cyclops )
Been trying to bind alt for it ,
bind "Alt" "jump" "" "vehicle"" didnt work , nor did it with Tap Out or TapOut instead of jump.
Szakalot
07-10-2009, 01:48 PM
isnt it "_moveup" ? or at least "_jump"
the easiest way to check is to type 'bind space' in the console when on foot; it will display what is binded to space (i assume its jumping in your case, which will feedback the proper command for jumping)
darwinsGate
07-22-2009, 03:23 AM
thanks that all I need
What does netclient prediction do for you? on and off