Left 4 Dead 2

Left 4 Dead 2

UI - [Crosshairs] Polymorphic Crosshairs
33 Comments
kouga 1 Nov @ 5:51pm 
btw @ᴄɪᴛʀᴜꜱɪꜱ i managed to figure it out. changing the resolution was as simple as upscaling the original melee crosshair vtf and following the proper positioning it has.
el_noobaso 31 Oct @ 5:06pm 
When I try to use the crosshair in versus mode, the new melee and stamina recharge icons appear, but the pointer doesn't. Can anyone help me? 🙏😭
kouga 27 Sep @ 10:37pm 
ah yeah, im aware of the server thing. to me its still worth it so i guess ill have to experiment further, if i find a better way ill get back to you
ᴄɪᴛʀᴜꜱɪꜱ  [author] 27 Sep @ 9:31pm 
@kouga Nice work bro, but it doesn't work for me after several tries. And i'm afraid editing these scripts wont work on server either even if it would work. Since many servers have changed them too.:steambored:
kouga 27 Sep @ 7:53pm 
i could still be wrong, but feel free to experiment
kouga 27 Sep @ 7:49pm 
@ᴄɪᴛʀᴜꜱɪꜱ, i think i now have a hunch how to change the crosshair positions and scale. it requires manually changing the weapon scripts (weapon_adrenaline.txt, weapon_pistol.txt, etc)
there is a field in those scripts that say:

"crosshair"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}

xy params dictate coordinates, width and height dictate the crop. changing the file param is also possible. i only recently discovered this method because i wanted to make my pistols show the ammo icon (because i made them move to the primary gun slot)
J0BEM 19 Aug @ 1:29pm 
Best crosshair ever!
A_R 2 Aug @ 9:40pm 
请问大佬能制作一个半径大1-2像素的原点准星吗?非常喜欢这款Mod,但是混战中绿色小圆点总是看不清。:steamhappy:
kouga 30 Jul @ 7:19pm 
@ᴄɪᴛʀᴜꜱɪꜱ
i believe in you! also, not being able to scale is sad news 😣 but its alright
ᴄɪᴛʀᴜꜱɪꜱ  [author] 30 Jul @ 7:00pm 
@kouga Just...give a few more tries. Im afraid that the crosshair location in this image is hard-coded in the game. So my solution is to keep trying until they meet the center place.
And, if you want to scale the image to have a bertter clarity. I've tried it but failed.
kouga 30 Jul @ 5:39pm 
@ᴄɪᴛʀᴜꜱɪꜱ ah yes i understand. but how specifically does the game know which coordinate of the vtf to use? the crosshairs resolution is way smaller than the custom crosshair i created, so i will have to resize the file in order to fit my creation there. but im afraid if i try so that it will cause an error or fail to capture the right icon. that is what i meant with my initial question

thank you!
ᴄɪᴛʀᴜꜱɪꜱ  [author] 30 Jul @ 2:28pm 
@kouga The crosshairs of infected and melees are in "materials\sprites\crosshairs.vtf"
btw I delected other crosshairs in this file cause I didn't find anywhere they are used:espresso:
kouga 30 Jul @ 11:07am 
hey there @ᴄɪᴛʀᴜꜱɪꜱ ! I was wondering how exactly you managed to make the crosshairs change when using melee and being infected? i took a look at the files to try and make my own, but i dont think i understood which file exactly is making the crosshairs change. could you help me out?
Zurc 30 Jun @ 5:30pm 
good :steamthumbsup:
RedExtremeX 15 May @ 6:58pm 
very good
泰瑞 Terry 20 Apr @ 1:29am 
有了這個雷射瞄準器變多餘:steamhappy:
ᴄɪᴛʀᴜꜱɪꜱ  [author] 21 Mar @ 8:03pm 
因为有的mod准星支持就是歪的,你可以试着去itempickup.res里找到defaultweapon那栏然后自己改
い†AuTumn 21 Mar @ 1:53pm 
作者,为啥我用的时候准星是歪的:steamsad:
ᴄɪᴛʀᴜꜱɪꜱ  [author] 19 Feb @ 4:12pm 
Im afraid there isn't:sadfriend:
< blank > 19 Feb @ 4:56am 
The disappointing thing is that even after I've died, this crosshair still appears. Is there no way to prevent the crosshair from showing up when I'm dead?
yuki.exe 17 Feb @ 1:42am 
Thanks author. Looking forward to the release of Polymorphic HUD. :steamthis:
ᴄɪᴛʀᴜꜱɪꜱ  [author] 17 Feb @ 1:03am 
Glad you solved the problem:steamthumbsup:
yuki.exe 16 Feb @ 11:45pm 
I looked into the files, the mod has its own defautweapon.vtf file, so I just unpacked the mod and deleted the file, and now both addons work together.
yuki.exe 16 Feb @ 8:41pm 
i checked the problem. the mod just fails to work in conjunction with this addon: https://steamproxy.com/sharedfiles/filedetails/?id=2974030821
yuki.exe 16 Feb @ 6:01pm 
im using default hud and even other huds even if i have custom crosshair support
yuki.exe 16 Feb @ 5:49pm 
currently testing the mod but its showing missing textures.
Interneted 16 Feb @ 5:37pm 
respect for using the game's crosshair.vtf as the background XD, also, I like your other add-ons, they're cute.
yuki.exe 16 Feb @ 12:02pm 
Well, all you need to do is download GCFScape, unpack this VPK, then separate the files, then use Left 4 Dead 2 Authoring Tools and use the vpk.exe to turn the separated file into a VPK, then just put it in your addons.
Black Wolf 16 Feb @ 11:58am 
you're assuming that i'm able to mod this game XD
ᴄɪᴛʀᴜꜱɪꜱ  [author] 16 Feb @ 11:57am 
Uh..no. You can separate it yourself :happyfriend:
Black Wolf 16 Feb @ 11:52am 
would it be possible to have each of them uploaded separately?
ᴄɪᴛʀᴜꜱɪꜱ  [author] 16 Feb @ 9:37am 
yeah of course
yuki.exe 16 Feb @ 3:30am 
Looks awesome. Are you planning on making a Polymorphic HUD and UI for Survivors and Infected to go along with this Crosshair?