Working on new default bindings

Talk about anything related to Unvanquished.
User avatar
Viech
Project Head
Posts: 2137
Joined: Fri Aug 03, 2012 11:50 pm UTC
Location: Berlin

Working on new default bindings

Postby Viech » Sun Jun 16, 2013 3:52 pm UTC

Hi, I'm working on a new default bindings files that should give new players some functional binds to start with, while keeping the menus and the select-and-activate control for upgrades as an option.

Please discuss this and tell me what you think is missing. Keep in mind that this does not have to be a highly optimized, competitive set but a solid basis for newbes to build upon.

Code: Select all

//
// DEFAULT KEY BINDINGS
//

unbindall

//
// WEAPONS & UPGRADES
//

// attack
bind  MOUSE1        +attack
bind  MOUSE2        +attack2

// select and use upgrade - primary
bind  MWHEELUP      weapprev
bind  MWHEELDOWN    weapnext
bind  MOUSE3        +useitem

// select and use upgrade - secondary
bind  [             weapprev
bind  ]             weapnext
bind  ENTER         +useitem

//
// CHARACTER CONTROLS
//

// jump and crouch
bind  SPACE         +moveup
bind  ALT           +movedown

// move - primary
bind  w             +forward
bind  a             +moveleft
bind  s             +back
bind  d             +moveright

// move - secondary
bind  UPARROW       +forward
bind  DOWNARROW     +back
bind  LEFTARROW     +left
bind  RIGHTARROW    +right

//
// MISC
//

// interact with structures / evolve
bind  q             +activate

// deconstruct
bind  e             if !shift,!alt "/deconstruct" "/deconstruct marked"

// suicide
bind  k             kill // suicide


//
// CHAT
//

bind  t             messagemode  // all
bind  y             messagemode2 // team - en keyboards
bind  z             messagemode2 // team - de keyboards
bind  u             messagemode3 // admins
bind  i             messagemode4 // irc
bind  /             messagemodec // command - en keyboards
bind  o             messagemodec // command - all keyboards
bind  p             +taunt
bind  v             +voiprecord

//
// CLIENT ENVIRNONMENT
//

bind  PAUSE         pause
bind  ESCAPE        togglemenu
bind  ~             toggleconsole
bind  `             toggleconsole

// scoreboard
bind  TAB           +scores
bind  PGUP          scoresUp
bind  PGDN          scoresDown

// voting
bind  F1            vote yes
bind  F2            vote no
bind  F3            teamvote yes
bind  F4            teamvote no

// team selection
bind ,              team aliens
bind .              team humans
bind -              team spectator

//
//  DEVELOPMENT
//

bind  F11           if !shift,!alt /screenshotPNG /screenshotJPEG
bind  F12           vid_restart

//
// ALIENS
//

// classes
teambind aliens  1      class level1
teambind aliens  2      class level1upg
teambind aliens  3      class level2
teambind aliens  4      class level2upg
teambind aliens  5      class level3
teambind aliens  6      class level3upg
teambind aliens  7      class level4

teambind aliens  f      class level0
teambind aliens  g      "class builderupg;class builder"

// combat
teambind aliens  MOUSE3 +useitem

// movement
teambind aliens  SHIFT  +speed

//
// HUMANS
//

// buy equipment
teambind humans  1      "sell weapon;buy psaw;buy rifle"
teambind humans  2      "sell weapon;buy shotgun;buy rifle
teambind humans  3      "sell weapon;buy lgun;buy rifle"
teambind humans  4      "sell weapon;buy mdriver;buy rifle"
teambind humans  5      "sell weapon;buy chaingun;buy rifle"
teambind humans  6      "sell weapon;buy flamer;buy rifle"
teambind humans  7      "sell weapon;buy prifle;buy rifle"
teambind humans  8      "sell weapon;buy lcannon;buy rifle"
teambind humans  9      "sell bsuit;buy larmour;buy helmet;buy ammo"
teambind humans  0      "sell battpack;sell jetpack;sell helmet;sell larmour;buy bsuit;buy ammo"

teambind humans  g      "buy gren"
teambind humans  h      "sell jetpack;buy battpack;buy ammo"
teambind humans  j      "sell battpack;buy jetpack;buy ammo"

teambind humans  x      "sell weapon;buy rifle;class rifle"
teambind humans  c      "sell weapon;buy ckit;class ckit"

// combat
teambind humans  r       "buy ammo;reload"
teambind humans  f       itemtoggle blaster
teambind humans  AUX1    itemact medkit
teambind humans  m       itemact medkit
teambind humans  AUX2    itemact gren
teambind humans  <       itemact gren

// movement
teambind humans  SHIFT   +sprint
Responsible for: Arch Linux package & torrent distribution, Parpax (map), Chameleon (map texture editor), Sloth (material file generator), gameplay design & programming, artistic direction
freem
Mantis
Posts: 91
Joined: Mon Feb 11, 2013 1:02 pm UTC

Re: Working on new default bindings

Postby freem » Sun Jun 16, 2013 5:25 pm UTC

My opinion is that the buying keybinds are not a good idea for a beginner.
People are more used to the 1234567890 keys to change their weapon than to buy stuff, I think.

PS: when you will set it, I could contribute a French version, since we have the numbers on the SHIFT+ &é"'(-è_çà keys... (yes, it's stupid... but classic keyboards layouts are all stupid imo)
User avatar
StalKermit
Dragoon
Posts: 260
Joined: Wed Mar 07, 2012 6:05 am UTC

Re: Working on new default bindings

Postby StalKermit » Sun Jun 16, 2013 7:55 pm UTC

I'm not sure I've ever seen crouch on alt. It sounds better on ctrl or c. And is a bind to suicide really necessary?
User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: Working on new default bindings

Postby kharnov » Sun Jun 16, 2013 8:03 pm UTC

Using a suicide bind and timing a 20-second route to the enemy base is an integral part of GT battle doctrine.
User avatar
Viech
Project Head
Posts: 2137
Joined: Fri Aug 03, 2012 11:50 pm UTC
Location: Berlin

Re: Working on new default bindings

Postby Viech » Sun Jun 16, 2013 8:44 pm UTC

CTRL is free, I'll add crouch to it, too. Having it on ALT is especially nice for using the jetpack, so you can change height with your thumb. I could add crouch to c and move the ckit to v but I would only do that if a significant number of people expects a non-toggling crouch on c. I don't think it makes sense there as you can't strafe right when crouching with c unless you use your thumb for that, which is a very unfamiliar pose for me.

I can remove the suicide bind, I use it for development most of the time and I see the issue of accidentially hitting it or being told to press k by an unfriendly player.

The buy binds are the reason I'm doing this layout, they are kind of necesseary to have in this game. You can still open the buy/evolve menu with q and click on your favorite gun or class.

For the french keyboard, I could add the buy binds to the keypad. Does that sound good freem?
Responsible for: Arch Linux package & torrent distribution, Parpax (map), Chameleon (map texture editor), Sloth (material file generator), gameplay design & programming, artistic direction
User avatar
seana11
Tyrant
Posts: 430
Joined: Tue Jun 19, 2012 2:00 pm UTC
Location: Well, the sign says "You Are Here"...

Re: Working on new default bindings

Postby seana11 » Sun Jun 16, 2013 9:07 pm UTC

I've always had crouch bound to c...
Image
Image
Image
User avatar
killing time
Programmer
Posts: 103
Joined: Wed Jul 04, 2012 7:55 am UTC

Re: Working on new default bindings

Postby killing time » Mon Jun 17, 2013 1:51 am UTC

Having some weapon binds to begin with sounds like a good idea... but I am wondering, how will players know about them/learn where they are?

cg_disableWarningDialogs should be 1 by default. Otherwise it is impossible to use weapon binds due to the irritating dialog boxes with messages like 'You can't buy this, not enough credits..' or because 'you are already holding a...' blah blah etc.

seana11 wrote:I've always had crouch bound to c...

Agreed; I've never had any problem with moving rightward at the same time. Simply press C with 2nd/index finger and D with 3rd finger.
User avatar
Ishq
Project Head
Posts: 1138
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Working on new default bindings

Postby Ishq » Mon Jun 17, 2013 2:02 am UTC

For me:

wasd - movment
left shift - wallwalk/crouch (used more often and can be pressed with left pinky, which is unused for wasd)
c - walk (toggle bind) (Don't use it in battles, use it to get back stamina, thus is more toggle is more useful)
x - sprint (toggle bind) (use it in battle, don't want to bother with keeping it pressed, thus toggle is better)

furthermore, number keys can be used to buy AND switch to weapons. makes more sense imo.
User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: Working on new default bindings

Postby kharnov » Mon Jun 17, 2013 2:40 am UTC

I use the top row of numbers to select buildings and the number pad to select forms/weapons.

For reference, here are my binds. They have not been changed in five years.

Humans

Code: Select all

bind k kill

bind alt "sell gren;buy gren" // BUY GRENADE OF DEATH
bind mwheelup "itemact gren" // THROW IT!

bind kp_end "sell bsuit;buy larmour"
bind kp_downarrow "sell bsuit; buy helmet"
bind kp_pgdn "sell larmour; sell helmet; sell battpack;sell jetpack;buy bsuit"
bind kp_enter "sell bsuit;sell battpack; buy jetpack"
bind kp_plus "sell bsuit;sell jetpack;buy battpack"
bind kp_leftarrow "sell weapons; buy shotgun;buy rifle"
bind kp_5 "sell weapons; buy lgun;buy rifle"
bind kp_rightarrow "sell weapons; buy prifle;buy rifle"
bind kp_home "sell weapons;buy psaw;buy rifle"
bind kp_pgup "sell weapons;buy lcannon;buy rifle"
bind kp_uparrow "sell weapons;buy chaingun;buy rifle"
bind kp_minus "sell weapons;buy flamer;buy rifle"
bind kp_del "class ackit;class ckit;sell weapons;buy ackit;buy ckit"
bind kp_ins "class rifle;sell weapons;buy mdriver;buy rifle"
bind kp_minus "sell weapons;buy flamer;buy rifle" // FLAMER!

bind 1 "build telenode" // telenode
seta structure1 "vstr structure1_1"
seta structure1_1 "build medistat;set structure1 vstr structure1_2"
seta structure1_2 "build arm;set structure1 vstr structure1_1"
bind 2 "vstr structure1" // armoury / medistation
bind 3 "build reactor" // RC
seta structure2 "vstr structure2_1"
seta structure2_1 "build mgturret;set structure2 vstr structure2_2"
seta structure2_2 "build repeater;set structure2 vstr structure2_1"
bind 4 "vstr structure2" // rets / repeater
seta structure3 "vstr structure3_1"
seta structure3_1 "build dcc;set structure3 vstr structure3_2"
seta structure3_2 "build tesla;set structure3 vstr structure3_1"
bind 5 "vstr structure3" // defence comp / tesla

seta sensitivity 4
seta m_pitch 0.042
seta m_yaw 0.032
seta in_mouse 2
seta cl_mouseAccel 0.1


Aliens

Code: Select all

bind k kill

bind kp_ins "class level0"
bind kp_del "class builderupg;class builderupg;class builder"
bind kp_end "set evolve class level1;echo [basilisk]"
bind kp_leftarrow "set evolve class level1upg;echo [advbasilisk]"
bind kp_downarrow "set evolve class level2;echo [marauder]"
bind kp_5 "set evolve class level2upg;echo [advmarauder]"
bind kp_pgdn "set evolve class level3;echo [dragoon]"
bind kp_rightarrow "set evolve class level3upg;echo [advdragoon]"
bind kp_uparrow "set evolve class level4;echo [tyrant]"
bind q "vstr evolve"

bind 1 "build eggpod" // eggies
seta builds1 "vstr builds1_1"
seta builds1_1 "build acid_tube;set builds1 vstr builds1_2"
seta builds1_2 "build barricade;set builds1 vstr builds1_1"
bind 2 "vstr builds1" // tubes and cades (s1)
bind 3 "build overmind" // overman
seta builds2 "vstr builds2_1"
seta builds2_1 "build booster;set builds2 vstr builds2_2"
seta builds2_2 "build trapper;set builds2 vstr builds2_1"
bind 4 "vstr builds2" // trapper and booster (s2)
seta builds3 "vstr builds3_1"
seta builds3_1 "build hovel;set builds3 vstr builds3_2"
seta builds3_2 "build hive;set builds3 vstr builds3_1"
bind 5 "vstr builds3" // hovel and hive (s3)

seta sensitivity 4
seta m_pitch 0.042
seta m_yaw 0.032
seta in_mouse 2
seta cl_mouseAccel 0.1
freem
Mantis
Posts: 91
Joined: Mon Feb 11, 2013 1:02 pm UTC

Re: Working on new default bindings

Postby freem » Mon Jun 17, 2013 4:20 am UTC

Viech wrote:For the french keyboard, I could add the buy binds to the keypad. Does that sound good freem?


Keypad is quite far, but since it is for buying, why not. But it is not important, as I said I can "translate" the bindings for the french layout (there is also the issue of wasd which became zqsd, so it can not be avoided to have multiple default configurations depending on selected layout).

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests