AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D1 & L4D2] Survivor Eyes [v1.0.5 | 04-June-2021] (https://forums.alliedmods.net/showthread.php?t=332388)

Marttt 05-09-2021 10:46

[L4D1 & L4D2] Survivor Eyes [v1.0.5 | 04-June-2021]
 
18 Attachment(s)
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

https://i.imgur.com/KHSDyrp.png

https://i.imgur.com/lsUCmi3.jpg

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.

foxhound27 05-09-2021 12:15

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
Bravo Mart, i like this.

KasperH 05-09-2021 12:38

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
1 Attachment(s)
Added Hungarian. :bee:

Maur0 05-09-2021 12:53

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
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.

Tegh 05-09-2021 13:32

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
1 Attachment(s)
Thank you, very nice! :)

Norwegian language added. :fox:

KRUTIK 05-09-2021 18:34

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
1 Attachment(s)
Added Russian language

mikaelangelis 05-11-2021 00:43

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
Omae wa mou shinde iru

Dragokas 05-11-2021 10:53

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
Hhahaha, cool!

Silvers 05-11-2021 16:55

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
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. :wink:

finishlast 05-12-2021 12:07

Re: [L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]
 
Ha. That's just great man!


All times are GMT -4. The time now is 11:16.

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