Changing crosshair color ?

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    Logging in with you Steam ID has now been restored ♥

    • Changing crosshair color ?

      In the MOD era, there were commands to change the crosshair colors: crosshair_color_red (value 0..255) etc. These do not work since the Steam version release. Crosshair visibility with the dirty-orange color is very low on some scenes, and changing the color to bright green helped immensely. Is there a way to do this now? I have looked through the CVARS and found nothing.
    • It takes a bit more work than simply setting a convar, but this procedure should work:
      1. Set up a custom folder.
      2. Using GCFScape, extract the files "resource\clientscheme.res" and "scripts\hudlayout.res" from "Black Mesa\bms\bms_misc_dir.vpk" and place them into the custom folder. For example, the folder structure might look like this:

        Source Code

        1. C:\Program Files (x86)\Steam\steamapps\common\Black Mesa\bms\custom
        2. └───crosshairmod
        3. ├───resource
        4. │ clientscheme.res
        5. └───scripts
        6. hudlayout.res
      3. Open "scripts\hudlayout.res" in a text editor and locate this block:

        Source Code: hudlayout.res

        1. ...
        2. CHudCrosshair
        3. {
        4. "fieldName" "CHudCrosshair"
        5. "textAlignment" "center"
        6. "paintbackground" "0"
        7. "brighttext" "1"
        8. "centerwrap" "1"
        9. "CrosshairColor" "OrangeBright"
        10. }
        11. ...
        Display All
      4. Change the "CrosshairColor" from "OrangeBright" to one of the predefined colors in "resource\clientscheme.res", for example "GreenBright", or edit to add your own custom color definition:

        Source Code: clientscheme.res

        1. ...
        2. Colors
        3. {
        4. // base colors
        5. "Orange" "255 176 0 160"
        6. "OrangeDark" "255 176 0 42"
        7. "OrangeDim" "255 176 0 110"
        8. "OrangeBright" "255 176 0 255"
        9. "LightOrange" "188 112 0 128"
        10. "FadedBGColor" "0 0 0 255"
        11. "OrangeDarker" "255 176 0 20"
        12. "OrangeDarkest" "255 176 0 8"
        13. "Green" "28 192 0 140"
        14. "GreenBright" "28 192 0 255"
        15. "GreenDark" "28 192 0 42"
        16. "Red" "192 28 0 140"
        17. "RedBright" "255 28 0 255"
        18. "RedDark" "255 28 0 42"
        19. "Black" "0 0 0 196"
        20. "TransparentBlack" "0 0 0 196"
        21. "TransparentLightBlack" "0 0 0 90"
        22. "Blank" "0 0 0 0"
        23. "ForTesting" "255 0 0 32"
        24. "ForTesting_Magenta" "255 0 255 255"
        25. "ForTesting_MagentaDim" "255 0 255 120"
        26. }
        27. ...
        Display All

      The post was edited 2 times, last by Flavrans: Typos. ().