[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
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.
|