summaryrefslogtreecommitdiff
path: root/autoexec.cfg
blob: 90eb7cb7bb11b30d3ca4c196a05d6e220b5dec34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Example configuration file, my personal bindings - xolatile.
// This file will be executed every time the game is ran.

name xolatile

maxfps      60
fov         120
sensitivity 4.2

bind e      [setweapon 1] // Shotgun.
bind q      [setweapon 2] // Chaingun.
bind LCTRL  [setweapon 3] // Rocket launcher.
bind r      [setweapon 4] // Rifle.
bind LALT   [setweapon 5] // Grenade launcher.
bind f      [setweapon 6] // Pistol.
bind LSHIFT [setweapon 0] // Chainsaw.

bind m [showcustommaps] // Unofficial custom maps.
bind n [showgui maps]   // Official maps.

bind KP_PLUS screenshot

bind     BACKSLASH edittoggle
editbind BACKSLASH edittoggle

editbind SPACE [floatspeed 1200; onrelease [floatspeed 120]] // Float fast in edit mode when space is held.
editbind LALT  [history 0]                                   // Repeat last executed command in edit mode.

// bind MOUSE2 [togglezoom] // Commented it out, I don't use 2 binds below, it's just an example.

bind MOUSE2 [setweapon 5; attack 1; onrelease weapon] // Shoot quick rocket on right button.
bind MOUSE3 [setweapon 5; attack 1; onrelease weapon] // Shoot quick grenade on middle button.

hudscore  1 // Show HUD score.
ammobar   1 // Show HUD ammo bar.
gameclock 1 // Show HUD game clock.