]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - defaultXonotic.cfg
rename to hook-firing_swap.cfg; document how to add it together with other scripts...
[xonotic/xonotic-data.pk3dir.git] / defaultXonotic.cfg
index 8618123e06cc937eb8c2497e78b98f949fdafbaf..6729cb47c7b25b6bb65b671c8e15fdd66c29380d 100644 (file)
@@ -916,10 +916,10 @@ alias sv_restart "say \"Server will restart at the end of the match, you will al
 // aliases:
 alias +fire +attack
 alias -fire -attack
-alias +fire2 +attack2
-alias -fire2 -attack2
-alias +attack2 +button3
-alias -attack2 -button3
+alias +fire2 +button3
+alias -fire2 -button3
+alias +attack2 +button3 // old alias from Nexuiz
+alias -attack2 -button3 // old alias name from Nexuiz
 alias +zoom +button4
 alias -zoom -button4
 alias +crouch +button5
@@ -1522,9 +1522,6 @@ alias gl_flashblend_update "_gl_flashblend_update_$r_shadow_realtime_dlight$r_sh
 
 alias firing_swap "" // this script is located in its own config file
 
-// this hook activates when we switch weapons, and allows us to script weapon specific properties (like the fire button swapping script)
-alias cl_hook_activeweapon "firing_swap $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)"
@@ -1703,7 +1700,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}"