Raised This Month: $51 Target: $400
 12% 

[L4D1 & L4D2] Laser that never sucks (useful upgrades)


Post New Thread Reply   
 
Thread Tools Display Modes
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-01-2021 , 11:26   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #51

Updated.

Quote:
1.7.3 (01-Jun-2021)
- Added ConVar "l4d_upgrades_remove_dropped_laser" - to auto switch off laser on the dropped weapon (L4D2 only). (thanks to @dcx2 for code)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 06-01-2021 at 11:27.
Dragokas is offline
Voevoda
Senior Member
Join Date: Aug 2016
Old 06-02-2021 , 00:39   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #52

Quote:
Originally Posted by Dragokas View Post
Updated.

after command !drop laser remains

Last edited by Voevoda; 06-02-2021 at 00:40.
Voevoda is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-02-2021 , 04:14   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #53

!drop command is solely managed by plugin you use for !drop and cannot be handled by this plugin.

You have to ask the author of that plugin for optional removing uprade from dropped weapon or, better, to make CreateEvent() call with "weapon_drop", so other plugins could be able to process that.

I'm using own version of drop, and I don't have that behaviour (although, it support L4D2 partially only).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 06-02-2021 at 04:15.
Dragokas is offline
Sev
Veteran Member
Join Date: May 2010
Old 06-02-2021 , 13:52   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #54

Pretty solid, all we need now is for someone to turn around and give the accuracy upgrade for pistols and magnum since that's the best that can be done.
Sev is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-02-2021 , 14:09   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #55

Accuracy of weapons is regulated in its scripts - parameters "*Spread*".
In L4D1 - /scripts/weapon_pistol.txt
In L4D2 - I think could be done via Missions and Weapons Editor from Silvers.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 06-16-2021 , 08:28   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #56

Updated.

Quote:
1.7.4 (16-Jun-2021)
- Updated gamedata for L4D2 2.2.1.3.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Sev
Veteran Member
Join Date: May 2010
Old 07-21-2021 , 06:46   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #57

At all possible to have different color lasers?

I know different color lasers are available client side via the steam workshop. Just wondering if something like that could be added to this?
Sev is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-21-2021 , 10:50   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #58

That laser uses a particle. Particle has no color property.
It requires a custom particle. Than, 1) Register particle, 2) some low level way to reassign new particle to laser. If you have a custom particle, there is no public API at the moment to register such a new particle system from the server-side. Some attempts were made by gubka, but they was unseccessfull and he only cares CS:GO. There are some ways by design via manifest, but they are actually intended for map makers, no normal way to register globally from server-side without collision.
Alternative way - is to create own laser system. I proposed to do so to Внатуре using "env_laser" entity, but he said it is too complex, and the only thing he do with it, was: Laser Creator
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 07-21-2021 at 10:54.
Dragokas is offline
Dominatez
Senior Member
Join Date: Oct 2009
Location: Birmingham, UK
Old 11-04-2022 , 20:20   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #59

This no longer works either. Crashes to desktop (L4D1)

Last edited by Dominatez; 11-04-2022 at 20:20.
Dominatez is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 11-06-2022 , 20:27   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #60

Please add to the notes that this plugin changes/adds binds to your game without letting you know before hand thank you -.-
sonic155 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode