[nexuiz-commits] r7485 - trunk/data
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Aug 21 08:50:19 EDT 2009
Author: div0
Date: 2009-08-21 08:50:19 -0400 (Fri, 21 Aug 2009)
New Revision: 7485
Modified:
trunk/data/defaultNexuiz.cfg
Log:
whoever does the cl_gunalign menu item:
make the apply button of the dialog call the _gunalign_update alias
also, make the apply button of the dialog with v_flipped call the
_gunalign_update alias
and make the menu item change the cvar menu_cl_gunalign
Modified: trunk/data/defaultNexuiz.cfg
===================================================================
--- trunk/data/defaultNexuiz.cfg 2009-08-21 11:30:30 UTC (rev 7484)
+++ trunk/data/defaultNexuiz.cfg 2009-08-21 12:50:19 UTC (rev 7485)
@@ -808,7 +808,7 @@
seta r_ambient 4
cl_decals_fadetime 1
cl_decals_time 2
-set cl_gunalign 3 "Gun alignment; 1 = right, 2 = left, 3 = center or right, 4 = center or left"
+seta cl_gunalign 3 "Gun alignment; 1 = right, 2 = left, 3 = center or right, 4 = center or left"
seta cl_nogibs 0 "reduce number of violence effects, or remove them totally"
seta cl_particlegibs 0 "simpler gibs"
seta cl_gibs_damageforcescale 3.5 "force to push around gibs"
@@ -1641,3 +1641,15 @@
seta cl_gibs_maxcount 100 "maximum amount of gibs (must be at least 1)"
seta cl_vehicle_spiderbot_cross_alpha 0.6
seta cl_vehicle_spiderbot_cross_size 1
+
+//cl_gunalign calculator
+seta menu_cl_gunalign 3 "Gun alignment; 1 = right, 2 = left, 3 = center or right, 4 = center or left"
+alias _gunalign_01 "cl_gunalign 1"
+alias _gunalign_02 "cl_gunalign 2"
+alias _gunalign_03 "cl_gunalign 3"
+alias _gunalign_04 "cl_gunalign 4"
+alias _gunalign_11 "cl_gunalign 2"
+alias _gunalign_12 "cl_gunalign 1"
+alias _gunalign_13 "cl_gunalign 4"
+alias _gunalign_14 "cl_gunalign 3"
+alias _gunalign_update "_gunalign_$v_flipped$menu_cl_gunalign"
More information about the nexuiz-commits
mailing list