With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Old WQ3 forum - archived. Links may not work.

Command system, key binds

Postby dolny » Wed Jul 06, 2005 2:47 pm

I mentioned it in another thread in order not to make a new thread about this, but it seems that its ok, so the discussion about the text messages will go here.

Script (example?):

bind v "vstr tmenu" // show main menu, don't really need this

// tmenu
set tmenu "vstr tmenu_main; vstr tmenu_main_binds"

set tmenu_main "echo 1. Chat | 2. Strategy | 3. Alerts | 4. Replies"
set tmenu1 "echo 1. Hi! | 2. Sorry! | 3. Bye!; vstr tmenu1_binds"
set tmenu2 "echo 1. I'll guard this area | 2. I'll go left | 3. I'll go right; vstr tmenu2_binds"
set tmenu3 "echo 1. Protect safe 1 | 2. Protect safe 2 | 3. They have the money!; vstr tmenu3_binds"
set tmenu4 "echo 1. Gotcha | 2. No can do | 3. On my way!; vstr tmenu4_binds"

set tmenu11 "say Hi!; vstr tmenu_main_binds"
set tmenu12 "say Sorry!; vstr tmenu_main_binds"
set tmenu13 "say Bye!; vstr tmenu_main_binds"

set tmenu21 "say_team I'll guard this area!; vstr tmenu_main_binds"
set tmenu22 "say_team I'll go left; vstr tmenu_main_binds"
set tmenu23 "say_team I'll go right; vstr tmenu_main_binds"

set tmenu31 "say_team Protect safe 1; vstr tmenu_main_binds"
set tmenu32 "say_team Protect safe 2; vstr tmenu_main_binds"
set tmenu33 "say_team They have the money!; vstr tmenu_main_binds"

set tmenu41 "say_team Gotcha; vstr tmenu_main_binds"
set tmenu42 "say_team No can do; vstr tmenu_main_binds"
set tmenu43 "say_team On my way!; vstr tmenu_main_binds"

// tmenu auto keybinding
set tmenu_main_binds "bind 1 vstr tmenu1; bind 2 vstr tmenu2; bind 3 vstr tmenu3; bind 4 vstr tmenu4"
set tmenu1_binds "bind 1 vstr tmenu11; bind 2 vstr tmenu12; bind 3 vstr tmenu13"
set tmenu2_binds "bind 1 vstr tmenu21; bind 2 vstr tmenu22; bind 3 vstr tmenu23"
set tmenu3_binds "bind 1 vstr tmenu31; bind 2 vstr tmenu32; bind 3 vstr tmenu33"
set tmenu4_binds "bind 1 vstr tmenu41; bind 2 vstr tmenu42; bind 3 vstr tmenu43"
Proud member of the HorseLovers clan.

Red Neckerson wrote:Oh and don't let dolny annoy you...he's a fanatic!
dolny
Gunslinger
 
Posts: 205
Joined: Sat Mar 29, 2003 2:11 am
Location: Poland



Postby torhu » Wed Jul 06, 2005 6:47 pm

I made new suggestion. I'm trying to make a generic set of commands that would save you from typing much when playing BR. Maybe it can raise the level of teamplay. Just try using it, and post suggestions here. To use it just put it in a file called tmenu.cfg in westernq3, and put 'exec tmenu' in you autoexec.cfg.

bind v "vstr tmenu" // show main menu/reset keys

// tmenu
set tmenu "vstr tmenu_main; vstr tmenu_main_binds"

set tmenu_main "echo 1. Strategy | 2. Direction | 3. Alerts | 4. Replies | 5. Chat"
set tmenu1 "echo 1. Watching/going for safe 1 | 2. Watching/going for safe 2; vstr tmenu1_binds"
set tmenu2 "echo 1. Left | 2. Center | 3. Right | 4. Up | 5. Down; vstr tmenu2_binds"
set tmenu3 "echo 1. Safe 1 in danger! | 2. Safe 2 in danger! | 3. Backdoor | 4. Gold taken!; vstr tmenu3_binds"
set tmenu4 "echo 1. Gotcha | 2. Negative | 3. On my way! | 4. Never mind; vstr tmenu4_binds"
set tmenu5 "echo 1. Hi! | 2. Sorry! | 3. Bye!; vstr tmenu5_binds"

set tmenu11 "say_team Watching/going for safe 1; vstr tmenu_main_binds"
set tmenu12 "say_team Watching/going for safe 2; vstr tmenu_main_binds"

set tmenu21 "say_team I'll go left; vstr tmenu_main_binds"
set tmenu22 "say_team I'll go center; vstr tmenu_main_binds"
set tmenu23 "say_team I'll go right; vstr tmenu_main_binds"
set tmenu24 "say_team I'll go up; vstr tmenu_main_binds"
set tmenu25 "say_team I'll go down; vstr tmenu_main_binds"

set tmenu31 "say_team Safe 1 in danger!; vstr tmenu_main_binds"
set tmenu32 "say_team Safe 2 in danger!; vstr tmenu_main_binds"
set tmenu33 "say_team Backdoor; vstr tmenu_main_binds"
set tmenu34 "say_team Gold taken!; vstr tmenu_main_binds"

set tmenu41 "say_team Gotcha; vstr tmenu_main_binds"
set tmenu42 "say_team Negative; vstr tmenu_main_binds"
set tmenu43 "say_team On my way!; vstr tmenu_main_binds"
set tmenu44 "say_team Never mind; vstr tmenu_main_binds"

set tmenu51 "say Hi!; vstr tmenu_main_binds"
set tmenu52 "say Sorry!; vstr tmenu_main_binds"
set tmenu53 "say Bye!; vstr tmenu_main_binds"

// tmenu auto keybinding
set tmenu_main_binds "bind 1 vstr tmenu1; bind 2 vstr tmenu2; bind 3 vstr tmenu3; bind 4 vstr tmenu4; bind 5 vstr tmenu5"
set tmenu1_binds "bind 1 vstr tmenu11; bind 2 vstr tmenu12; bind 3 vstr tmenu_main_binds; bind 4 vstr tmenu_main_binds; bind 5 vstr tmenu_main_binds"
set tmenu2_binds "bind 1 vstr tmenu21; bind 2 vstr tmenu22; bind 3 vstr tmenu23; bind 4 vstr tmenu24; bind 5 vstr tmenu25"
set tmenu3_binds "bind 1 vstr tmenu31; bind 2 vstr tmenu32; bind 3 vstr tmenu33; bind 4 vstr tmenu34; bind 5 vstr tmenu_main_binds"
set tmenu4_binds "bind 1 vstr tmenu41; bind 2 vstr tmenu42; bind 3 vstr tmenu43; bind 4 vstr tmenu44; bind 5 vstr tmenu_main_binds"
set tmenu5_binds "bind 1 vstr tmenu51; bind 2 vstr tmenu52; bind 3 vstr tmenu53; bind 4 vstr tmenu_main_binds; bind 5 vstr tmenu_main_binds"

// EOF

You don't need to press v to use it, that's just for showing the main menu. You can always press 3, then 1 to say 'Safe 1 in danger!'. I thought that 'Backdoor!' could be the backdoor on cobber, and the cave on durango. Human language is such a complicated thing, so it's hard to make generic statements. And the statements have to be short, in order for the menu to fit on a single line.

The idea is that both robbers and protecters should be able to use the same set of commands. If you're about to blow up the safe, saying 'Safe 1 in danger' still makes some sense. But I'm sure someone will have suggestions as to how this can be tweaked to work better.

I haven't included any real commands, since wq3 is not a military game with officers, so we have to rely on teammates to cooperate. It will always depend on you teammates anyway. You just announce what you're going to do, and hopefully you teammates will do someting that's sensible according to that.
In game: =SG=monSter
Monster Browser
User avatar
torhu
SG Team
 
Posts: 1125
Joined: Thu Jan 06, 2005 8:12 pm
Location: Norway



Postby dolny » Tue Jul 12, 2005 10:55 pm

Tested it - it erased all my weapon binds - the default ones. Now I have to draw my weapons by mouse which is too slow. Can somebody send me the old weaponbinds? I mean 1 for knife, 2 for drawing a remington etc :(
Proud member of the HorseLovers clan.

Red Neckerson wrote:Oh and don't let dolny annoy you...he's a fanatic!
dolny
Gunslinger
 
Posts: 205
Joined: Sat Mar 29, 2003 2:11 am
Location: Poland



Postby sig11 » Tue Jul 12, 2005 11:12 pm

Like these :
Code: Select all
bind 0 "weapon 10"
bind 1 "weapon 1"
bind 2 "weapon 2"
bind 3 "weapon 3"
bind 4 "weapon 4"
bind 5 "weapon 5"
bind 6 "weapon 6"
bind 7 "weapon 7"
bind 8 "weapon 8"
bind 9 "weapon 9"
In-game name: =SG= Django (yes, it's cliché :-) )
User avatar
sig11
SG Team
 
Posts: 616
Joined: Sun Mar 30, 2003 1:00 pm
Location: Germany



Postby torhu » Tue Jul 12, 2005 11:29 pm

dolny wrote:Tested it - it erased all my weapon binds - the default ones. Now I have to draw my weapons by mouse which is too slow. Can somebody send me the old weaponbinds? I mean 1 for knife, 2 for drawing a remington etc :(


You can set them in the config menu, you know. But I use this, wich is easier than the number keys:

bind mwheelup "weapon 3" // rifle
bind mwheeldown "weapon 2" // pistols
bind e "weapon 2" // pistols
bind pgup "weapon 1" // knife (mouse7)
bind shift "+button5" // reload
bind mouse4 "weapon 4" // dynamite

I hardly move my fingers to switch weapons.
In game: =SG=monSter
Monster Browser
User avatar
torhu
SG Team
 
Posts: 1125
Joined: Thu Jan 06, 2005 8:12 pm
Location: Norway



Postby torhu » Thu Jul 14, 2005 7:32 am

dolny wrote:Tested it - it erased all my weapon binds - the default ones. Now I have to draw my weapons by mouse which is too slow. Can somebody send me the old weaponbinds? I mean 1 for knife, 2 for drawing a remington etc :(

How about this then? You can choose if you want to be able to select weapons with the number keys or not. Pressing V again will reset the number keys, so you can use them for selecting weapons. If you don't care about using the number keys for weapons, just comment out that part (lines 3-7), and uncomment lines 10-11.

// tmenu
//--------- with number keys for weapon selection -----------
bind v "vstr tmenu"
set tmenu "vstr tmenu_main; vstr tmenu_main_binds; bind v vstr tmenu_reset
set weaponbinds "bind 1 weapon 1; bind 2 weapon 2; bind 3 weapon 3; bind 4 weapon 4"
set tmenu_reset "echo -- TMENU RESET --; vstr weaponbinds; bind v vstr tmenu"
set tmenu_main_binds2 "vstr tmenu_main_binds; bind v vstr tmenu; vstr weaponbinds"

//-------- no weapon selection with number keys -------------
//bind v "vstr tmenu_main; vstr tmenu_main_binds"
//set tmenu_main_binds2 "vstr tmenu_main_binds"
-------------------------------------------------------------

set tmenu_main "echo 1. Strategy | 2. Direction | 3. Alerts | 4. Replies | 5. Chat"
set tmenu1 "echo 1. Watching/going for safe 1 | 2. Watching/going for safe 2; vstr tmenu1_binds"
set tmenu2 "echo 1. Left | 2. Center | 3. Right | 4. Up | 5. Down; vstr tmenu2_binds"
set tmenu3 "echo 1. Safe 1 in danger! | 2. Safe 2 in danger! | 3. Backdoor | 4. Gold taken!; vstr tmenu3_binds"
set tmenu4 "echo 1. Gotcha | 2. Negative | 3. On my way! | 4. Never mind; vstr tmenu4_binds"
set tmenu5 "echo 1. Hi! | 2. Sorry! | 3. Bye!; vstr tmenu5_binds"

set tmenu11 "say_team Watching/going for safe 1; vstr tmenu_main_binds2"
set tmenu12 "say_team Watching/going for safe 2; vstr tmenu_main_binds2"

set tmenu21 "say_team I'll go left; vstr tmenu_main_binds2"
set tmenu22 "say_team I'll go center; vstr tmenu_main_binds2"
set tmenu23 "say_team I'll go right; vstr tmenu_main_binds2"
set tmenu24 "say_team I'll go up; vstr tmenu_main_binds2"
set tmenu25 "say_team I'll go down; vstr tmenu_main_binds2"

set tmenu31 "say_team Safe 1 in danger!; vstr tmenu_main_binds2"
set tmenu32 "say_team Safe 2 in danger!; vstr tmenu_main_binds2"
set tmenu33 "say_team Backdoor; vstr tmenu_main_binds2"
set tmenu34 "say_team Gold taken!; vstr tmenu_main_binds2"

set tmenu41 "say_team Gotcha; vstr tmenu_main_binds2"
set tmenu42 "say_team Negative; vstr tmenu_main_binds2"
set tmenu43 "say_team On my way!; vstr tmenu_main_binds2"
set tmenu44 "say_team Never mind; vstr tmenu_main_binds2"

set tmenu51 "say Hi!; vstr tmenu_main_binds2"
set tmenu52 "say Sorry!; vstr tmenu_main_binds2"
set tmenu53 "say Bye!; vstr tmenu_main_binds2"

// tmenu auto keybinding
set tmenu_main_binds "bind 1 vstr tmenu1; bind 2 vstr tmenu2; bind 3 vstr tmenu3; bind 4 vstr tmenu4; bind 5 vstr tmenu5"
set tmenu1_binds "bind 1 vstr tmenu11; bind 2 vstr tmenu12; unbind 3; unbind 4; unbind 5"
set tmenu2_binds "bind 1 vstr tmenu21; bind 2 vstr tmenu22; bind 3 vstr tmenu23; bind 4 vstr tmenu24; bind 5 vstr tmenu25"
set tmenu3_binds "bind 1 vstr tmenu31; bind 2 vstr tmenu32; bind 3 vstr tmenu33; bind 4 vstr tmenu34; unbind 5"
set tmenu4_binds "bind 1 vstr tmenu41; bind 2 vstr tmenu42; bind 3 vstr tmenu43; bind 4 vstr tmenu44; unbind 5"
set tmenu5_binds "bind 1 vstr tmenu51; bind 2 vstr tmenu52; bind 3 vstr tmenu53; unbind 4; unbind 5"
In game: =SG=monSter
Monster Browser
User avatar
torhu
SG Team
 
Posts: 1125
Joined: Thu Jan 06, 2005 8:12 pm
Location: Norway




Return to General Discussion

Show Sidebar
Show Sidebar

User Control Panel