
|
|||||||
| QUAKE Wars Tips, Tricks & Strategies Share your favorite Enemy Territory: QUAKE Wars tips and strategies with your fellow soldiers. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Global Volunteer Force
![]() Join Date: May 2007
|
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:
Code:
bind "w" "_forward" "" "default" Code:
bind "KEY" "ACTION" "MODIFIER KEY" "CONTEXT" 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 Code:
bind "MOUSE5" "_weapon0" "" "vehicle" 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: Code:
setp g_bind_context_hornet "hornet" bind "MOUSE2" "_weapnext" "" "hornet" 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. Code:
setp g_bind_context_desecrator "stroggtank" setp g_bind_context_goliath "stroggtank" bind "MOUSE2" "_movedown" "" "stroggtank" 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: Code:
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" 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): Code:
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" 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. Last edited by reyalp : 09-15-2007 at 12:25 AM. |
|
|
|
|
|
#2 |
|
Gunnery Sergeant
![]() Join Date: Jun 2007
|
Wow very helpful.
Thank you! |
|
|
|
|
|
#3 |
|
Commander
![]() Join Date: May 2007
Location: Poland
|
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.
__________________
Last edited by b0rsuk : 07-02-2007 at 06:23 AM. |
|
|
|
|
|
#4 |
|
Master Chief
![]() |
thx will try it out later at home
![]()
__________________
inquake.de/paZifist
AMD x2 4200+, 2GB Kingston HyperX, XFX Geforce 7900GT AND FPS Drops ![]() |
|
|
|
|
|
#5 |
|
Corporal
![]() Join Date: Jun 2007
|
very helpful. could we get this stickied?
|
|
|
|
|
|
#6 |
|
Brigadier General
![]() |
Rock on! This is nice, thanks man!
![]()
__________________
Xfire SN : sp4orce || Gamertag : .space. [= =]"I own with the Platypus.. and Trojan" |
|
|
|
|
|
#7 |
|
3rd Lieutenant
![]() Join Date: May 2007
Location: Cleveland, OH
|
Here is a portion of my autoexec to show some of this in action. Most everything is commented on what it does :
Code:
// 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"
__________________
My very old Tribes mod |
|
|
|
|
|
#8 |
|
First Sergeant
![]() Join Date: May 2007
|
Thanks reyalp, you saved us some time. Good stuff
|
|
|
|
|
|
#9 |
|
Master Chief
![]() Join Date: May 2007
Location: usa
|
can someone explain to me what this means in english?
__________________
gaming > vista x64 :: viewsonic 22" lcd :: 8800gts 640 :: 650i :: e4300 @ 3.2 :: 2 gb ddr2-667 :: raptor 36gb :: ocz 700w :: antec 900 server > ubuntu server edgy :: 1.5 TB raid5 array :: jinzora htpc > vista x32 :: 7900gt :: sceptre 42" 1080p lcd :: mediaportal |
|
|
|
|
|
#10 |
|
3rd Lieutenant
![]() Join Date: May 2007
Location: Cleveland, OH
|
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.
__________________
My very old Tribes mod |
|
|
|
|
|
#11 |
|
Global Volunteer Force
![]() |
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.
__________________
ETQW 4 Newbies: Maps, Guides, and Resources (new location) MS-Excel Tips, Tricks, and Tutorials |
|
|
|
|
|
#12 |
|
Commander
![]() Join Date: May 2007
Location: Poland
|
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 )
__________________
|
|
|
|
|
|
#13 |
|
Private First Class
![]() |
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. ![]() |
|
|
|
|
|
#14 |
|
Global Volunteer Force
![]() |
@ 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
__________________
ETQW 4 Newbies: Maps, Guides, and Resources (new location) MS-Excel Tips, Tricks, and Tutorials |
|
|
|
|
|
#15 |
|
Senior Captain
![]() Join Date: May 2007
Location: Birmingham, UK
|
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
|
|
|
|
|
|
#16 |
|
Global Volunteer Force
![]() Join Date: May 2007
|
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.
|
|
|
|
|
|
#17 |
|
Private First Class
![]() Join Date: Jun 2007
|
Cheers for the info, you can make some real nice binds with it !
|
|
|
|
|
|
#18 |
|
Private First Class
![]() Join Date: Jun 2007
|
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.
|
|
|
|
|
|
#19 |
|
Global Volunteer Force
![]() Join Date: May 2007
|
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.
|
|
|
|
|
|
#20 | |
|
Global Volunteer Force
![]() Join Date: May 2007
Location: UK
|
Great little guide there reyalp, cheers
![]() 1 of my members is asking a Q and I was wondering if you guys can help answer? Quote:
Last edited by Jammydodger : 07-14-2007 at 02:21 PM. |
|
|
|
|
|
|
#21 | |
|
Artist
Join Date: May 2007
Location: London, UK
|
Quote:
Code:
bind F12 "toggle g_showHud; toggle com_showFPS" 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. |
|
|
|
|
|
|
#22 |
|
Global Volunteer Force
![]() Join Date: May 2007
Location: UK
|
Thanks alot MoP, your a ledge
![]() |
|
|
|
|
|
#23 |
|
Senior Captain
![]() |
Hello Forum,
is it possible to bind the driver seat?
__________________
Greetings from Germany. General.Jung. eSport-Community Clan & Community Visit us on http://qwclan.com/. |
|
|
|
|
|
#24 | |
|
Commander
![]() Join Date: May 2007
Location: Poland
|
Quote:
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.
__________________
|
|
|
|
|
|
|
#25 |
|
Colonel
![]() |
All this will be great for us script junkies
![]() |
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT. The time now is 12:46 PM.





























