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

[L4D1 & L4D2] Survivor Eyes [v1.0.5 | 04-June-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Plugin ID:
7635
Plugin Version:
1.0.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Adds a particle effect to survivor eyes
    Old 05-09-2021 , 10:46   [L4D1 & L4D2] Survivor Eyes [v1.0.5 | 04-June-2021]
    Reply With Quote #1

    Description

    This plugin attaches a particle to survivor's eyes.

    The current options are:
    • Witch Eyes
    • Pipebomb Spark
    • Fire

    Features
    • Allow configuring a default particle for all survivors.
    • Allow configuring a default particle commons and witches.
    • Allow configuring a default particle for special infected. (except: Hunter on L4D1)
    • Allow cookies to store client preferences.
    • Allow clients to select a different particle for each eye.
    • Allow being visible while in the third person or when using [L4D2] Survivor Thirdperson. (console thirdperson commands not supported yet)

    Preview





    Cvars

    A configuration file named "l4d_survivor_eyes.cfg" will automatically be created for you upon the first run in the "\cfg\sourcemod\" folder.

    PHP Code:
    // Enable thirdperson view with this distance while using the particle menu.
    // 0 = OFF.
    // -
    // Default: "50"
    // Minimum: "0.000000"
    l4d_survivor_eyes_3rd_person_fov "50"

    // Apply a default particle to the Boomer's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_boomer_left_particle "1"

    // (L4D2 only) Apply a default particle to the Charger's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_charger_left_particle "1"

    // (L4D2 only) Apply a default particle to the Charger's right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_charger_right_particle "1"

    // Apply a default particle to the Common's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_common_left_particle "1"

    // Apply a default particle to the Common''s right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_common_right_particle "1"

    // Allow cookies for storing client preferences.
    // 0 = OFF, 1 = ON.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_survivor_eyes_cookies "1"

    // How often the plugin checks for thirdperson view.
    // 0 = OFF.
    // -
    // Default: "0.5"
    // Minimum: "0.000000"
    l4d_survivor_eyes_detect "0.5"

    // Enable/Disable the plugin.
    // 0 = Disable, 1 = Enable.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "1.000000"
    l4d_survivor_eyes_enable "1"

    // (L4D2 only) Apply a default particle to the Hunter's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_hunter_left_particle "1"

    // (L4D2 only) Apply a default particle to the Hunter's right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_hunter_right_particle "1"

    // (L4D2 only) Apply a default particle to the Jockey's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_jockey_left_particle "1"

    // (L4D2 only) Apply a default particle to the Jockey's right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_jockey_right_particle "1"

    // Apply a default particle to the Smoker's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_smoker_left_particle "1"

    // Apply a default particle to the Smoker's right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_smoker_right_particle "1"

    // (L4D2 only) Apply a default particle to the Spitter's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_spitter_left_particle "1"

    // (L4D2 only) Apply a default particle to the Spitter's right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_spitter_right_particle "1"

    // Apply a default particle to the Survivor's left eye.
    // Note: This setting is replaced by the client cookies.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_survivor_left_particle "1"

    // Apply a default particle to the Survivor's right eye.
    // Note: This setting is replaced by the client cookies.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_survivor_right_particle "1"

    // Apply a default particle to the Tank's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_tank_left_particle "1"

    // Apply a default particle to the Tank's right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "1"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_tank_right_particle "1"

    // Apply a default particle to the Witch's left eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "2"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_witch_left_particle "2"

    // Apply a default particle to the Witch''s right eye.
    // 0 = OFF, 1 = WITCH, 2 = PIPEBOMB, 3 = FIRE.
    // -
    // Default: "2"
    // Minimum: "0.000000"
    // Maximum: "3.000000"
    l4d_survivor_eyes_witch_right_particle "2" 
    Public Commands
    • sm_eyes => Opens a menu to select the eye and particle to apply.

    Admin Commands
    • sm_eyesclient => Set the client eye particle. Usage: sm_eyesclient [target] [pos:1=left|2=right|3=both] [particle:0=none|1=witch|2=pipebomb|3=fire]. (z flag required)
    • sm_print_cvars_l4d_survivor_eyes => Print the plugin related cvars and their respective values to the console. (z flag required)

    Change Log

    Spoiler


    To Do
    • Add support to console thirdperson commands.
    • Add cvar for temporary third person view on menu selection.

    Current Translations
    • en - English
    • es - Spanish
    • pt - Brazilian Portuguese
    • pt_p - Portuguese
    • hu - Hungarian
    • no - Norwegian
    • ru - Russian

    Notes
    • This plugin creates up to two extra entities for each survivor/common/witch/SI when attached.
    • On L4D1 wasn't possible to attach the eyes to the Hunter cause I didn't find any attachment to fit the eyes position.
    • The eye position in the Tank may not fit sometimes cause it's based on its tongue attachment.
    • May not work properly on versus game modes. (not tested)

    Thank you!

    Related Plugins

    Recommended Plugins

    Post Reply
    • Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.

    Installation
    • Put the "l4d_survivor_eyes.phrases.txt" file in your "\addons\sourcemod\translations\" folder.
    • Put the "l4d_survivor_eyes.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
    • Recommended: Install the [L4D & L4D2] Use Priority Patch plugin to prevent blocking +USE.
    Attached Files
    File Type: txt l4d_survivor_eyes.phrases.txt (2.8 KB, 682 views)
    File Type: sp Get Plugin or Get Source (l4d_survivor_eyes.sp - 495 views - 70.7 KB)
    __________________

    Last edited by Marttt; 01-15-2023 at 12:20.
    Marttt is offline
    foxhound27
    AlliedModders Donor
    Join Date: Sep 2019
    Location: Argentina
    Old 05-09-2021 , 12:15   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #2

    Bravo Mart, i like this.
    foxhound27 is offline
    KasperH
    Senior Member
    Join Date: Apr 2016
    Location: Hungary
    Old 05-09-2021 , 12:38   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #3

    Added Hungarian.
    Attached Files
    File Type: txt l4d_survivor_eyes.phrases.txt (2.3 KB, 200 views)
    __________________

    "I've Got You In My Sights!"

    Last edited by KasperH; 05-09-2021 at 12:44.
    KasperH is offline
    Maur0
    Senior Member
    Join Date: Aug 2020
    Old 05-09-2021 , 12:53   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #4

    wow it's too scary and well done. This reminds me of a very old movie about children with bright eyes who forced people to kill themselves. The movie is called village of the damned 1960

    Nice Work!

    Edit: by the way, if it is possible to add not only to the other special infected, but more importantly to the common infected. Since it refers to the COD Zombies and it would be very cool.

    Also another reference to the zombie that appears in the Dark Carnival menu when he shows his glowing eyes.

    Last edited by Maur0; 05-09-2021 at 12:55.
    Maur0 is offline
    Tegh
    New Member
    Join Date: Oct 2020
    Location: Norway
    Old 05-09-2021 , 13:32   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #5

    Thank you, very nice!

    Norwegian language added.
    Attached Files
    File Type: txt l4d_survivor_eyes.phrases.txt (2.5 KB, 155 views)
    Tegh is offline
    KRUTIK
    Senior Member
    Join Date: Feb 2019
    Location: Мос
    Old 05-09-2021 , 18:34   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #6

    Added Russian language
    Attached Files
    File Type: txt l4d_survivor_eyes.phrases.txt (2.6 KB, 164 views)
    KRUTIK is offline
    mikaelangelis
    Senior Member
    Join Date: Oct 2017
    Old 05-11-2021 , 00:43   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #7

    Omae wa mou shinde iru
    mikaelangelis is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 05-11-2021 , 10:53   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #8

    Hhahaha, cool!
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 05-11-2021 , 16:55   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #9

    Great to see this plugin (pun intended)! Something I was thinking of doing for a few years but never bothered. Props to you for adding some more fun into the game.
    __________________
    Silvers is offline
    finishlast
    Senior Member
    Join Date: Nov 2018
    Location: In Reno with the vitamin
    Old 05-12-2021 , 12:07   Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
    Reply With Quote #10

    Ha. That's just great man!
    __________________
    finishlast 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 00:39.


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