Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSS[L4D1 & L4D2] Survivor Eyes [v1.0.1 | 09-May-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

This plugin attaches a particle to survivor's eyes.

The current options are:
  • Witch Eyes
  • Pipebomb Spark

Features
  • Allow configuring a default particle for all survivors.
  • 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

68747470733a2f2f692e696d6775722e636f6d2f

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:

// 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"

// Apply a default eye particle to the client when connects to the server.
// Note: This setting is replaced by the client cookies.
// 0 = OFF, 1 = WITCH, 2 = PIPEBOMB.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
l4d_survivor_eyes_particle "1"

// Apply a default eye option to the client when connects to the server.
// Note: This setting is replaced by the client cookies.
// 0 = OFF, 1 = LEFT, 2 = RIGHT, 3 = BOTH.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d_survivor_eyes_position "3" 

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] [1=left|2=right|3=both] [0=none|1=witch|2=pipebomb]. (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 the fire particle from Molotov.
  • Add support to console thirdperson commands.
  • Check if is possible to add SI support.

Current Translations
  • en - English
  • es - Spanish
  • pt - Brazilian Portuguese
  • pt_p - Portuguese

Notes
  • Infected team clients aren't supported.

Thank you!

Related Plugins

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

Installation
  • Put the "l4d_survivor_eyes.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.
  • Put the "l4d_survivor_eyes.phrases.txt" file in your "\addons\sourcemod\translations\" folder.

Attached Files
File Type: txt l4d_survivor_eyes.phrases.txt (2.1 KB)
File Type: sp Get Plugin or Get Source (l4d_survivor_eyes.sp - 37.4 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...