Debian Codegraph @

misc/cfg/mvdhud_base.cfg

raw
1 //
2 // ######################################## BASIC ALIASES #########################################
3 //
4
5 if $cl_multiview > 0 set max_group 5 else set_calc max_group $cl_multiview + 1
6
7 // Let the player move the radar around in the views.
8 alias next_radar_group "if $radar_group == $max_group set radar_group 1 else set_calc radar_group $radar_group + 1"
9 alias move_radar "group$radar_group frame 0;next_radar_group;place radar group$radar_group"
10
11 // Remove the frame of the group the radar is in when going into free fly mode.
12 alias f_freeflyspectate "group$radar_group frame 0"
13 alias f_trackspectate "if $cl_multiview > 0 group$radar_group frame 1 else group$radar_group frame 0"
14
15 //
16 // ######################################## BASIC CONFIG ##########################################
17 //
18
19 // Track the first team to start with
20 trackteam 1
21
22 // Display the mini-huds gathered in the center of the screen.
23 cl_mvdisplayhud 4
24 cl_mvhudpos gather
25 cl_mvhudvertical 1
26
27 // Someone might be using scr_newhud > 1 so don't screw with their settings
28 if $scr_newhud == 0 scr_newhud 1
29
30 // Allow elements to be offscreen (only in GL).
31 hud_offscreen 0
32
33 // Make sure we're not in planmode.
34 hud_planmode 0
35
36 // Show RL's/armor/health name.
37 scr_autoid 4
38
39 // Get rid of all hud elements.
40 hide all