Left 4 Dead 2

Left 4 Dead 2

Scope on All Guns
189 Comments
Airuz 12 Oct @ 8:11am 
yeah, mode 5 was single zoom but for Sg552 zoom only, i'm personally need the single zoom but for "slightly farther than sniper zoom"
kurochama  [author] 12 Oct @ 4:57am 
@ Airuz , for the zoom type that zooms when holding Zoom button & releases zoom when releasing Zoom button, that's already available when you set "Scope Zoom Mode" to 5.
Airuz 12 Oct @ 4:14am 
ah, can we have an update and sperated how much zoom we can select, and what level it would be
like
`ScopeZoomLevel = 1` (sg552 zoom)
`ScopeZoomLevel = 2` (sniper zoom)
`ScopeZoomLevel = 3` (slightly farther than sniper zoom)

`ScopeZoomMode = 1` (only zoom single times)
`ScopeZoomMode = 1.5` (only zoom single times and back normal when release)
`ScopeZoomMode = 2` (only zoom twice times)
`ScopeZoomMode = 2.5` (only zoom twice times and back normal when release)
`ScopeZoomMode = 3` (only zoom three times)
`ScopeZoomMode = 3.5` (only zoom three times and back normal when release)
`ScopeZoomMode = 4` (Continuation)
`ScopeZoomMode = 4.5` (Continuation and back normal when release)
Airuz 12 Oct @ 3:50am 
thank you^^
kurochama  [author] 11 Oct @ 9:45am 
@Airuz , check the "scope on all guns cfg.txt" cfg file. Change "Scope Zoom Mode" to 1.
Airuz 11 Oct @ 9:17am 
is there a way or command to make the zoom only once, but we can customize what zoom level we want?
like `!zoom_Set single 5`
no skill but still 9 Oct @ 10:46pm 
Thanks, that was it
kurochama  [author] 9 Oct @ 4:13pm 
@no skill but still , which file did you change? The file inside the vpk, or the cfg file? The scope mode should be able to be changed from the cfg file.
no skill but still 9 Oct @ 4:04pm 
The mod does what it says, but for the life of me, how do I switch the aiming mode? No matter what I change in the file, it stays the 3 modes (goal is to make it just the sg one). This ain't my first rodeo with vpk, but maybe I'm really missing something?
kurochama  [author] 7 Oct @ 5:07pm 
@Send_Me_Dem_Noots , that's weird because I haven't updated this more than one year, & no one except you reported about it. I suspected that one or some of your mods caused it to stop working, as it still works when I used it.
Send_Me_Dem_Noots 6 Oct @ 4:43pm 
Mod does not work 0/10
Running a Windows 11 PC
kurochama  [author] 14 Sep @ 12:47am 
@Poolsup (TH) , it also works on custom campaigns, as I often used this to play custom campaigns back then.
Poolsup (TH) 14 Sep @ 12:12am 
soon have bug on custom campaign? tell that?
kurochama  [author] 13 Sep @ 10:42pm 
@Poolsup (TH) , that's just for alternative zoom key in case if something happens to the zoom key. People rarely shoot while pressing tab.
Poolsup (TH) 13 Sep @ 9:25pm 
so why put tab key there is not better that i'look in scoreboard and i'firing my gun send zoom
Jakiy 8 Aug @ 12:24pm 
Thank you, it's really useful when pinpoint the aiming in high FOV. This will be a great alternative to Sourcemod's aimdown sights plugin except this support for all weapons. I wonder if it possible for other weapons to display the sniper scope when using this? It would give a bit of sense of ads and more focused than leaving it blank, only can see the bullet tracers. What do?
kouga 23 Jul @ 7:43am 
NVM It was scope mode 5
kouga 23 Jul @ 7:20am 
@kurochama, that makes sense i suppose, but for someone like me who uses only that mode where you hold scope to zoom and it disables laser accuracy (i think mode 5.5?), just having the zoom is more than enough. plus, its a good fit for my version of throwable melee so i wanted to ask.


i took a look at the script and was wondering if i could do something like the registering models system you did on attack speed modifier... could you elaborate more on how that works? wasnt sure if i could just directly insert it in "weapon_fire" on throwable melee. do i also need to include the part to make a cfg file for it?
kurochama  [author] 22 Jul @ 1:51pm 
@ TinyDix , that may require modifying the scripts related to "m_iFOV" netprops. I'm not familiar with some aim down sight plugin, so all I can say is, if you can connect the scripts for temporary laser sight with scripts from aim down sight, you can trigger temporary laser sight when in aim-down-sight state.

@ Kouga , actually I got the similar question lately on my "Merciless Bots" on gamemaps, & the reason why I didn't apply scope on items other than guns was because they're useless. For example, aiming with melee doesn't give any change other than zooming view, because melee accuracy is fixed. Grenades are also the same, as they also have fixed accuracy. If you're curious about where to change, you can try to search "weapon_melee" or "melee" on the vscript file, because I think melee is also one of items I excluded on this mod.
kouga 22 Jul @ 1:00pm 
@kurochama, actually....how do i tweak this so it applies to other weapons and items, not just guns? would be sick
TinyDix 13 Jul @ 11:20pm 
Is there a way to modify this mod to only include the temporary laser sight when aiming? I want to use this mod with the Aim Down Sight mod. Thanks!
Paranoid and Confused 12 Jul @ 4:25pm 
Muzzle flash does not appear when zooming
Lemon Nade 20 Jun @ 6:44am 
This... PEAK
AL: the.Useless.man 7 Jun @ 8:09am 
perfect thank you!
kurochama  [author] 7 Jun @ 8:08am 
@AL: the useless man , the cfg file is located in ".../Left 4 Dead 2/left4dead2/ems/". Find a folder of this mod, & the cfg file is inside. For the question no.1, yes, if you host a local server.
AL: the.Useless.man 7 Jun @ 7:44am 
1. if I edit it will the changes work for other players in co-op?
2. the cfg file, is it in the cfg folder or in the addons folder, or somewhere else?
kurochama  [author] 7 Jun @ 12:49am 
@AL: the useless man , you can set it manually via the cfg file. All settings on the cfg file are applied on each chapter/ round, so if you set the scope to only zoom once on the cfg, then it will be applied that way anytime you play.
AL: the.Useless.man 6 Jun @ 9:34pm 
can you make the default, scope in once. Instead of 5 times?
kouga 2 Jun @ 9:36pm 
@kurochama i see! well i do hope you end up figuring it out eventually. it would be an awesome addition to this mod. i wonder actually if chimichamo's FOV Chat Command functions the same way and that you might be able to take some clues from that?
Ellis 2 Jun @ 2:33pm 
Kurochama
Thanks for the reply I will try to find the the author RF like you suggested. I was giving it some thinking and it would be like riot zombies can only be killed from behind so there hit box is on their back. If a survivor had a invisible thing like a riot shield as a example on their back ,that did not effect zombies from attacking but only prevented survivors from passing through it.
However thanks for the reply once again.
kurochama  [author] 2 Jun @ 1:34pm 
@Ellis , thanks. I'm glad that you also like "Stay Away From My Crosshair :steamhappy: . As for preventing a bot from walking through, I think there's already a mod to prevent other survivors from walking through you. You can try to check an author named RF. I think the mod came from him, if I'm not mistaken.

@Kouga , unfortunately I still can't find a way to do that, as I'm still missing a clue about doing that via vscript. It's possible via console though, but it's client-side with "cl_".
kouga 2 Jun @ 10:04am 
is it possible to add an increased arm FOV when you zoom? it would look fantastic and give off an "aim down sights" feeling
Ellis 1 Jun @ 8:25am 
This is one of your GREATEST mods,it took me a while how too set it up in my ems.Once I did set it up in my ems I cannot imagine playing without it. However your Best mod would still be "Stay away from my cross hair" it is still my FAVOURITE.
I wish you would do a mod to prevent BOTS from walking through you from behind to prevent them from getting friendly fire.My push scale is default so I do not know if you could make a collision barrier directly behind the player just say a metre by a metre so bots can still approach you from the sides and front but not from directly behind and walk through you ?
kurochama  [author] 23 May @ 11:50pm 
@fish , check my "M203 Series" collection & look for ak47 with m203. This ak47 is equipped with scope. If you don't want to use the m203, just set the m203 value to 999999 so you can use the scope without having to use m203 on the ak47.
fish 23 May @ 8:29pm 
Is it possible to just add this to certain guns? For instance, if I just want to add a scope to the AK-47. It seems impossible just by editing the gun script, I'm wondering where I'd have to go to change that. Thanks for your hard work.
Hazel 29 Mar @ 8:43am 
hide crosshair option?
Harold44 (Sir Ivan) 11 Mar @ 7:34am 
Sounds Like Call of Duty Weapon Style.
[Proyecto&Alice] 27 Feb @ 3:18am 
I love your mod :) It's a miracle that we can aim any weapon. Keep up the good work, your creations are really cool.
I STAPLE TAPEWORMS ON MY 23 Feb @ 12:38pm 
oh im using it in third person. it works really well with it, besides the crosshair getting thrown off from the fov change
kurochama  [author] 23 Feb @ 12:25am 
@Wenda , I'm not sure about that, as that requires the weapon to be visible when aiming, but until now I still haven't found which netprops that can make the weapon visible during aiming. I think the crosshair already show effects (when using dynamic crosshair) when temporary laser sight is active during aiming.
I STAPLE TAPEWORMS ON MY 22 Feb @ 10:31pm 
could you add an option for the temp laser sight to be visible while aiming
kurochama  [author] 21 Feb @ 11:43am 
@inXsify , you can try values without decimals, like 1 & 5 instead of 1.5 & 5.5. Laser sight shouldn't disappear on values without decimals.
inXsify 21 Feb @ 11:00am 
@kurochama i tried it on 1.5 and 5.5 and laser sight still disappears when i zoom in. i looked to try to find if something was possibly conflicting...but couldnt find anything.
kurochama  [author] 20 Feb @ 12:14pm 
@inXsify , did you probably use the value in decimals (like, 1.5, 2.5 etc) that gets temporary laser sight? Afaik, the laser sight shouldn't disappear when zooming in on values without decimals (like 1, 2, 3 etc).
inXsify 20 Feb @ 11:21am 
I love this mod, my only critique is my laser sight disappears when i zoom in.
kurochama  [author] 11 Feb @ 12:02pm 
@Wero !!! , unfortunately that's still not available yet.
Wero !!! 11 Feb @ 10:28am 
Now I know how to ask the question correctly, I wish I could see the gun when I zoom in
kurochama  [author] 10 Feb @ 11:07am 
@Wero !!! , if it's about how to zoom only once instead of twice or three times, you can check the cfg file on "Scope Zoom Mode"
Wero !!! 10 Feb @ 9:32am 
Sorry, maybe Google Translate wrote it wrong, I meant to say that it makes the zoom weaker
kurochama  [author] 7 Feb @ 4:55pm 
@Wero !!! , press the Zoom key again to zoom out. Or, you can also shove/ jump/ reload to zoom out.