Working on new default bindings

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

Working on new default bindings

Post by Viech »

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

User avatar
StalKermit
Dragoon
Posts: 260
Joined: Wed Mar 07, 2012 6:05 am UTC

Re: Working on new default bindings

Post by StalKermit »

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

Post by kharnov »

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: 2139
Joined: Fri Aug 03, 2012 11:50 pm UTC
Location: Berlin

Re: Working on new default bindings

Post by Viech »

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

Post by seana11 »

I've always had crouch bound to c...

Image
Image
Image

User avatar
killing time
Programmer
Posts: 164
Joined: Wed Jul 04, 2012 7:55 am UTC

Re: Working on new default bindings

Post by killing time »

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: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Working on new default bindings

Post by Ishq »

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

Post by kharnov »

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
User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: Working on new default bindings

Post by Ishq »

Multiple layouts are fine, but we'll need the layouts for azerty first.

User avatar
ViruS
Granger
Posts: 1020
Joined: Sun Mar 11, 2012 4:24 am UTC
Location: Antartica - West Australian Post shore
Contact:

Re: Working on new default bindings

Post by ViruS »

I'm not so sure about having 'f' and 'g' for dretch/granger.
I would prefer if it were somethin like taunt and/or rally.

I would also say it's pointless to have "[/]" for next/prev weaps, mwheel's fine unless you're on a macintosh with one button.

My recommendations, based off my keybinds + sense of newbness:

Code: Select all

QWERTY KEYBOARD, without kpad (for laptops)

Menu = Esc
Console Toggle = <default already provided, I don't remember those extra chars>
Scores = tab
Movement = wasd
Classes, Weapons, and spawning = 1234567890 
Armour = Arrow Keys
Medkit = m
dodge = c
walk = shift
crouch = ctrl or capslock
jump = space

sprint = x (without toggle by default, people often black out wondering wtf)
taunt = f
rally = g
grenade buy/throw = h
jetpack = z
reloadammo (arm) = b
reload = r
mark = e
decon = alt-e or shift-e
Toggle blaster = q

Chat = t
Teamchat = y
IRC = shift-T (Connect by default, get the newbies to set their irc username when running unv for the first time)
Local = shift-y
admin = alt-y
Evolve = u
Build = iop[]kl;'
vsay - enemy om/rc is down = f5
       - Defend/base under attack = f6
       - needhealth = m (same as medkit)
       - basestatus = f7
       - Sorry = f8
VoIP = z (enable by default, else we'll get no one talking like in tremulous!)
Attacks = Mouse defaults
Secondary itemprev/next = pgup/pgdown
Secondary Tertiary attack/useitem = enter

vSay menu = \
Suicide(Probably won't include) = Backspace

Vote Y = f1
N = f2
Teamvote Y = f3
N = f4
Screenshotjpeg/png = f12/shift+f12
Toggle Demorecord (Is there a cvar for this?) = f9
Videorecord = f10
Toggle Unlagged/projectilenudge (with echo'd message) f11

They're not really my optimal settings, but if the essential combat-wise are around wasd, and keep the others away (such as evolve, heck ive died so many times from hitting evolve button, entering the menu :/)

ImageImageYou[TubeImage

Post Reply