Thread
:
[L4D2] Keep Laser Sights (v1.2, 2012 Jan 7)
View Single Post
dcx2
Senior Member
Join Date: Sep 2011
12-18-2011 , 13:11 Re: [L4D2] Keep Laser Sights
#
10
I'm double-posting to generate notification emails for anyone following this thread.
This has been updated to version 1.1. At this point I don't have the different "modes"; this is only an improvement on 1.0 which doesn't suffer from the "gun spawn spam glitch", and which allows the hint to be disabled.
I plan on adding modes later, but I figured I would post this now since I have tested it and it works.
I have tested dying, and the gun you drop keeps the laser sight. In fact, when you die and the weapon_drop event is called, you are still technically alive, but your health is <= 0. So if you're "dying" then I do not remove the laser sight.
I have tested the WeaponDrop SDK call. If you drop your laser sight gun, and you don't pick up a new one, it will put the laser sight back on the old gun.
The next version will support "permanent laser sights once found" and "permanent laser sights always" via a mode cvar.
dcx2
View Public Profile
Send a private message to dcx2
Find More Posts by dcx2