]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - crosshairs.cfg
If no supported gamemodes are available, fall back to a randomly selected preferred...
[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.8
10 seta crosshair_size 0.4
11
12 // crosshair dot settings
13 seta crosshair_dot 0
14 seta crosshair_dot_alpha 1
15 seta crosshair_dot_size 0.6
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 and _scale cvars"
36 seta crosshair_hittest_blur_teammate 0 "blur the crosshair if the shot is obstructed by a teammate"
37 seta crosshair_hittest_blur_wall 1 "blur the crosshair if the shot is obstructed by a wall or object"
38 seta crosshair_hittest_scale 1.25 "shrink crosshair if shot is obstructed or aiming at a teammate"
39 seta crosshair_hittest_showimpact 0 "move the crosshair to the actual impact location if obstructed (debug setting, very glitchy!)"
40
41 // change color based on special case
42 seta crosshair_color_special 1 "apply a special color for the crosshair: 1 = weapon color (see also crosshair_per_weapon), 2 = a color based on health and armor, 3 = rainbow/random color"
43 seta crosshair_color_special_rainbow_delay 0.1
44 seta crosshair_color_special_rainbow_brightness 20 "color brightness of the random crosshair colors"
45
46 // per-weapon crosshairs
47 seta crosshair_per_weapon 1     "when 1, each gun will display a different crosshair"
48
49 // side-scrolling crosshair
50 seta crosshair_2d 54 "selects crosshair to use in side-scrolling mode (\"\" uses regular crosshair and 0 is none)"
51
52 // third person chase-camera crosshair
53 seta crosshair_chase 1 "adjust the crosshair while in third person mode to where the shot will actually hit"
54 seta crosshair_chase_playeralpha 0.25 "opacity of the player while they obstruct the view when crosshair_chase is enabled, can be a value between 0 and 1"
55
56
57 // =========================
58 //  Crosshair ring settings
59 // =========================
60
61 // ring around crosshair, used for various purposes (such as indicating bullets left in clip, vortex charge)
62 seta crosshair_ring 1 "enable normal crosshair rings"
63 seta crosshair_ring_inner 0 "allow inner rings to be drawn too"
64 seta crosshair_ring_size 2      "ring size"
65 seta crosshair_ring_alpha 0.2   "ring alpha"
66
67 // vortex ring // WEAPONTODO: Make this part of the crosshair line in REGISTER_WEAPON
68 seta crosshair_ring_vortex 1 "draw a ring showing the current charge of the vortex"
69 seta crosshair_ring_vortex_alpha 0.15
70 seta crosshair_ring_vortex_inner_alpha 0.15
71 seta crosshair_ring_vortex_inner_color_red 0.8
72 seta crosshair_ring_vortex_inner_color_green 0
73 seta crosshair_ring_vortex_inner_color_blue 0
74 seta crosshair_ring_vortex_currentcharge_scale 30
75 seta crosshair_ring_vortex_currentcharge_movingavg_rate 0.05
76
77 // minelayer ring
78 seta crosshair_ring_minelayer 1 "draw a ring showing the current amount of layed mines"
79 seta crosshair_ring_minelayer_alpha 0.15
80
81 // hagar ring
82 seta crosshair_ring_hagar 1 "draw a ring showing the current charge of the hagar"
83 seta crosshair_ring_hagar_alpha 0.15
84
85 // arc ring
86 seta crosshair_ring_arc 1 "draw a ring showing arc's overheating"
87 seta crosshair_ring_arc_hot_color "1 0 0"
88 seta crosshair_ring_arc_cold_alpha 0.2
89 seta crosshair_ring_arc_hot_alpha 0.5
90
91 // reload ring
92 seta crosshair_ring_reload 1 "enable ammo crosshair rings"
93 seta crosshair_ring_reload_size 2.5     "reload ring size"
94 seta crosshair_ring_reload_alpha 0.2    "reload ring alpha"