Raised This Month: $154 Target: $400
 38% 

[L4D & L4D2] Laser Sights


Post New Thread Reply   
 
Thread Tools Display Modes
Author
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Plugin ID:
1021
Plugin Version:
1.0.8
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    No Random Upgrades or Admin Menu litter ... just Laser sights
    Old 07-21-2009 , 11:16   [L4D & L4D2] Laser Sights
    Reply With Quote #1

    There are half a dozen Plugins already that deal with L4D Survivor Upgrades one way or another. Thanks to all of them, i think Fyren originally enabled it all with his l4d_mmo plugin.


    This here is different ... it won't give anyone anything by default and remain silent. It will also not litter your Admin Menu.

    It does however give users the sm_laseron, sm_laseroff or, simpler, the toggle command sm_laser for the Laser Sights. It also blocks the dumb "expired" messages when turning Lasers off.

    Additionally, it won't break your MOTD and/or other ingame Webpages.


    For installation put the .smx in your plugins folder.

    Configuration:

    l4d2_lasersight_delay (default 10.0) - How long do the commands 'cool down'



    Changelog L4D:
    1.0.0 - Release
    1.0.1 - Now sets Survivor_Upgrades 1 by itself
    1.0.2 - Major Code Screwup breaking sm_laser toggle fixed
    1.0.3 - Removes Upgrades on Round end to prevent eerie things from happening
    1.0.4 - Minor Bugfixing
    1.0.5 - No more gamedata file needed. Unloads itself if not in versus mode
    1.0.6 - updated Signatures, added Sig error logging.
    1.0.7 - Linux byte Signatures (WTF)
    1.0.8 - reverted to gamedata file (l4dlasersights.txt into gamedata!)



    Changelog L4D2:
    1.0.0 - Release
    1.0.1 - fixed tiny Callback bug
    1.0.2 - added command cooldown and convar


    Note the Laser has actual gameplay value in L4D2 - it increases your weapons accuracy.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_lasersight.sp - 4278 views - 4.1 KB)
    File Type: sp Get Plugin or Get Source (l4d2_lasersight.sp - 12881 views - 3.0 KB)
    File Type: txt l4dlasersights.txt (613 Bytes, 3718 views)

    Last edited by AtomicStryker; 12-08-2012 at 13:53.
    AtomicStryker is offline
    GM-Scorp
    Senior Member
    Join Date: Jun 2009
    Location: netherlands
    Old 07-21-2009 , 12:52   Re: [L4D] Just Laser Sights
    Reply With Quote #2

    Awsome dude

    Didnt think anyone would do it

    [Respect] man great job
    GM-Scorp is offline
    Send a message via MSN to GM-Scorp
    fpsbrian
    Senior Member
    Join Date: Feb 2008
    Old 07-21-2009 , 12:56   Re: [L4D] Just Laser Sights
    Reply With Quote #3

    You've made a lot of people happy!
    __________________
    fpsbrian is offline
    Pontifex
    Member
    Join Date: Feb 2009
    Old 07-21-2009 , 19:19   Re: [L4D] Just Laser Sights
    Reply With Quote #4

    please add cvar always_laser "1"
    __________________
    Sorry for my bad English
    Pontifex is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 07-22-2009 , 03:57   Re: [L4D] Just Laser Sights
    Reply With Quote #5

    If you don't want lasers, dont install this plugin?
    AtomicStryker is offline
    Proton
    Junior Member
    Join Date: May 2007
    Old 07-22-2009 , 04:27   Re: [L4D] Just Laser Sights
    Reply With Quote #6

    Any commands are not working for me, but the plugin works:
    PHP Code:
    sm_laser 
    L 07
    /22/2009 12:22:12: [SMNative "SDKCall" reportedWorld not allowed
    L 07
    /22/2009 12:22:12: [SMDisplaying call stack trace for plugin "l4d_lasersight.smx":
    L 07/22/2009 12:22:12: [SM]   [0]  Line 67D:\Games\Steam\steamapps\common\left 4 dead\left4dead\addons\sourcemod\scripting\l4d_lasersight.sp::CmdLaserOn()
    L 07/22/2009 12:22:12: [SM]   [1]  Line 86D:\Games\Steam\steamapps\common\left 4 dead\left4dead\addons\sourcemod\scripting\l4d_lasersight.sp::CmdLaserToggle() 
    Why?

    My version of metamodsource is 1.7.2-hg650 & sourcemod-1.3.0-hg2745

    Last edited by Proton; 07-22-2009 at 04:37.
    Proton is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 07-22-2009 , 05:40   Re: [L4D] Just Laser Sights
    Reply With Quote #7

    I refrained from using the newest mms and sm version, because they are NOT FINAL YET. Why should I install something like that ? I use MMS 171 and SM 120 and they work perfectly. Maybe it works for you too.
    Skorpion1976 is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 07-22-2009 , 08:17   Re: [L4D] Just Laser Sights
    Reply With Quote #8

    @Proton

    Well "World not allowed" ... whap map and gamemode was that


    @Skorp

    Maybe because SM 1.3 offers actual Client Button Hooking and Manipulation. They might be called beta but theyre stable for me. (Unlike the game/server itself haha)
    AtomicStryker is offline
    Proton
    Junior Member
    Join Date: May 2007
    Old 07-22-2009 , 09:24   Re: [L4D] Just Laser Sights
    Reply With Quote #9

    AtomicStryker
    any vanilla map and i test it in singleplayer. Why lasers work but the commands does not?
    Proton is offline
    hofi02
    Junior Member
    Join Date: Jul 2009
    Old 07-22-2009 , 10:20   Re: [L4D] Just Laser Sights
    Reply With Quote #10

    it does not work, in my console it says every time "Unknown command" but it is loaded and running

    Last edited by hofi02; 07-22-2009 at 10:48.
    hofi02 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 10:22.


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