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

[L4D2] Automatic Laser Sight Upgrade On Weapon Equip v1.24【2024-02-22】


Post New Thread Reply   
 
Thread Tools Display Modes
Author
little_froy
Senior Member
Join Date: May 2021
Plugin ID:
8287
Plugin Version:
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 11-13-2022 , 07:36   [L4D2] Automatic Laser Sight Upgrade On Weapon Equip v1.24【2024-02-22】
    Reply With Quote #1

    Description
    • Makes weapons get automatic laser sight upgrade on equip.
    • Automatically remove laser sight from enabled weapons on drop.
    • Customizable for each weapon.

    Cvars
    PHP Code:
    laser_sight_upgrade_on_equip_path "data/laser_sight_upgrade_on_equip.cfg" 
    Commands
    • sm_laser_sight_upgrade_on_equip_reload (admin flag "z")
      :reload config data from file.

    known issue
    • if load plugin/use command "laser_sight_upgrade_on_equip_reload" on map transition, the enabled and dropped weapon's laser sight will restore after new level start.

    Change log
    Spoiler


    Configs installation
    • put laser_sight_upgrade_on_equip.cfg in sourcemod/data/. if you changed the file name or path, you have to edit the cvar "path" too.
    • "enable" means whether to enable on this weapon. 1 = enable, 0 = disable.
    Spoiler
    Attached Files
    File Type: cfg laser_sight_upgrade_on_equip.cfg (943 Bytes, 441 views)
    File Type: sp Get Plugin or Get Source (laser_sight_upgrade_on_equip.sp - 48 views - 6.3 KB)

    Last edited by little_froy; 02-21-2024 at 18:12.
    little_froy is offline
    Iizuka07
    Senior Member
    Join Date: Aug 2018
    Location: Underground
    Old 11-13-2022 , 09:49   Re: [L4D2] Automatic Laser Sight Upgrade On Weapon Equip v1.0.0【2022-11-13】
    Reply With Quote #2

    I wonder if this conflicts with the plugin called always lasers by Mastermind420. Sadly his plugin has been removed some time ago in october 2021. I have the plugin but I don't have the source code. Well might as well test both yours alongside another lasersight plugin
    __________________
    死が待っている
    Iizuka07 is offline
    EricaWalls
    New Member
    Join Date: Jan 2023
    Old 01-19-2023 , 04:34   Re: [L4D2] Automatic Laser Sight Upgrade On Weapon Equip v1.8【2023-01-16】
    Reply With Quote #3

    I love this plugin. Thanks for sharing it with us. And if you want to learn more about top anime inspired by classic literature, then I can share a link with you which I already found on google search. I love to watch anime and I watch it often. When I was looking for it on google search, I found your post and I will surely try this plugin.

    Last edited by EricaWalls; 01-24-2023 at 03:51.
    EricaWalls is offline
    BloodyBlade
    Senior Member
    Join Date: Feb 2018
    Old 01-19-2023 , 10:42   Re: [L4D2] Automatic Laser Sight Upgrade On Weapon Equip v1.8【2023-01-16】
    Reply With Quote #4

    It has been here for a long time https://forums.alliedmods.net/showpo...4&postcount=14 , but without customization for each weapon.
    The version on the new syntax is attached below
    Attached Files
    File Type: sp Get Plugin or Get Source (GrabLasersight.sp - 164 views - 3.6 KB)

    Last edited by BloodyBlade; 01-19-2023 at 10:43.
    BloodyBlade is offline
    Reply


    Thread Tools
    Display Modes

    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 01:34.


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