seta hud_panel_physics_speed_unit 3 "speed unit (1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots)"
seta hud_panel_physics_speed_unit_show 1 "also show speed unit"
seta hud_panel_physics_speed_max 1800 "speed progressbar gets filled up completely by this value (in qu/s)"
-seta hud_panel_physics_speed_z 0 "include the speed on the Z-axis"
+seta hud_panel_physics_speed_vertical 0 "include the speed on the Z-axis"
seta hud_panel_physics_topspeed 1 "also show top speed"
seta hud_panel_physics_topspeed_time 4 "how many seconds the top speed takes to fade out"
seta hud_panel_physics_acceleration_max 2 "acceleration progressbar gets filled up completely by this value"
-seta hud_panel_physics_acceleration_z 0 "include the acceleration on the Z-axis"
+seta hud_panel_physics_acceleration_vertical 0 "include the acceleration on the Z-axis"
seta hud_showbinds 1 "what to show in the HUD to indicate certain keys to press: 0 display commands, 1 bound keys, 2 both"
seta hud_showbinds_limit 2 "maximum number of bound keys to show for a command. 0 for unlimited"
float autocvar_hud_panel_physics;
float autocvar_hud_panel_physics_progressbar_acceleration_mode;
float autocvar_hud_panel_physics_acceleration_max;
-float autocvar_hud_panel_physics_acceleration_z;
+float autocvar_hud_panel_physics_acceleration_vertical;
float autocvar_hud_panel_physics_baralign;
float autocvar_hud_panel_physics_flip;
float autocvar_hud_panel_physics_progressbar;
float autocvar_hud_panel_physics_speed_max;
float autocvar_hud_panel_physics_speed_unit;
float autocvar_hud_panel_physics_speed_unit_show;
-float autocvar_hud_panel_physics_speed_z;
+float autocvar_hud_panel_physics_speed_vertical;
float autocvar_hud_panel_physics_topspeed;
float autocvar_hud_panel_physics_topspeed_time;
float autocvar_hud_panel_powerups;
float max_speed = floor( autocvar_hud_panel_physics_speed_max * conversion_factor + 0.5 );
if (autocvar__hud_configure)
speed = floor( max_speed * 0.65 + 0.5 );
- else if(autocvar_hud_panel_physics_speed_z)
+ else if(autocvar_hud_panel_physics_speed_vertical)
speed = floor( vlen(pmove_vel) * conversion_factor + 0.5 );
else
speed = floor( vlen(pmove_vel - pmove_vel_z * '0 0 1') * conversion_factor + 0.5 );
else
{
f = time - acc_prevtime;
- if(autocvar_hud_panel_physics_acceleration_z)
+ if(autocvar_hud_panel_physics_acceleration_vertical)
acceleration = (vlen(pmove_vel) - vlen(acc_prevspeed)) * (1 / f);
else
acceleration = (vlen(pmove_vel - '0 0 1' * pmove_vel_z) - vlen(acc_prevspeed - '0 0 1' * acc_prevspeed_z)) * (1 / f);
//speed
me.TR(me);
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Speed:"));
- me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "hud_panel_physics_speed_z", "Include vertical speed"));
+ me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "hud_panel_physics_speed_vertical", "Include vertical speed"));
// me.TR(me);
// me.TDempty(me, 0.2);
// me.TD(me, 1, 1.8, e = makeXonoticTextLabel(0, "Full status bar at:"));
//acceleration
me.TR(me);
me.TD(me, 1, 1, e = makeXonoticTextLabel(0, "Acceleration:"));
- me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "hud_panel_physics_acceleration_z", "Include vertical acc."));
+ me.TD(me, 1, 3, e = makeXonoticCheckBox(0, "hud_panel_physics_acceleration_vertical", "Include vertical acc."));
// me.TR(me);
// me.TDempty(me, 0.2);
// me.TD(me, 1, 1.8, e = makeXonoticTextLabel(0, "Full status bar at:"));