Script now finished and working. Still not ready but it's usable and testable now.
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 30 Jun 2010 20:16:42 +0000 (23:16 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 30 Jun 2010 20:16:42 +0000 (23:16 +0300)
defaultXonotic.cfg

index 9a9c697e814a6e41e3638de31311b955832197d4..4629e78fa6a195ee1d7c9aece0e435e5b9d33047 100644 (file)
@@ -1530,9 +1530,9 @@ 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 decision_0 "echo It's 0!"
-alias decision_1 "echo It's 1!"
-alias firing_swap2 "echo ${$1}"
+alias firing_decision_0 "alias +preattack +attack; alias -preattack -attack; alias +preattack2 +attack2; alias -preattack2 -attack2"
+alias firing_decision_1 "alias +preattack +attack2; alias -preattack -attack2; alias +preattack2 +attack; alias -preattack2 -attack"
+alias firing_swap2 "firing_decision_${$1}"
 alias firing_swap "firing_swap2 cl_reversefirebuttons_$1;"
 alias cl_hook_activeweapon "firing_swap $1"
 //alias +preattack "cl_hook_weapon; cl_fireswapping_$1"