Part of the script, not yet ready nor working
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 30 Jun 2010 15:25:00 +0000 (18:25 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 30 Jun 2010 15:25:00 +0000 (18:25 +0300)
defaultXonotic.cfg
keybinds.txt

index 71d2114d49c73d3f8c6bf783c19367dfc12699f6..16207583304feac9914c427d39d80b21b1b770cb 100644 (file)
@@ -954,8 +954,8 @@ bind 8 "impulse 8"
 bind 9 "impulse 9"
 bind 0 "impulse 14" // cycles the superweapons
 bind q weaplast
-bind MOUSE1 +attack
-bind MOUSE2 +attack2
+bind MOUSE1 +preattack
+bind MOUSE2 +preattack2
 bind MOUSE3 +zoom
 bind MOUSE4 weaplast
 bind MOUSE5 +hook
@@ -989,8 +989,8 @@ bind JOY1 "+crouch"
 bind JOY2 "+jump"
 bind JOY3 "weapprev"
 bind JOY4 "weapnext"
-bind JOY5 "+attack2"
-bind JOY6 "+attack"
+bind JOY5 "+preattack2"
+bind JOY6 "+preattack"
 bind JOY7 "+zoom"
 bind JOY8 "dropweapon"
 bind JOY9 "menu_showteamselect"
@@ -1530,6 +1530,12 @@ alias _gl_flashblend_update_01 "gl_flashblend 0"
 alias _gl_flashblend_update_11 "gl_flashblend 0"
 alias gl_flashblend_update "_gl_flashblend_update_$r_shadow_realtime_dlight$r_showsurfaces"
 
+alias decidion_0 "echo It's 0!"
+alias decidion_1 "echo It's 1!"
+alias firing_swap "cl_reversefirebuttons_$1; decision_$2;"
+alias cl_hook_activeweapon "firing_swap $1"
+//alias +preattack "cl_hook_weapon; cl_fireswapping_$1"
+
 set sv_clones 0        "number of clones a player may make (reset by the \"kill\" command)"
 
 set cl_handicap 1      "the higher, the more damage you will receive (client setting)"
@@ -1708,7 +1714,7 @@ alias cl_hook_gamestart_rc
 alias cl_hook_gamestart_nexball
 alias cl_hook_gamestart_cts
 alias cl_hook_gameend
-alias cl_hook_activeweapon
+//alias cl_hook_activeweapon
 
 alias _sv_hook_gamestart "set _sv_hook_gametype $1; _sv_hook_gamestart_stage2"
 alias _sv_hook_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}"
index 1aee5d8189a56169f1e9bf8d6c7fd507a800105a..eb4c12f54e55007fc6394be8d0b8785d7c693ff9 100644 (file)
@@ -8,8 +8,8 @@
 "+hook"                                 "off-hand hook / jet pack"
 ""                                      ""
 ""                                      "Attacking"
-"+attack"                               "primary fire"
-"+attack2"                              "secondary fire"
+"+preattack"                               "primary fire"
+"+preattack2"                              "secondary fire"
 ""                                      ""
 ""                                      "Weapon switching"
 "weapprev"                              "previous"