Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
[READ DESCRIPTION] Colorable TLOU Crosshair
   
Award
Favorite
Favorited
Unfavorite
Game Content: UI
File Size
Posted
Updated
43.185 KB
4 Apr @ 11:52pm
12 Apr @ 12:25am
2 Change Notes ( view )

Subscribe to download
[READ DESCRIPTION] Colorable TLOU Crosshair

Description
CUSTOM CROSSHAIR COMPATIBLE HUD REQUIRED
Specifically, requires any mod loading materials\vgui\gfx\vgui\defaultweapon.vmt for a custom crosshair.
Example: https://steamproxy.com/sharedfiles/filedetails/?id=2988318304

Please report if there're issues with other resolutions than 2k. You can judge from the screenshots that it works fine with 2K resolution, but I'm not sure about other ones.

Introduction
I made this simply for having found no other mods with a feature like this. Additionally, this also plays as an experimental creation in my process of exploring material proxies.

About how I made the features - simple as ever, just using material proxies (so it works on dedicated servers). As long as you know how to, you can extract the VMT and use it for any static crosshair texture you like. Feel free to adopt/edit my VMT.

Modify the color via the following three convars:

- cl_crosshair_red
- cl_crosshair_green
- cl_crosshair_blue

Google these convars if unfamilar with them.

These convars are for the default crosshair, therefore the color of the custom crosshair will be consistent with the default one, which means this mod's compatible with stuff like https://steamproxy.com/sharedfiles/filedetails/?id=226805655

Color's not 100% accurate, the difference is imperceptible though.

Also supports transparency control now, modify the value of cl_show_path to adjust.
The value for this single convar must be between 0 and 1, instead of 0 and 255.

Extra feature: crosshair is only visible when playing as a survivor.

Type cl_crosshair_alpha 0 or crosshair 0 in the console to set the default crosshair hidden. Recommend using the previous one.

Coloring is disabled if cl_colorblind is set to 1 or higher, since those who play with the convar may not need a colored crosshair.

Credits
13 Comments
Onger 14 Nov @ 4:35pm 
期待大佬研究
凶兆的黑猫  [author] 14 Nov @ 4:33pm 
理论上可以使用Sine代理做一个色相与游戏时间的周期函数(H=f(t)),但我还没实际测试过
Onger 14 Nov @ 4:29pm 
请问能实现游戏内的动态RGB的准星吗(类似下方链接效果)?而不仅是单一颜色。:steamhappy:
[ https://steamproxy.com/sharedfiles/filedetails/?id=2988484113&searchtext=crosshair ]
Onger 14 Nov @ 4:25pm 
谢谢作者大佬,我自己尝试改了个在用着了。支持!!!!
凶兆的黑猫  [author] 14 Nov @ 9:25am 
大概率是使用的res文件问题
哈基米南北绿豆 14 Nov @ 9:21am 
为啥感觉有点歪
凶兆的黑猫  [author] 1 Oct @ 8:56pm 
@Onger 可以选一个MOD发我,我帮你改好
Onger 1 Oct @ 8:20pm 
求小十字准星或类csgo那种的准星
凶兆的黑猫  [author] 7 Sep @ 1:15am 
Note: found a way to use custom client-side convars, although not intending to apply.
(^^^) Xeno 2 May @ 1:13am 
Well that's alright if its not possible.