CS:GO Changing X Ray color - advancedfx/advancedfx GitHub Wiki
Examples
Changing colors
// This config shows how to map the x-ray glow colors using an blast.afxlut file (can be generated in Tools -> ColorLookupTables).
// The death notification colors and the overhead id colors need to be changed by customizing PanoramaUI / game files instead!
mirv_streams actions add glowColorMap blastGlow
mirv_streams actions edit blastGlow load "C:\Users\Dominik\Desktop\blast.afxlut" // update this path to yours.
mirv_streams actions edit blastGlow normalize 1 // Needs HLAE 2.110.0 or a newer version.
mirv_streams add baseFx blast
mirv_streams edit blast forceBuildingCubeMaps 0
mirv_streams edit blast doBloomAndToneMapping 1
mirv_streams edit blast doDepthOfField 1
mirv_streams edit blast actionFilter clear // Just in case someone execs this cfg multiple times (We don't want the list to grow larger and larger!)
mirv_streams edit blast actionFilter add "__utilwireframe" blastGlow
mirv_streams edit blast actionFilter add "__utilwireframeignorez" blastGlow
mirv_streams edit blast actionFilter add "__utilvertexcolor" blastGlow
mirv_streams edit blast actionFilter add "__utilvertexcolorignorez" blastGlow
mirv_streams edit blast actionFilter add "dev/glow_color" blastGlow
mirv_streams preview blast
mirv_fix selectedPlayerGlow 0 // disable glowing of selected player.
glow_outline_width 3 // It's recommended to lower glow_outline_width from 6 to 3.
Glow/xray only on the spectated player
Needs HLAE 2.110.0 or newer!
Generate the following Vornoi color lookup table for example.afxlut (copy and use paste button on first tab of Dialogue in Tools -> ColorLookupTables):
224 175 86 0 T 0 0 0 0 2
224 175 86 255 T 0 0 0 0 2
144 155 221 0 CT 0 0 0 0 2
144 155 221 255 CT 0 0 0 0 2
169 165 154 0 T/CT neutral 0 0 0 0 1
169 165 154 255 T/CT neutral 0 0 0 0 1
230 128 0 0 T Ziel 0 0 0 0 2
230 128 0 255 T Ziel 0 0 0 0 2
0 120 240 0 CT Ziel 0 0 0 0 2
0 120 240 255 CT Ziel 0 0 0 0 2
115 124 120 0 T/CT Ziel neutral 0 0 0 0 1
115 124 120 255 T/CT Ziel neutral 0 0 0 0 1
0 0 0 0 0 0 0 0 1
0 0 0 255 0 0 0 255 1
0 0 255 0 0 0 0 0 1
0 0 255 255 0 0 0 0 1
0 255 0 0 0 0 0 0 1
0 255 0 255 0 0 0 0 1
0 255 255 0 0 0 0 0 1
0 255 255 255 0 0 0 0 1
255 0 0 0 0 0 0 0 1
255 0 0 255 0 0 0 0 1
255 0 255 0 0 0 0 0 1
255 0 255 255 0 0 0 0 1
255 255 0 0 0 0 0 0 1
255 255 0 255 0 0 0 0 1
255 255 255 0 0 255 0 0 1
255 255 255 255 0 255 0 255 1
And use the following cfg:
mirv_streams actions add glowColorMap exampleGlow
mirv_streams actions edit exampleGlow load "C:\Users\Dominik\Desktop\mmcfg\example.afxlut" // update this path to yours.
mirv_streams actions edit exampleGlow normalize 1
mirv_streams add baseFx example
mirv_streams edit example actionFilter clear
mirv_streams edit example forceBuildingCubeMaps 0
mirv_streams edit example doBloomAndToneMapping 1
mirv_streams edit example doDepthOfField 1
mirv_streams edit example actionFilter clear // Just in case someone execs this cfg multiple times (We don't want the list to grow larger and larger!)
mirv_streams edit example actionFilter add "__utilwireframe" exampleGlow
mirv_streams edit example actionFilter add "__utilwireframeignorez" exampleGlow
mirv_streams edit example actionFilter add "__utilvertexcolor" exampleGlow
mirv_streams edit example actionFilter add "__utilvertexcolorignorez" exampleGlow
mirv_streams edit example actionFilter add "dev/glow_color" exampleGlow
mirv_streams preview example
mirv_fix selectedPlayerGlow 2 // Force glowing of selected player.
spec_glow_silent_factor 1 // Always glow.
glow_outline_width 20 // Big outline
Edit Panorama UI / other game files
- See How to change Panorama UI.
- File for death notification colors in panoramaUI is huddeathnotices.css
- The over head names are controlled by Panorama UI in styles\hud\hudreticle.css, (see .playerid--team-(c)t related CSS selectors there)" , also add CSS for playerid__name:
.playerid--team-t .playerid__name {
color:#ffffff !important;
wash-color-fast: #ffffff !important;
}
.playerid--team-ct .playerid__name {
color:#ffffff !important;
wash-color-fast: #ffffff !important;
}
- You also need to update
Panorama_HUD_playerid_overhead_ct*
/Panorama_HUD_playerid_overhead_t*
inC:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\resource\csgo_english.txt
or the language that applies.