]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - crosshairs.cfg
Merge remote-tracking branch 'origin/master' into samual/combined_updates
[xonotic/xonotic-data.pk3dir.git] / crosshairs.cfg
1 // ================================================
2 //  Master config for different crosshair settings
3 // ================================================
4
5 // main crosshair settings
6 seta crosshair 16
7 seta crosshair_enabled 1 // main toggle for enabling/disabling crosshair rendering, used mostly just for the menu... 1 = with per-weapon crosshairs, 2 = custom crosshair
8 seta crosshair_color "0.6 0.8 1"
9 seta crosshair_alpha 0.75
10 seta crosshair_size 0.3
11
12 // crosshair dot settings
13 seta crosshair_dot 0
14 seta crosshair_dot_alpha 1
15 seta crosshair_dot_size 0.600000
16 seta crosshair_dot_color "1 0 0"
17 seta crosshair_dot_color_custom 1 "use a custom color for the crosshair dot"
18
19 // smooth transitions for crosshair changes
20 seta crosshair_effect_time 0.4 "how fast (in seconds) some crosshair effects should take place, 0 = instant"
21 seta crosshair_effect_scalefade 1 "use scaling and fading for crosshair effects"
22
23 // item pickup animation settings
24 seta crosshair_pickup 0.25
25 seta crosshair_pickup_speed 4
26
27 // hit indication animation settings
28 seta crosshair_hitindication 0.5
29 seta crosshair_hitindication_color "10 -10 -10"
30 seta crosshair_hitindication_per_weapon_color "10 10 10"
31 seta crosshair_hitindication_speed 5
32
33 // hit testing/tracing for special effects for the crosshair
34 set g_trueaim_minrange 44 "TrueAim minimum range (TrueAim adjusts shots so they hit the crosshair point even though the gun is not at the screen center)"
35 seta crosshair_hittest 1 "do a crosshair hit evaluation, applying effects from the _blur, _scale, and _showipact cvars"
36 seta crosshair_hittest_blur 1 "blur the crosshair if the shot is obstructed"
37 seta crosshair_hittest_scale 1.25 "enlarge crosshair if aiming at an enemy, shrink crosshair if shot is obstructed or aiming at a teammate"
38 seta crosshair_hittest_showimpact 0 "move the crosshair to the actual impact location if obstructed"
39
40 // change color based on special case
41 seta crosshair_color_special 1 "special color handling for crosshair... 1 = per-weapon crosshair color (see crosshair_per_weapon), 2 = crosshair changes color based on health, 3 = rainbow/random color selection"
42 seta crosshair_color_special_rainbow_delay 0.1
43 seta crosshair_color_special_rainbow_brightness 20 "color brightness of the random crosshair colors"
44
45
46 // ===============================
47 //  Per weapon crosshair settings
48 // ===============================
49 // main settings
50 seta crosshair_per_weapon 1     "when 1, each gun will display a different crosshair"
51
52 // per weapon settings
53 seta crosshair_laser "" "crosshair to display when wielding the laser"
54 seta crosshair_laser_color "1 0.35 0.2" "crosshair color to display when wielding the laser"
55 seta crosshair_laser_alpha 0.75 "crosshair alpha value to display when wielding the laser"
56 seta crosshair_laser_size 0.4   "crosshair size when wielding the laser"
57 seta crosshair_shotgun ""       "crosshair to display when wielding the shotgun"
58 seta crosshair_shotgun_color "0.7 0.7 0.7"      "crosshair color to display when wielding the shotgun"
59 seta crosshair_shotgun_alpha 1.1        "crosshair alpha value to display when wielding the shotgun"
60 seta crosshair_shotgun_size 0.65        "crosshair size when wielding the shotgun"
61 seta crosshair_uzi ""   "crosshair to display when wielding the machinegun"
62 seta crosshair_uzi_color "0.4 0.9 0.35" "crosshair color to display when wielding the machinegun"
63 seta crosshair_uzi_alpha 0.9    "crosshair alpha value to display when wielding the machinegun"
64 seta crosshair_uzi_size 0.6     "crosshair size when wielding the machinegun"
65 seta crosshair_grenadelauncher ""       "crosshair to display when wielding the mortar"
66 seta crosshair_grenadelauncher_color "1 0.15 0" "crosshair color to display when wielding the mortar"
67 seta crosshair_grenadelauncher_alpha 1.15       "crosshair alpha value to display when wielding the mortar"
68 seta crosshair_grenadelauncher_size 0.7 "crosshair size when wielding the mortar"
69 seta crosshair_minelayer ""     "crosshair to display when wielding the mortar"
70 seta crosshair_minelayer_color "0.75 0.75 0"    "crosshair color to display when wielding the mortar"
71 seta crosshair_minelayer_alpha 1.15     "crosshair alpha value to display when wielding the mortar"
72 seta crosshair_minelayer_size 0.9       "crosshair size when wielding the mortar"
73 seta crosshair_electro ""       "crosshair to display when wielding the electro"
74 seta crosshair_electro_color "0.35 0.5 1"       "crosshair color to display when wielding the electro"
75 seta crosshair_electro_alpha 1  "crosshair alpha value to display when wielding the electro"
76 seta crosshair_electro_size 0.5 "crosshair size when wielding the electro"
77 seta crosshair_crylink ""       "crosshair to display when wielding the crylink"
78 seta crosshair_crylink_color "0.85 0.25 1"      "crosshair color to display when wielding the crylink"
79 seta crosshair_crylink_alpha 0.85       "crosshair alpha value to display when wielding the crylink"
80 seta crosshair_crylink_size 0.4 "crosshair size when wielding the crylink"
81 seta crosshair_nex ""   "crosshair to display when wielding the nex gun"
82 seta crosshair_nex_color "0 0.9 1"      "crosshair color to display when wielding the nex gun"
83 seta crosshair_nex_alpha 0.85   "crosshair alpha value to display when wielding the nex gun"
84 seta crosshair_nex_size 0.65    "crosshair size when wielding the nex gun"
85 seta crosshair_hagar "" "crosshair to display when wielding the hagar"
86 seta crosshair_hagar_color "0.85 0.5 0.35"      "crosshair color to display when wielding the hagar"
87 seta crosshair_hagar_alpha 1    "crosshair alpha value to display when wielding the hagar"
88 seta crosshair_hagar_size 0.8   "crosshair size when wielding the hagar"
89 seta crosshair_rocketlauncher ""        "crosshair to display when wielding the rocketlauncher"
90 seta crosshair_rocketlauncher_color "1 0.75 0.2"        "crosshair color to display when wielding the rocketlauncher"
91 seta crosshair_rocketlauncher_alpha 1   "crosshair alpha value to display when wielding the rocketlauncher"
92 seta crosshair_rocketlauncher_size 0.5875       "crosshair size when wielding the rocketlauncher"
93 seta crosshair_porto "" "crosshair to display when wielding the porto"
94 seta crosshair_porto_color "0.5 1 0.5"  "crosshair color to display when wielding the porto"
95 seta crosshair_porto_alpha 0.85 "crosshair alpha value to display when wielding the porto"
96 seta crosshair_porto_size 0.6   "crosshair size when wielding the porto"
97 seta crosshair_minstanex ""     "crosshair to display when wielding the minstanex gun"
98 seta crosshair_minstanex_color "0.65 0.65 1"    "crosshair color to display when wielding the minstanex gun"
99 seta crosshair_minstanex_alpha 1        "crosshair alpha value to display when wielding the minstanex gun"
100 seta crosshair_minstanex_size 0.4       "crosshair size when wielding the minstanex gun"
101 seta crosshair_hook ""  "crosshair to display when wielding the hook"
102 seta crosshair_hook_color "0.65 1 0.85" "crosshair color to display when wielding the hook"
103 seta crosshair_hook_alpha 0.85  "crosshair alpha value to display when wielding the hook"
104 seta crosshair_hook_size 0.5    "crosshair size when wielding the hook"
105 seta crosshair_hlac ""  "crosshair to display when wielding the H.L.A.C"
106 seta crosshair_hlac_color "1 0.65 0.2"  "crosshair color to display when wielding the H.L.A.C."
107 seta crosshair_hlac_alpha 1     "crosshair alpha value to display when wielding the H.L.A.C."
108 seta crosshair_hlac_size 0.6    "crosshair size when wielding the H.L.A.C."
109 seta crosshair_seeker ""        "crosshair to display when wielding the TAG Seeker"
110 seta crosshair_seeker_color "1 0.35 0.35"       "crosshair color to display when wielding the TAG seeker"
111 seta crosshair_seeker_alpha 0.9 "crosshair alpha value to display when wielding the TAG seeker"
112 seta crosshair_seeker_size 0.8  "crosshair size when wielding the TAG seeker"
113 seta crosshair_rifle "" "crosshair to display when wielding the rifle"
114 seta crosshair_rifle_color "0.85 0.5 0.25"      "crosshair color to display when wielding the rifle"
115 seta crosshair_rifle_alpha 1    "crosshair alpha value to display when wielding the rifle"
116 seta crosshair_rifle_size 0.5   "crosshair size when wielding the rifle"
117 seta crosshair_tuba ""  "crosshair to display when wielding the tuba"
118 seta crosshair_tuba_color "0.85 0.5 0.25"       "crosshair color to display when wielding the tuba"
119 seta crosshair_tuba_alpha 1     "crosshair alpha value to display when wielding the tuba"
120 seta crosshair_tuba_size 1      "crosshair size when wielding the tuba"
121 seta crosshair_fireball ""      "crosshair to display when wielding the fireball"
122 seta crosshair_fireball_color "0.2 1.0 0.2"     "crosshair color to display when wielding the fireball"
123 seta crosshair_fireball_alpha 1 "crosshair alpha value to display when wielding the fireball"
124 seta crosshair_fireball_size 1  "crosshair size when wielding the fireball"
125
126
127 // =========================
128 //  Crosshair ring settings
129 // =========================
130
131 // ring around crosshair, used for various purposes (such as indicating bullets left in clip, nex charge)
132 seta crosshair_ring 1 "main cvar to enable or disable normal crosshair rings"
133 seta crosshair_ring_inner 0 "allow inner rings to be drawn too"
134 seta crosshair_ring_size 2      "ring size"
135 seta crosshair_ring_alpha 0.2   "ring alpha"
136
137 // nexgun ring
138 seta crosshair_ring_nex 1 "draw a ring showing the current charge of the nexgun"
139 seta crosshair_ring_nex_alpha 0.15
140 seta crosshair_ring_nex_inner_alpha 0.15
141 seta crosshair_ring_nex_inner_color_red 0.8
142 seta crosshair_ring_nex_inner_color_green 0
143 seta crosshair_ring_nex_inner_color_blue 0
144 seta crosshair_ring_nex_currentcharge_scale 30
145 seta crosshair_ring_nex_currentcharge_movingavg_rate 0.05
146
147 // minelayer ring
148 seta crosshair_ring_minelayer 1
149 seta crosshair_ring_minelayer_alpha 0.15
150
151 // hagar ring
152 seta crosshair_ring_hagar 1
153 seta crosshair_ring_hagar_alpha 0.15
154
155 // reload ring
156 seta crosshair_ring_reload 1 "main cvar to enable or disable ammo crosshair rings"
157 seta crosshair_ring_reload_size 2.5     "reload ring size"
158 seta crosshair_ring_reload_alpha 0.2    "reload ring alpha"