]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - _hud_common.cfg
Add a note about some CSQC model bitflag numbers that are checked elsewhere
[xonotic/xonotic-data.pk3dir.git] / _hud_common.cfg
1 // hud variables
2 set _hud_configure 0 "1 = configure the HUD"
3 seta hud_configure_teamcolorforced 0 "1 = force display of team colors in configure mode"
4 seta hud_configure_checkcollisions 0 "check for collisions against other panels when in hud configure mode"
5 seta hud_configure_bg_minalpha 0.25 "minimum panel background alpha when in hud configure mode"
6 seta hud_configure_grid_alpha 0.15 "alpha for visible grid when in configure mode"
7
8 seta hud_cursormode 1 "handle mouse input in cursor mode when CSQC displays a cursor"
9
10 seta hud_fontsize 11 "text fontsize for the hud"
11 seta hud_width 560 "2D virtual width for the hud"
12
13 seta hud_colorset_foreground_1 "2" "primary priority (important names, etc)"
14 seta hud_colorset_foreground_2 "3" "secondary priority (items, locations, numbers, etc)"
15 seta hud_colorset_foreground_3 "4" "tertiary priority or relatively inconsequential text"
16 seta hud_colorset_foreground_4 "1" "notice/attention grabbing texting"
17 seta hud_colorset_kill_1 "1" "'bad' or 'dangerous' text (death messages against you, kill notifications, etc)"
18 seta hud_colorset_kill_2 "3" "similar to above, but less important... OR, a highlight out of above message type"
19 seta hud_colorset_kill_3 "4" "'good' or 'beneficial' text (you fragging someone, etc)"
20 seta hud_colorset_background "7" "neutral/unimportant text"
21
22 // general hud panel cvars (i.e. shouldn't be adjusted by a skin config)
23 seta hud_panel_weapons          1 "enable this panel"
24 seta hud_panel_ammo             1 "enable this panel"
25 seta hud_panel_powerups         1 "enable this panel"
26 seta hud_panel_healtharmor      1 "enable this panel"
27 seta hud_panel_notify           1 "enable this panel"
28 seta hud_panel_timer            1 "enable this panel"
29 seta hud_panel_radar            1 "enable this panel, 2 = also enable in non-teambased gamemodes"
30 seta hud_panel_score            1 "enable this panel"
31 seta hud_panel_racetimer        1 "enable this panel"
32 seta hud_panel_vote             1 "enable this panel"
33 seta hud_panel_modicons         1 "enable this panel"
34 seta hud_panel_pressedkeys      1 "enable this panel, 1 = show only when spectating other players, 2 = show always"
35 seta hud_panel_chat             1 "enable this panel"
36 seta hud_panel_engineinfo       0 "enable this panel"
37 seta hud_panel_infomessages     1 "enable this panel"
38 seta hud_panel_physics          3 "enable this panel, 1 = show if not observing, 2 = show always, 3 = show only in race/cts if not observing"
39 seta hud_panel_centerprint      1 "enable this panel"
40 //seta hud_panel_minigameboard    1 "enable this panel"
41 //seta hud_panel_minigamestatus   1 "enable this panel"
42 //seta hud_panel_minigamehelp     1 "enable this panel"
43 //seta hud_panel_minigamemenu     0 "enable this panel"
44 //seta hud_panel_mapvote          1 "enable this panel"
45 seta hud_panel_itemstime        2 "enable this panel, 1 = show when spectating, 2 = even playing in warmup stage"
46 //seta hud_panel_quickmenu        1 "enable this panel"
47 //seta hud_panel_scoreboard       1 "enable this panel"
48 seta hud_panel_scoreboard_accuracy 1 "show weapon accuracy stats panel on scoreboard; colors can be configured with accuracy_color* cvars"
49 seta hud_panel_scoreboard_ctf_leaderboard 1 "show a capture time rankings leaderboard in the scoreboard if allowed by the server"
50
51 seta hud_panel_weapons_dynamichud          1 "apply the dynamic hud effects to this panel"
52 seta hud_panel_ammo_dynamichud             1 "apply the dynamic hud effects to this panel"
53 seta hud_panel_powerups_dynamichud         1 "apply the dynamic hud effects to this panel"
54 seta hud_panel_healtharmor_dynamichud      1 "apply the dynamic hud effects to this panel"
55 seta hud_panel_notify_dynamichud           1 "apply the dynamic hud effects to this panel"
56 seta hud_panel_timer_dynamichud            1 "apply the dynamic hud effects to this panel"
57 seta hud_panel_radar_dynamichud            1 "apply the dynamic hud effects to this panel"
58 seta hud_panel_score_dynamichud            1 "apply the dynamic hud effects to this panel"
59 seta hud_panel_racetimer_dynamichud        1 "apply the dynamic hud effects to this panel"
60 seta hud_panel_vote_dynamichud             1 "apply the dynamic hud effects to this panel"
61 seta hud_panel_modicons_dynamichud         1 "apply the dynamic hud effects to this panel"
62 seta hud_panel_pressedkeys_dynamichud      1 "apply the dynamic hud effects to this panel"
63 seta hud_panel_engineinfo_dynamichud       1 "apply the dynamic hud effects to this panel"
64 seta hud_panel_infomessages_dynamichud     0 "apply the dynamic hud effects to this panel"
65 seta hud_panel_physics_dynamichud          1 "apply the dynamic hud effects to this panel"
66 seta hud_panel_centerprint_dynamichud      1 "apply the dynamic hud effects to this panel"
67 seta hud_panel_itemstime_dynamichud        1 "apply the dynamic hud effects to this panel"
68 seta hud_panel_scoreboard_dynamichud       0 "apply the dynamic hud effects to this panel"
69
70 seta hud_panel_weapons_ammo_full_shells 60 "show 100% of the status bar at this ammo count"
71 seta hud_panel_weapons_ammo_full_nails 320 "show 100% of the status bar at this ammo count"
72 seta hud_panel_weapons_ammo_full_cells 180 "show 100% of the status bar at this ammo count"
73 seta hud_panel_weapons_ammo_full_plasma 180 "show 100% of the status bar at this ammo count"
74 seta hud_panel_weapons_ammo_full_rockets 160 "show 100% of the status bar at this ammo count"
75 seta hud_panel_weapons_ammo_full_fuel 100 "show 100% of the status bar at this ammo count"
76 seta hud_panel_weapons_hide_ondeath 0 "hide this panel when dead"
77 seta hud_panel_weapons_orderbyimpulse "1" "List weapons in their impulse order instead of priority"
78
79 seta hud_panel_ammo_maxammo "40" "when you have this much ammo, the ammo status bar is full"
80 seta hud_panel_ammo_hide_ondeath 0 "hide this panel when dead"
81
82 seta hud_panel_powerups_hide_ondeath 0 "hide this panel when dead"
83
84 seta hud_panel_healtharmor_maxhealth "200" "when you have this much health, the health status bar is full"
85 seta hud_panel_healtharmor_maxarmor "200" "when you have this much armor, the armor status bar is full"
86 seta hud_panel_healtharmor_progressbar_gfx_damage 5 "show damage effect when damaged at least by this amount; 0 disables the effect"
87 seta hud_panel_healtharmor_progressbar_gfx_lowhealth 40 "health progressbar blinks when health is lower than this amount"
88 seta hud_panel_healtharmor_hide_ondeath 0 "hide this panel when dead"
89
90 seta hud_panel_timer_increment "0" "show elapsed time instead of remaining time"
91
92 seta hud_panel_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does"
93 seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point"
94 seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster"
95 seta hud_panel_engineinfo_framecounter_decimals "0" "amount of decimals to show"
96 seta hud_panel_engineinfo_framecounter_time "0.1" "time between framerate display updates"
97
98 seta hud_panel_physics_acceleration_movingaverage 1 "use an averaging method for calculating acceleration instead of the real value"
99 seta hud_panel_physics_update_interval 0.016 "how often (in seconds) numeric values get updated on screen"
100 seta hud_panel_physics_speed_unit "1" "speed unit (1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots)"
101
102 seta hud_panel_itemstime_progressbar_maxtime "30" "when left time is at least this amount, the status bar is full"
103 seta hud_panel_itemstime_hidespawned "1" "if 1 hide an item from the panel when all the occurrences of it are available again; if 2 hide it when at least one occurrence is available again"
104 seta hud_panel_itemstime_hidebig "0" "if 1 hide big armor and health from the panel"
105
106 seta hud_panel_quickmenu_file "" "load the quick menu from this file (empty or 0 to disable)"
107 seta hud_panel_quickmenu_translatecommands 0 "when the game is translated, translate strings inside commands too (useful for chat commands)"
108 seta hud_panel_quickmenu_time 5 "quickmenu expires after this number of seconds in the same page"
109
110 seta hud_panel_infomessages_group0 1 "show group 0 messages (showing keys for non-crucial actions you can do while spectating/observing)"
111 seta hud_panel_infomessages_group_time 6 "number of seconds a message of a group lasts before it gets changed"
112 seta hud_panel_infomessages_group_fadetime 0.4 "group message fade in/out time"
113
114 seta hud_panel_scoreboard_namesize 15 "size limit of player names and relative column (multiplied by fontsize)"
115 seta hud_panel_scoreboard_maxheight 0.6 "max height of the scoreboard; a few players that wouldn't fit into the scoreboard are listed in the last row"
116 seta hud_panel_scoreboard_others_showscore 1 "show scores of players listed in the last row when the scoreboard reaches the max height"
117 seta hud_panel_scoreboard_spectators_showping 1 "show ping of spectators"
118 seta hud_panel_scoreboard_spectators_aligned 0 "align spectators in columns"
119 seta hud_panel_scoreboard_minwidth 0.6 "minimum width of the scoreboard"
120
121 seta hud_panel_scoreboard_accuracy_showdelay 2 "how long to delay displaying accuracy below the scoreboard if it's too far down"
122 seta hud_panel_scoreboard_accuracy_showdelay_minpos 0.75 "delay displaying the accuracy panel only if its position is lower than this percentage of the screen height from the top"
123 seta hud_panel_scoreboard_team_size_position 0 "where to show the team size (0 = do not show, 1 = left of scoreboard, 2 = right of scoreboard), will move team scores to the other side if necessary"
124
125 // hud panel aliases
126 alias quickmenu "cl_cmd hud quickmenu ${* ?}"
127
128 alias hud_panel_radar_rotate "toggle hud_panel_radar_rotation 0 1 2 3 4"
129 alias +hud_panel_radar_maximized "cl_cmd hud radar 1"
130 alias -hud_panel_radar_maximized "cl_cmd hud radar 0"
131 alias hud_panel_radar_maximized "cl_cmd hud radar"
132
133 // other hud cvars
134 seta hud_panel_update_interval 2 "how often (in seconds) common panel cvars are reloaded"
135
136 seta hud_dynamic_follow 0 "HUD moves around following player's movement (effect shared with cl_followmodel, can be enabled independently from it though)"
137 seta hud_dynamic_follow_scale 0.01 "HUD following scale"
138 seta hud_dynamic_follow_scale_xyz "1 1 1" "HUD following scale for the x, y and z axis"
139
140 seta hud_dynamic_shake 1 "shake the HUD when hurt"
141 seta hud_dynamic_shake_damage_max 130 "damage value at which the HUD shake effect is maximum"
142 seta hud_dynamic_shake_damage_min 10 "damage value at which the HUD shake effect is minimum"
143 seta hud_dynamic_shake_scale 0.2 "HUD shake scale"
144
145 seta hud_showbinds 1    "what to show in the HUD to indicate certain keys to press: 0 display commands, 1 bound keys, 2 both"
146 seta hud_showbinds_limit 2      "maximum number of bound keys to show for a command. 0 for unlimited"
147 set _hud_showbinds_reload 0     "set it to 1 to reload binds if you changed any. It is reset to 0 automatically"
148
149 seta hud_colorflash_alpha 0.5 "starting alpha of the color flash"
150
151 seta hud_damage 0.55 "an improved version of gl_polyblend for damage, draw an image instead when hurt"
152 seta hud_damage_blur 0 "Use postprocessing to blur the screen when you have taken damage. This can be paired with current hud damage or just used alone. Higher values = more blur"
153 seta hud_damage_blur_alpha 0.5 "Amount of alpha to use when merging the blurred layers back into the render. Turning this up higher will remove bloom, so it's best to find a balance"
154 seta hud_damage_gentle_alpha_multiplier 0.10 "how much to multiply alpha of flash when using the cl_gentle version, it's much more opaque than the non-gentle version"
155 seta hud_damage_gentle_color "1 0.7 1" "color of flash for cl_gentle version"
156 seta hud_damage_color "1 0 0" "color of flash"
157 seta hud_damage_factor 0.025 "(damage * factor) = how much to add to the alpha value"
158 seta hud_damage_fade_rate 0.75 "how much to subtract from the alpha value each second"
159 seta hud_damage_maxalpha 1.5 "how much to limit the alpha value to"
160 seta hud_damage_pain_threshold 0.1 "how much alpha to ignore (must be bigger than the hud_damage_factor so that e.g. rot is ignored)"
161 seta hud_damage_pain_threshold_lower 1.25 "how much we lower pain_threshold with when nearing 0 health (if pain_threshold gets negative then we always draw a flash at alpha = fabs(pain_threshold)"
162 seta hud_damage_pain_threshold_lower_health 50 "at which health we start lowering pain_threshold"
163 seta hud_damage_pain_threshold_pulsating_min 0.6 "minimum value when calculating the pulse: max(pulsating_min, fabs(sin(PI * time / period))"
164 seta hud_damage_pain_threshold_pulsating_period 0.8 "one pulse every X seconds"
165
166 seta hud_powerup 0 "power of the sharpen effect when owning the shield or strength powerups"
167
168 seta hud_postprocessing 1 "enables the ability for effects such as hud_damage_blur and hud_contents to apply a postprocessing method upon the screen - enabling this disables manual editing of the postprocess cvars"
169 seta hud_postprocessing_maxbluralpha 0 "maximum alpha which the blur postprocess can be"
170 seta hud_postprocessing_maxblurradius 8 "maximum radius which the blur postprocess can be"
171
172 seta hud_contents 1 "an improved version of gl_polyblend for liquids such as water/lava/slime, draw a filler when inside the liquid"
173 seta hud_contents_blur 10 "Use postprocessing to blur the screen when you are inside a liquid. Higher values = more blur"
174 seta hud_contents_blur_alpha 0.5 "Amount of alpha to use when merging the blurred layers back into the render. Turning this up higher will remove bloom, so it's best to find a balance"
175 seta hud_contents_factor 1 "factor at which to multiply the current faded value."
176 seta hud_contents_fadeintime 0.02 "factor of time it takes for the alpha level to reach normal value when entering the liquid"
177 seta hud_contents_fadeouttime 0.1 "factor of time it takes for the alpha level to reach normal value when leaving the liquid"
178 seta hud_contents_lava_alpha 0.7 "alpha of the lava"
179 seta hud_contents_lava_color "0.8 0.1 0" "color blend when inside lava"
180 seta hud_contents_slime_alpha 0.7 "alpha of the slime"
181 seta hud_contents_slime_color "0 0.4 0.1" "color blend when inside slime"
182 seta hud_contents_water_alpha 0.5 "alpha of the water"
183 seta hud_contents_water_color "0.4 0.3 0.3" "color blend when inside water"
184
185 seta hud_shownames 1 "draw names and health/armor of nearby players"
186 seta hud_shownames_enemies 1 "show tags for enemies as well"
187 seta hud_shownames_crosshairdistance 0 "if set, only draw tags which came within this distance of your crosshair (25 recommended)"
188 seta hud_shownames_crosshairdistance_time 5 "how many seconds the tag is still visible after pointing at them"
189 seta hud_shownames_crosshairdistance_antioverlap 0 "allow antioverlap to work as normal even with crosshairdistance on"
190 seta hud_shownames_self 0 "also include your own name to be shown when third person camera mode is on (chase_active/cl_eventchase)"
191 seta hud_shownames_status 1 "1 = draw health/armor status of teammates"
192 seta hud_shownames_statusbar_height 4 "height of status bar"
193 seta hud_shownames_statusbar_highlight 1 "Always highlight values of health and armor from 0 to half status bar"
194 seta hud_shownames_aspect 8 "aspect ratio of total drawing area per name"
195 seta hud_shownames_fontsize 12 "font size"
196 seta hud_shownames_decolorize 1 "1 = decolorize name in team games, 2 = decolorize always"
197 seta hud_shownames_alpha 0.7 "alpha"
198 seta hud_shownames_resize 1 "enable resizing of the names, then the size cvars will correspond to the maximum size"
199 seta hud_shownames_mindistance 1000 "start fading alpha/size at this distance"
200 seta hud_shownames_maxdistance 5000 "alpha/size is 0 at this distance"
201 seta hud_shownames_antioverlap 1 "if two tags get too close to each other, fade out the one further away from you"
202 seta hud_shownames_antioverlap_distance 50 "2d distance to other tag after which to fade out"
203 seta hud_shownames_offset 52 "offset (along z-axis) tag from player origin by this many units"