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] Selfie Camera [v1.0.0 | 06-June-2021]


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Description

This plugin turns the camera into selfie mode.

When the character moves, the camera is turned off.

Based on the L4D2 Workshop Addon Selfie Camera by Sw1ft.

Features
  • Allow configuring a default distance of the selfie camera.
  • Allow configuring a maximum distance of the selfie camera.
  • Allow clients manually set their camera distance. (through sm_selfie [distance] command)

Preview

68747470733a2f2f692e696d6775722e636f6d2f

Cvars

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

PHP Code:

// Default distance from client when enable the selfie camera.
// -
// Default: "50"
// Minimum: "0.000000"
l4d_selfie_camera_distance "50"

// Max distance from client when enable the selfie camera.
// 0 = Unlimited.
// -
// Default: "0"
// Minimum: "0.000000"
l4d_selfie_camera_distance_max "0"

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

Public Commands
  • sm_selfie [distance] => Change the camera to the selfie mode.

Admin Commands
  • sm_print_cvars_l4d_selfie_camera => Print the plugin related cvars and their respective values to the console. (z flag required)

Change Log

Spoiler


Notes
  • When the character moves, the camera is turned off.

Thank you!

Related Plugins

Related Workshop Addons

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

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

Attached Files
File Type: sp Get Plugin or Get Source (l4d_selfie_camera.sp - 13.0 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ę...