From 79cb82640cbe3842ad9b7330e55ff4e9e6c03d03 Mon Sep 17 00:00:00 2001 From: Samual Date: Tue, 15 Feb 2011 00:20:35 -0500 Subject: [PATCH] Still can't get it to work.. wtf... divVerent: When I try to change the cvar for this manually, it doesn't update and still just uses the defined default. Why?!?! Why doesn't it change values automatically -- isn't that what autocvar is meant for? :P --- defaultXonotic.cfg | 4 ++-- qcsrc/client/autocvars.qh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 888b96530..b0f20ab80 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1220,8 +1220,8 @@ seta g_waypointsprite_alpha 1 "This allows the client to control transparency of seta g_waypointsprite_edgefadealpha 0.5 "alpha multiplier near the edge" seta g_waypointsprite_edgefadescale 1 "scale multiplier near the edge" seta g_waypointsprite_edgefadedistance 50 "distance in virtual pixels from edge where to start fading" -seta g_waypointsprite_edgeoffset_x 0.2 "offset of how close the waypoint can be to the edge of the screen (between left and right)" -seta g_waypointsprite_edgeoffset_y 0.2 "offset of how close the waypoint can be to the edge of the screen (between top and bottom)" +seta g_waypointsprite_edgeoffset_x 0.15 "offset of how close the waypoint can be to the edge of the screen - between left and right" +seta g_waypointsprite_edgeoffset_y 0.15 "offset of how close the waypoint can be to the edge of the screen - between top and bottom" seta g_waypointsprite_crosshairfadealpha 0.25 "alpha multiplier near crosshair" seta g_waypointsprite_crosshairfadescale 1 "scale multiplier near the crosshair" seta g_waypointsprite_crosshairfadedistance 150 "distance in virtual pixels from crosshair where to start fading" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 52277fd78..c9337db07 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -135,8 +135,8 @@ var float autocvar_g_waypointsprite_distancefadescale = 1; var float autocvar_g_waypointsprite_edgefadealpha = 1; float autocvar_g_waypointsprite_edgefadedistance; var float autocvar_g_waypointsprite_edgefadescale = 1; -float autocvar_g_waypointsprite_edgeoffset_x; -float autocvar_g_waypointsprite_edgeoffset_y; +var float autocvar_g_waypointsprite_edgeoffset_x = 0.15; +var float autocvar_g_waypointsprite_edgeoffset_y = 0.15; float autocvar_g_waypointsprite_minalpha; float autocvar_g_waypointsprite_minscale; float autocvar_g_waypointsprite_normdistance; -- 2.39.2