Left 4 Dead 2

Left 4 Dead 2

Pistol Laser VScript
52 commenti
悄悄 14 mag, ore 16:13 
手枪加镭射,不会显示出来也看不到激光,但实际上是起效的,准心和弹道偏移明显变小
toolazy 24 mar, ore 3:20 
could this apply to deagle only?
ツ Sergio ツ 9 feb, ore 3:26 
Bro already spend so much time coding, he won't spend more time making a proper preview GIF/Picture. 🤣
MaskedDragon 5 feb, ore 14:21 
Been looking for something like this. Thanks.
Andrei12Novikov 31 dic 2024, ore 13:37 
no sirve
Fiendzy 23 dic 2024, ore 5:38 
could you have a separate version that doesn't effect the deagle? there is little to no reason using the pistols(s) on expert; especially realism. while the deagle can not only pierce targets and secure good kills. i would like the pistols to have the ability to shine a little bit more;

so far though this pairs nicely with the break melees script and the [hard-mode] ammo swapper mod to encourage weapon swapping
R󠀡F  [autore] 11 nov 2024, ore 21:03 
I already tried adding upgrade ammo to pistols, doesn't work.
Sn4ck 11 nov 2024, ore 19:11 
would have been cool to be able to add explosive ammo to the secondary, is that possible with mods or no?
Sn4ck 11 nov 2024, ore 19:05 
you right, thanks man, take my points
R󠀡F  [autore] 11 nov 2024, ore 18:54 
Either way, you need to pick up the laser from actual laser box spawn, commands will not work.
Sn4ck 11 nov 2024, ore 18:47 
doesn't work :( I tried restarting and everything, the only mod I found that works is the Secondary Rebalance: https://sp.zhabite.com/sharedfiles/filedetails/?id=545523126

But it just makes deagle the primary, which is nice coz I can add laser sight and use upgraded ammo packs but I wanna use magnum with awp or ak for those flashy quick weapon switch zombie kills
R󠀡F  [autore] 11 nov 2024, ore 18:35 
Try using "ent_create upgrade_laser_sight" instead.
Sn4ck 11 nov 2024, ore 18:24 
hey :) doesn't seem to work? tried using sv_cheats and the "upgrade_add LASER_SIGHT" command, no added accuracy, any solutions on how i can fix? thanks
EM7HydraFox 2 nov 2024, ore 7:32 
Really? The latter is just getting the laser upgrade in a chapter then going to the next one and dying to some SI spawn bullsh!t, doneso by just getting lucky with a laser sight spawn (or using mods that adds deployable laser sights) and using before dying in a later chapter.
R󠀡F  [autore] 2 nov 2024, ore 6:56 
Im unable to replicate either issue.
EM7HydraFox 2 nov 2024, ore 6:15 
Mod's effect persist even after unsubbing. Not really a problem but it can be for others (previous panic was wack/managed to fix my issue somehow).
One quirky thing though is that if you were to die/lose after getting your laser pistol your laser upgrade will be lost upon chapter restart even if you obtained said upgrade the previous chapter.
R󠀡F  [autore] 11 ott 2024, ore 21:14 
Never had issues when it comes to unsubbing so i cant help.
風鈴 11 ott 2024, ore 20:36 
I don't know why I cancelled this mod, but its effect is still there. Do you know what the problem is
Xenorvya 21 giu 2024, ore 12:42 
V Yeah, obviously. It would be annoying if people just joined online lobbies and their mods changed the way the game worked for them only.
Danny 24 mag 2024, ore 7:46 
It doesn't even run in online session...
It is either Singleplayer or Local with friends... so, no.
A2 16 mag 2024, ore 21:56 
I am kind of new to modding, will this get you banned if you play in an online session?
R󠀡F  [autore] 9 apr 2024, ore 1:05 
Only on world model.
multoman 9 apr 2024, ore 1:00 
wait so if u have a pistol remodel that has its flashlight support laser will the visible laser show?
MG.Rogers 25 gen 2024, ore 2:39 
Speed Racer 4 gen 2024, ore 20:06 
@Pluvillion
You have a link to it?
Pluvillion 4 gen 2024, ore 19:37 
kurochama's ESB mod also allows to grab laser sights for the pistols. What's more is that dropping said pistol would actually have laser sights attached to its worldmodel, but will disappear if grabbed by a survivor. Source engine jank.
Speed Racer 28 dic 2023, ore 20:43 
Nevermind, just checked the comments and that mod had the pistol go into primary so yeah.
Speed Racer 28 dic 2023, ore 20:40 
Weirdly enough, another pistol laser sight mod has the laser show visually. Not sure if it was edited tho.
Here.
https://sp.zhabite.com/sharedfiles/filedetails/?id=325919410
Random Mercerency 17 dic 2023, ore 21:19 
dam any way to make the laser visible like it was in the beta? should be a way to restore it imho :/
Doc903 27 nov 2023, ore 18:04 
Oh, Left 4 Bots has it? Alright, I'll check that out, since I'm subbed to that.
R󠀡F  [autore] 27 nov 2023, ore 17:57 
You can use Admin System cvars.txt or Left 4 Bots convars.txt to change it.
Doc903 27 nov 2023, ore 17:35 
Do I need cheats to do that, or no? Or is there a way to set it up in the launch options where it automatically applies?
R󠀡F  [autore] 27 nov 2023, ore 16:44 
Just change "ammo_pistol_max" cvar...
Doc903 27 nov 2023, ore 15:22 
Would you be able to make a standalone script that limits the reserve ammo for pistols, instead of them being infinite?
R󠀡F  [autore] 18 nov 2023, ore 18:11 
It should.
Zay Zay 17 nov 2023, ore 21:31 
does this work with mods that change the script of the pistols?
I STAPLE TAPEWORMS ON MY 14 nov 2023, ore 9:11 
ok thankss
R󠀡F  [autore] 14 nov 2023, ore 2:18 
both
I STAPLE TAPEWORMS ON MY 13 nov 2023, ore 21:30 
does picking up the laser sights now give them to both of your guns or only the one thats currently out?
7ᴇᴍᴘᴇsᴛᴲ 12 ott 2023, ore 10:19 
😭
R󠀡F  [autore] 12 ott 2023, ore 9:11 
Then you get 2x less false hit sounds.
7ᴇᴍᴘᴇsᴛᴲ 12 ott 2023, ore 8:52 
what if you attach laser on melee
R󠀡F  [autore] 12 ott 2023, ore 6:34 
It should.
Sasha Pines (no brain) 11 ott 2023, ore 22:14 
another weird question do you lose laser sight if you revive or switch gun tho like if i swap to pistol get laser sight then swap to magnum does the pistol i leave there still have the laser sight
MichaelFennec409 2 ott 2023, ore 15:19 
FINALLY
R󠀡F  [autore] 10 set 2023, ore 1:56 
When you pick up a laser your pistol becomes more accurate, like how it works on other guns.
川久晴彦 10 set 2023, ore 1:31 
so how to use this mod?is there a specific pistol mods?
Sasha Pines (no brain) 7 set 2023, ore 19:15 
@川久晴彦 because vanilla game pistol dont have this function come with it
川久晴彦 5 set 2023, ore 6:39 
why i cant see it?
Black Wolf 2 set 2023, ore 14:37 
10/10 thumbnail as per usual RF! <3