Left 4 Dead 2

Left 4 Dead 2

Scope on All Guns
171 Comments
kurochama  [author] 13 hours ago 
@ 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 14 hours ago 
@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!
Faith Over Science 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.
Wero !!! 7 Feb @ 2:42pm 
is it possible to zoom out ?
kurochama  [author] 31 Jan @ 6:04pm 
@Wero !!! , change the value of "Scope Zoom Mode". You can read the feature info on the cfg file for more details.
Wero !!! 31 Jan @ 5:16pm 
I wanted to know how to change the zoom to once
kurochama  [author] 13 Jan @ 9:35am 
@MAXMAXMAX 2 , check your steam folder location in "Steam\steamapps\common\Left 4 Dead 2\left4dead2\ems".
Max1n3 13 Jan @ 7:04am 
How can I find the "scope on all guns.cfg.txt" file ???
Doc903 25 Dec, 2024 @ 6:58pm 
Then edit your "autoexec", with a line of text saying "exec tpzoom", and make sure tpzoom is in your cfg folder: steamapps>common>Left 4 Dead 2>left4dead2>cfg
Doc903 25 Dec, 2024 @ 6:56pm 
@something something house
This can be done by binding both you "zoom" and "walk" buttons to the same key. I have a similar setup in my WWZ aiming guide, but with FOV tricks.

To bind it with kuros, make you a new .txt file, and save it as a .cfg, using Notepad++.

Then, copy and paste this into your new .cfg document"

alias +tpzoom "+speed; +scope"
alias -tpzoom "-speed; -scope"

bind [key] "+tpzoom

This should cause your character to walk when you aim in thirdperson.
something something house 24 Dec, 2024 @ 7:43pm 
would be cool if you can make the survivors use the default walk anim instead of the run animation for when you scope in 3rd person
Izuki 23 Dec, 2024 @ 2:50am 
could you make a version where there is a scope on the hud?
kurochama  [author] 18 Nov, 2024 @ 6:06am 
@Doc903 , unfortunately I still can't find the netprops to show sniper zoom view during scope mode. I think I ever saw a mod about sg552 with sniper zoom view but I lost trace of it. Probably there's a clue on that mod about how to add sniper zoom view.
Doc903 17 Nov, 2024 @ 12:48pm 
I just thought of something awesome... if you could somehow figure out how to add overlays to the zoom, you could totally put the Halo scope-in reticle to let players using halo weapons have a more accurate scope.
BiL 10 Nov, 2024 @ 3:56am 
@kurochama Oh thank you so much, I loved the mod you created. Brilliant and creative.
kurochama  [author] 10 Nov, 2024 @ 3:50am 
@BiL , you can check the feature info on the cfg file. One of features there controls how many zoom modes you can use. I included info there, so people know the functions of each feature.
BiL 10 Nov, 2024 @ 3:39am 
How do I change the .Cfg code to leave only 1 zoom?
lasercatattack7 10 Oct, 2024 @ 8:12pm 
thank you so much for making this mod
kurochama  [author] 9 Oct, 2024 @ 9:33am 
@人类雌穴 , I haven't found the netprops to make the scope smoother yet. Probably I'll add it later when I find it.
人类雌穴 9 Oct, 2024 @ 8:26am 
When the key is pressed, the zoom happens instantly. Can it be made to zoom in smoothly instead?
kanadianborn 3 Oct, 2024 @ 8:44am 
read the description it fr just tells how to do it