Advanced crosshair cvars: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Description of commands begining with cl_crosshair)
 
m (Nesciuse moved page Advanced crosshair cvars/en to Advanced crosshair cvars without leaving a redirect: Move en subpage to basepage)
 
(20 intermediate revisions by 8 users not shown)
Line 1: Line 1:
This [[console]] command has some sub commands that let you change your crosshair in console.
{{LanguageBar}}


'''cl_crosshair_file''' - Change the look of your crosshair. Selections could be the default, a circle, or more.
To use the advanced crosshair system, which became available on the initial engine update for [[DOD:S]], you should register the following console variables.


'''cl_crosshair_alpha''' - Change the opacity of your crosshair by entering a number between 0-255. 0 is transparent. 255 is completey opaque.
;cl_crosshair_file:Crosshair [[material]] [[string]]
 
;cl_crosshair_alpha:Alpha [[byte]]. 0 is transparent. 255 is completely opaque.
'''cl_crosshair_blue''' - Change the blue hue of your crosshair by entering a number between 0 - 255.
;cl_crosshair_red:Red [[byte]]
 
;cl_crosshair_green:Green [[byte]]
'''cl_crosshair_green''' - Change the green hue of your crosshair by entering a number between 0 - 255.
;cl_crosshair_blue:Blue [[byte]]
 
;cl_crosshair_scale:Recommended to be set to a [[real]] from 1 to 20.
'''cl_crosshair_red''' - Change the red hue of your crosshair by entering a number between 0 - 255.
[[Category:Lists of console commands and variables]]
 
'''cl_crosshair_scale''' - Change the scale of your crosshair by entering a number between 1 - as high as you want. (''Reccomended: between  1 - 20'')
 
 
 
== Sample Values ==
 
''cl_crosshair_alpha 255''
 
''cl_crosshair_blue 255''
 
''cl_crosshair_file crosshair3''
 
''cl_crosshair_green 255''
 
''cl_crosshair_red 255''
 
''cl_crosshair_scale 9''

Latest revision as of 04:07, 12 July 2024

English (en)Русский (ru)Translate (Translate)

To use the advanced crosshair system, which became available on the initial engine update for DOD:S, you should register the following console variables.

cl_crosshair_file
Crosshair material string
cl_crosshair_alpha
Alpha byte. 0 is transparent. 255 is completely opaque.
cl_crosshair_red
Red byte
cl_crosshair_green
Green byte
cl_crosshair_blue
Blue byte
cl_crosshair_scale
Recommended to be set to a real from 1 to 20.