PainKeep Arena 3.0

Resources for PainKeep Arena

 

Bindings.

Binding is the process of setting a key or mouse button to a weapon or action.  When you setup your controls in the Quake 3 or PKA menus, you are using the menu system to define "binds".  In many cases, it is easier to do this manually in a config file or on the fly via the Quake 3 console "~" . The general syntax of a bind is:

/bind <key> <action>  - as used in the console at the menu or during a game.

To set your "Fire" key to the primary mouse button for example:

/bind MOUSE1 attack

At the console, any command must be preceded by a "/" otherwise anything you type will be considered chat and echoed to the screen for all to see. In a config file, the "/" is not required.

 

Here is a list of all bindable buttons/keys:

MOUSE1
MOUSE2
MOUSE3
MWHEELUP
MWHEELDOWN
a-z
1-0
F1-F12
UPARROW - Seperate arrow keys (not on number pad)
DOWNARROW
LEFTARROW
RIGHTARROW
KP_SLASH - KP refers to the number pad keys
KP_MINUS
KP_PLUS
KP_ENTER
KP_5
KP_UPARROW
KP_LEFTARROW
KP_RIGHTARROW
KP_DOWNARROW
KP_HOME
KP_END
KP_PGUP
KP_PGDN
KP_INS
KP_DEL
HOME
PGUP
DEL
END
PGDN
PAUSE
BACKSPACE - Might want to avoid this as Backspace is used in the menu for clearing existing binds.
TAB
SEMICOLON
ENTER
SHIFT
CTRL
ALT
SPACE
INS

Here is a list of pka weapon names / numbers that you can use with the bind command or scripts. Either "weapon 1" or "Gauntlet" will work with the binds and scripts.

Weapon # Weapon Name
weapon 1 Gauntlet
weapon 2 Machinegun
weapon 3 Boomstick/Exp Shells
weapon 4 Airfist
weapon 5 Nailgun
weapon 6 Grenades
weapon 7 Rockets
weapon 8 Lightning
weapon 9 Magnum
weapon 10 Dragon
weapon 11 Gravitywell
weapon 12 Autosenter
weapon 13 Beartrap
weapon 14 Beans
weapon 15 Boomstick/Exp Shells
Dragondeploy is not a weapon but can be used in conjunction with the Well, Beans, Autosentry and Beartraps.  See scripting section below. dragondeploy

 

Some Useful Binds

bind <key> quit
bind <key> toggle "cg_draw2d"
bind <key> toggle "cg_drawFPS"
bind <key> toggle "cg_lagometer"
bind <key> say "whatever you want to say with the push of a key"
bind <key> screenshot
bind <key> exec configfile.cfg
bind <key> reconnect
bind <key> vid_restart
 
 
 
 
 

Here is a list of bindable/scriptable commands.

+attack -attack
+back -back
+button0 -button0
+button1 -button1
+button2 -button2
+button3 -button3
+button4 -button4
+button5 -button5
+button6 -button6
+forward -forward
+left -left
+lookdown -lookdown
+lookup -lookup
+mlook -mlook
+movedown -movedown
+moveleft -moveleft
+moveright -moveright
+moveup -moveup
+right -right
+speed -speed
+strafe -strafe
bind - assign a key to command(s) bindlist - list all currently bound keys.
centerview - quickly move current view to the center of screen. toggle
messagemode - send a message to everyone. messagemode2 - send a message to teammates.
toggleconsole unbind - remove a binding for a key.
unbindall - remove all bindings. connect - connect to a server.
record - record a demo. kick - kick a user. Must have admin privleges on server for this
stopdemo - stop recording demo. serverlist - search for local servers.
demo - play recorded demo. disconnect - disconnect from the current
map <mapname> reconnect - reestablish a connection to the current server.
quit - Quit quake 3 wait <value> - Where "<value> is time in number of frames. If your FPS is 60 then "wait 30" would delay for 1/2 second.
say - Useful in scripts - not needed inconsole. vstr
screenshot- save a screenshot. vid_restart - use to clear popover windows from messengers etc.
cg_lagometer "0" or "1" - Turn off or on the Lagometer
cg_drawFPS "0" or "1" - Turn on or off the Frame counter
fov "110" - set field of view in degrees
cg_autoswitch "0" or "1" - turn on or off auto switch weapons
cg_draw2d "0" or "1" - turn off or on 2d screen elements. Useful for taking "clean" screenshots. callvote - call a vote for map change, gametype change or kick user.
dragondeploy  

Note: base information contained in some of these tables was taken from http://www.gameaholic.com/ and edited for this page.  For a more complete list of commands and other info, visit the above link.

 

Scripting and config items:

The items below are copied from my PKArena config file and were originally sent to me from Cov or Shithead (Can't remember now).  You can make a text file in your PKArena folder and paste these script sections into it and save it as autoexec.cfg or mystuff.cfg or whatever.cfg...  autoexec.cfg will run if you launch the game from the PKArena shortcut icon but my not run if the game is launched from a game browser like ASE or GameSpy.  You can run your config manually by dropping the console and typing /exec autoexec.cfg or whatever you called your config.

General setup items. 

These values should be good if you have a broadband connection and a reasonably modern video card. Voodoo 3 and lower need not apply.

//Setup
snaps 60
cl_maxpackets 100
cg_fov 110
seta com_maxfps 125

Eat Beans Script.

This will switch to the beans, eat the beans then switch back to the weapon you were holding before you ate the beans.  If you don't have the beans it will switch to a random weapon in your inventory. Change the key listed in red to whatever key you want to use for this script.

//Eat Beans
set eatbeans "beans; wait 20; +attack; wait 25; -attack; wait 20; weaplast"
bind
e "vstr eatbeans"

 

QuickFist Script

Quick Fist is a wonderful thing.  It will switch to the fist, give one good puff then switch back to whatever weapon you held previously. Change the key listed in red to whatever key you want to use for this script.

//Quickfist
set quickfist "airfist; wait 20; +attack; wait 20; -attack; wait 20; weaplast"
bind
capslock "vstr quickfist"

 

WellTongue Script

WellTongue will switch to the gravity well and place it on the dragon ready to toss.  If you don't have a dragon, it will still select the well.  If you don't have a well it does nothing at all.  Change the key listed in red to whatever key you want to use for this script.

//well tongue
set readywell "weapon 11; wait 20; dragondeploy"
bind
q "vstr readywell"

 

TrapTongue Script

TrapTongue will switch to the beartrap and place it on the dragon ready to toss.  If you don't have a dragon, it will still select the beartrap.  If you don't have a trap it does nothing at all.  Change the key listed in red to whatever key you want to use for this script.

//trap tongue
set readytrap "weapon 13; wait 20; dragondeploy"
bind
c "vstr readytrap"

 

Sentry Tongue Script

SentryTongue will switch to the auto sentry and place it on the dragon ready to toss.  If you don't have a dragon, it will still select the auto sentry.  If you don't have a sentry it does nothing at all.  Change the key listed in red to whatever key you want to use for this script.

//sentry tongue
set readysent "weapon 12; wait 20; dragondeploy"
bind
r "vstr readysent"

A word of caution on this one.  The sentry cannot be used for defensive purposes (lightning and magnum reflection) while on the dragon so make sure you also have a key bound to just the sentry as below or ONLY a key bound to the sentry as hitting that key twice will place the sentry on the dragon if you have the dragon.

bind y "weapon 12"

 

 

Demo Recording Script.

This will autoname up to 5 demos in succession.  In this example, pressing F12 will start recording to "gamedemo1".  Press again to stop recording. Third press will record to "gamedemo2" forth press stops recordin and so on up to "gamedemo5".  Remember to move or rename the demofiles as the script can't see existing demo files and WILL overwrite them the next time you load the game and start recording. As above, change the red items to meet your needs.

// Start and Stop a group of demos
set toggle1 "g_synchronousClients 1; vstr nextdemo; g_synchronousClients 0; set nexttoggle vstr toggle2"
set toggle2 "stoprecord; set nexttoggle vstr toggle1; echo Stop Recording ..."
set nexttoggle "vstr toggle1"
bind
F12 "vstr nexttoggle"

set demo1 "record gamedemo1; set nextdemo vstr demo2; echo Recording Demo #1"
set demo2 "record gamedemo2; set nextdemo vstr demo3; echo Recording Demo #2"
set demo3 "record gamedemo3; set nextdemo vstr demo4; echo Recording Demo #3"
set demo4 "record gamedemo4; set nextdemo vstr demo5; echo Recording Demo #4"
set demo5 "record gamedemo5; set nextdemo vstr demo6; echo Recording Demo #5 - last demo"
set demo6 "echo no more demos"
set nextdemo "vstr demo1"

// Demo viewing controls
bind
kp_home "timescale .2"
bind
kp_uparrow "timescale 1"
bind
kp_pgup "timescale 5"

 

Installing third party maps:

When downloading third party maps, it is important to place the map file in the right place and in the right format.  Many maps are packaged in zip or rar compressed formats for downloading.  You must first unzip or un-rar the file to get to the .pk3 file inside.  Some downloads are in the form of map packs and contain multiple .pk3 files.  .pk3 files for pka maps need to be placed in the pkarena folder within your quake3 folder.  For a default installation on windows this would be: C:\Program Files\Quake III Arena\pkarena  If you installed you Quake elsewhere, then you will need to figure out the correct path yourself.  Map files downloaded from this site are in raw .pk3 format and don't need to be unzipped first.  Just place them in your pkarena folder and you are good to go.  .pk3 files are themselves a type of zip file and contain many folders and files.  be careful NOT to unzip a .pk3 into your pkarena folder as it can be a real pain to clean up.

So:

DO NOT unzip .pk3 files.

 

Call voting:

During a game, you can call a vote to change the map or gametype among other things.  The most common use is for changing maps.  Please be considerate and don't call a vote for a map unless you are sure everyone in the game has the map you want to call.

To callvote a map:

/callvote map <mapname>

Replace <mapname> with the actual .pk3 name of the map.  For example, if you want to play Anton's Ancient Ways PKA, you would /callvote map ancient since the .pk3 file is ancient.pk3  For a list of all available .pk3 files  in your PKArena folder, you can drop the console and type: /dir . pk3  use PgUp and PgDn to scroll through the list. 

 

 

More to come...