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

[L4D & L4D2] Night Vision


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
2500
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Suvvivors and Infected can turn on night vision by double press F.
    Old 08-16-2011 , 23:54   [L4D & L4D2] Night Vision
    Reply With Quote #1

    Credits
    Mr. Zero
    How to toggle night vision (default key):
    Survivor ress F twich quickly
    Infected: Press F
    !nightvision
    Convars:
    "l4d_nt_team", "1", " 0:disable, 1:enable for survivor and infected, 2:enable for survivor, 3:enable for infected "
    Attached Thumbnails
    Click image for larger version

Name:	l4d_smalltown01_caves0036.jpg
Views:	4842
Size:	55.1 KB
ID:	90740   Click image for larger version

Name:	l4d_smalltown01_caves0037.jpg
Views:	4559
Size:	62.8 KB
ID:	90741   Click image for larger version

Name:	c2m1_highway0005.jpg
Views:	3838
Size:	62.7 KB
ID:	90746   Click image for larger version

Name:	c2m1_highway0006.jpg
Views:	3751
Size:	82.2 KB
ID:	90747  
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_nightvision.sp - 5715 views - 2.0 KB)

    Last edited by panxiaohai; 10-17-2011 at 16:40.
    panxiaohai is offline
    TheSuggestioner
    Member
    Join Date: Aug 2011
    Location: USA, Connecticut
    Old 09-04-2011 , 16:02   Re: [L4D & L4D2] Night Vision
    Reply With Quote #2

    As always wanted, make an admin-only cvar!

    OPTIONAL: Add a green tint for survivors!

    Very good idea by the way! I'm surprised no one thought about it...
    __________________
    Roses are Red
    Violets are blue,
    Not a big surprise
    If a Tank kills you!
    TheSuggestioner is offline
    RAPTORMOOSE
    Member
    Join Date: Sep 2011
    Location: California
    Old 10-15-2011 , 13:13   Re: [L4D & L4D2] Night Vision
    Reply With Quote #3

    Quote:
    Originally Posted by TheSuggestioner View Post
    As always wanted, make an admin-only cvar!
    Actually an admin-only CVAR wouldn't be so good. It would make nobody be able to see in the dark when there's a witch nearby and they don't wanna startle her.
    __________________
    Well, it took 30 men, 7 chainsaws, and 12 pickup trucks, but we did it.
    RAPTORMOOSE is offline
    Searcher64
    Senior Member
    Join Date: Apr 2010
    Old 06-26-2012 , 09:11   Re: [L4D & L4D2] Night Vision
    Reply With Quote #4

    Can a green tint be added to this like (lol) TheSuggestioner said? I would really appreciate it Your plugins are very creative
    Searcher64 is offline
    veli
    Senior Member
    Join Date: Apr 2012
    Location: Netherlands
    Old 12-31-2012 , 10:09   Re: [L4D & L4D2] Night Vision
    Reply With Quote #5

    Quote:
    Originally Posted by panxiaohai View Post
    Credits
    Mr. Zero
    How to toggle night vision (default key):
    Survivor ress F twich quickly
    Infected: Press F
    !nightvision
    Convars:
    "l4d_nt_team", "1", " 0:disable, 1:enable for survivor and infected, 2:enable for survivor, 3:enable for infected "

    Can u make this for CS GO too? It will be very nice in a zombie server.

    thx and regards,
    veli is offline
    BlackSabbarh
    Senior Member
    Join Date: Sep 2018
    Old 10-21-2018 , 18:50   Re: [L4D & L4D2] Night Vision
    Reply With Quote #6

    Does anyone help to add a time cvars to this add-on so that it activates within a time of 30 seconds and then deactivates and then reactivates?

    Sorry my English is poor: oops:C

    Last edited by BlackSabbarh; 10-21-2018 at 18:51.
    BlackSabbarh is offline
    BloodyBlade
    Senior Member
    Join Date: Feb 2018
    Old 09-10-2019 , 14:43   Re: [L4D & L4D2] Night Vision
    Reply With Quote #7

    * Converted plugin source to the latest syntax. Requires SourceMod 1.8 or newer.
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_nightvision.sp - 1226 views - 2.1 KB)

    Last edited by BloodyBlade; 09-10-2019 at 14:46.
    BloodyBlade is offline
    BloodyBlade
    Senior Member
    Join Date: Feb 2018
    Old 09-10-2019 , 14:45   Re: [L4D & L4D2] Night Vision
    Reply With Quote #8

    Quote:
    Originally Posted by BlackSabbarh View Post
    Does anyone help to add a time cvars to this add-on so that it activates within a time of 30 seconds and then deactivates and then reactivates?

    Sorry my English is poor: oops:C
    Test
    You have 1 cvar: TimerNVision - "Number of seconds before night vision is switched on / off." Default: 30.0
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_nightvision_n.sp - 920 views - 1.3 KB)

    Last edited by BloodyBlade; 09-18-2019 at 11:45. Reason: New Version
    BloodyBlade is offline
    BlackSabbarh
    Senior Member
    Join Date: Sep 2018
    Old 09-13-2019 , 15:12   Re: [L4D & L4D2] Night Vision
    Reply With Quote #9

    Quote:
    Originally Posted by BloodyBlade View Post
    Test


    Could you delete the entry /nightvision to activate and deactivate in the chat, so that it is activated for everyone without entering the command in the chat?

    and that the timer activates and deactivates it only according to time
    BlackSabbarh is offline
    BloodyBlade
    Senior Member
    Join Date: Feb 2018
    Old 09-18-2019 , 11:46   Re: [L4D & L4D2] Night Vision
    Reply With Quote #10

    Quote:
    Originally Posted by BlackSabbarh View Post
    Could you delete the entry /nightvision to activate and deactivate in the chat, so that it is activated for everyone without entering the command in the chat?

    and that the timer activates and deactivates it only according to time
    Updated. Try.

    Last edited by BloodyBlade; 09-18-2019 at 11:47.
    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:44.


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