1 // ================================================
2 // Master config for different crosshair settings
3 // ================================================
5 // main crosshair settings
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.5
10 seta crosshair_size 0.4
12 // crosshair dot settings
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"
19 // smooth transitions for crosshair changes
20 seta crosshair_effect_speed -1 "how fast (in seconds) some crosshair effects should take place, 0 = instant, -1 = 2x weapon switch time"
21 seta crosshair_effect_scalefade 1 "use scaling and fading for crosshair effects"
23 // item pickup animation settings
24 seta crosshair_pickup 0.25
25 seta crosshair_pickup_speed 4
27 // hit indication animation settings
28 seta crosshair_hitindication 0.5
29 seta crosshair_hitindication_color "10 -10 -10"
30 seta crosshair_hitindication_speed 5
32 // hit testing/tracing for special effects for the crosshair
33 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)"
34 seta crosshair_hittest 1 "do a crosshair hit evaluation; also, the crosshair is scaled by the given number when aiming at an enemy, and blurred when aiming at a team mate"
35 seta crosshair_hittest_blur 1 "blur the crosshair if the shot is obstructed"
36 seta crosshair_hittest_showimpact 0 "move the crosshair to the actual impact location if obstructed"
38 // change color based on special case
39 seta crosshair_color_by_health 0 "if enabled, crosshair color will depend on current health"
40 seta crosshair_color_per_weapon 1 "when 1, each gun will display the crosshair with a different color"
43 // ===============================
44 // Per weapon crosshair settings
45 // ===============================
47 seta crosshair_per_weapon 1 "when 1, each gun will display a different crosshair"
49 // per weapon settings
50 seta crosshair_laser "" "crosshair to display when wielding the laser"
51 seta crosshair_laser_color "1 0.35 0.2" "crosshair color to display when wielding the laser"
52 seta crosshair_laser_alpha 0.75 "crosshair alpha value to display when wielding the laser"
53 seta crosshair_laser_size 0.4 "crosshair size when wielding the laser"
54 seta crosshair_shotgun "" "crosshair to display when wielding the shotgun"
55 seta crosshair_shotgun_color "0.7 0.7 0.7" "crosshair color to display when wielding the shotgun"
56 seta crosshair_shotgun_alpha 1.1 "crosshair alpha value to display when wielding the shotgun"
57 seta crosshair_shotgun_size 0.65 "crosshair size when wielding the shotgun"
58 seta crosshair_uzi "" "crosshair to display when wielding the machinegun"
59 seta crosshair_uzi_color "0.4 0.9 0.35" "crosshair color to display when wielding the machinegun"
60 seta crosshair_uzi_alpha 0.9 "crosshair alpha value to display when wielding the machinegun"
61 seta crosshair_uzi_size 0.6 "crosshair size when wielding the machinegun"
62 seta crosshair_grenadelauncher "" "crosshair to display when wielding the mortar"
63 seta crosshair_grenadelauncher_color "1 0.15 0" "crosshair color to display when wielding the mortar"
64 seta crosshair_grenadelauncher_alpha 1.15 "crosshair alpha value to display when wielding the mortar"
65 seta crosshair_grenadelauncher_size 0.7 "crosshair size when wielding the mortar"
66 seta crosshair_minelayer "" "crosshair to display when wielding the mortar"
67 seta crosshair_minelayer_color "0.75 0.75 0" "crosshair color to display when wielding the mortar"
68 seta crosshair_minelayer_alpha 1.15 "crosshair alpha value to display when wielding the mortar"
69 seta crosshair_minelayer_size 0.9 "crosshair size when wielding the mortar"
70 seta crosshair_electro "" "crosshair to display when wielding the electro"
71 seta crosshair_electro_color "0.35 0.5 1" "crosshair color to display when wielding the electro"
72 seta crosshair_electro_alpha 1 "crosshair alpha value to display when wielding the electro"
73 seta crosshair_electro_size 0.5 "crosshair size when wielding the electro"
74 seta crosshair_crylink "" "crosshair to display when wielding the crylink"
75 seta crosshair_crylink_color "0.85 0.25 1" "crosshair color to display when wielding the crylink"
76 seta crosshair_crylink_alpha 0.85 "crosshair alpha value to display when wielding the crylink"
77 seta crosshair_crylink_size 0.4 "crosshair size when wielding the crylink"
78 seta crosshair_nex "" "crosshair to display when wielding the nex gun"
79 seta crosshair_nex_color "0 0.9 1" "crosshair color to display when wielding the nex gun"
80 seta crosshair_nex_alpha 0.85 "crosshair alpha value to display when wielding the nex gun"
81 seta crosshair_nex_size 0.65 "crosshair size when wielding the nex gun"
82 seta crosshair_hagar "" "crosshair to display when wielding the hagar"
83 seta crosshair_hagar_color "0.85 0.5 0.35" "crosshair color to display when wielding the hagar"
84 seta crosshair_hagar_alpha 1 "crosshair alpha value to display when wielding the hagar"
85 seta crosshair_hagar_size 0.8 "crosshair size when wielding the hagar"
86 seta crosshair_rocketlauncher "" "crosshair to display when wielding the rocketlauncher"
87 seta crosshair_rocketlauncher_color "1 0.75 0.2" "crosshair color to display when wielding the rocketlauncher"
88 seta crosshair_rocketlauncher_alpha 1 "crosshair alpha value to display when wielding the rocketlauncher"
89 seta crosshair_rocketlauncher_size 0.5875 "crosshair size when wielding the rocketlauncher"
90 seta crosshair_porto "" "crosshair to display when wielding the porto"
91 seta crosshair_porto_color "0.5 1 0.5" "crosshair color to display when wielding the porto"
92 seta crosshair_porto_alpha 0.85 "crosshair alpha value to display when wielding the porto"
93 seta crosshair_porto_size 0.6 "crosshair size when wielding the porto"
94 seta crosshair_minstanex "" "crosshair to display when wielding the minstanex gun"
95 seta crosshair_minstanex_color "0.65 0.65 1" "crosshair color to display when wielding the minstanex gun"
96 seta crosshair_minstanex_alpha 1 "crosshair alpha value to display when wielding the minstanex gun"
97 seta crosshair_minstanex_size 0.4 "crosshair size when wielding the minstanex gun"
98 seta crosshair_hook "" "crosshair to display when wielding the hook"
99 seta crosshair_hook_color "0.65 1 0.85" "crosshair color to display when wielding the hook"
100 seta crosshair_hook_alpha 0.85 "crosshair alpha value to display when wielding the hook"
101 seta crosshair_hook_size 0.5 "crosshair size when wielding the hook"
102 seta crosshair_hlac "" "crosshair to display when wielding the H.L.A.C"
103 seta crosshair_hlac_color "1 0.65 0.2" "crosshair color to display when wielding the H.L.A.C."
104 seta crosshair_hlac_alpha 1 "crosshair alpha value to display when wielding the H.L.A.C."
105 seta crosshair_hlac_size 0.6 "crosshair size when wielding the H.L.A.C."
106 seta crosshair_seeker "" "crosshair to display when wielding the TAG Seeker"
107 seta crosshair_seeker_color "1 0.35 0.35" "crosshair color to display when wielding the TAG seeker"
108 seta crosshair_seeker_alpha 0.9 "crosshair alpha value to display when wielding the TAG seeker"
109 seta crosshair_seeker_size 0.8 "crosshair size when wielding the TAG seeker"
110 seta crosshair_rifle "" "crosshair to display when wielding the rifle"
111 seta crosshair_rifle_color "0.85 0.5 0.25" "crosshair color to display when wielding the rifle"
112 seta crosshair_rifle_alpha 1 "crosshair alpha value to display when wielding the rifle"
113 seta crosshair_rifle_size 0.5 "crosshair size when wielding the rifle"
114 seta crosshair_tuba "" "crosshair to display when wielding the tuba"
115 seta crosshair_tuba_color "0.85 0.5 0.25" "crosshair color to display when wielding the tuba"
116 seta crosshair_tuba_alpha 1 "crosshair alpha value to display when wielding the tuba"
117 seta crosshair_tuba_size 1 "crosshair size when wielding the tuba"
118 seta crosshair_fireball "" "crosshair to display when wielding the fireball"
119 seta crosshair_fireball_color "0.2 1.0 0.2" "crosshair color to display when wielding the fireball"
120 seta crosshair_fireball_alpha 1 "crosshair alpha value to display when wielding the fireball"
121 seta crosshair_fireball_size 1 "crosshair size when wielding the fireball"
124 // =========================
125 // Crosshair ring settings
126 // =========================
128 // ring around crosshair, used for various purposes (such as indicating bullets left in clip, nex charge)
129 seta crosshair_ring 1 "main cvar to enable or disable normal crosshair rings"
130 seta crosshair_ring_inner 0 "allow inner rings to be drawn too"
131 seta crosshair_ring_size 2 "ring size"
132 seta crosshair_ring_alpha 0.2 "ring alpha"
135 seta crosshair_ring_nex 1 "draw a ring showing the current charge of the nexgun"
136 seta crosshair_ring_nex_alpha 0.15
137 seta crosshair_ring_nex_inner_alpha 0.15
138 seta crosshair_ring_nex_inner_color_red 0.8
139 seta crosshair_ring_nex_inner_color_green 0
140 seta crosshair_ring_nex_inner_color_blue 0
141 seta crosshair_ring_nex_currentcharge_scale 30
142 seta crosshair_ring_nex_currentcharge_movingavg_rate 0.05
145 seta crosshair_ring_minelayer 1
146 seta crosshair_ring_minelayer_alpha 0.15
149 seta crosshair_ring_hagar 1
150 seta crosshair_ring_hagar_alpha 0.15
153 seta crosshair_ring_reload 1 "main cvar to enable or disable ammo crosshair rings"
154 seta crosshair_ring_reload_size 2.5 "reload ring size"
155 seta crosshair_ring_reload_alpha 0.2 "reload ring alpha"