Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[TF2] Voice Commands Pitch (v1.0)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 02.03.2016 03:42

Voice Command Pitch Controller
v1.0


Description:
Set a custom pitch for voice commands in TF2.
It should also work in any other game that has the SNDCHAN_VOICE flag for the voice command sounds, but I havent tested.

Features:
  • Two levels of access, with the lower having customisable max and min settings.
  • Override to have maximum pitch range.
  • Admin-Only Setting.
Installation:
Click "Get Plugin" at the bottom of this post and install to /addons/sourcemod/plugins/



Command/CVar List:

voicepitch_dig_version
Do NOT Touch.

sm_voice (Default Flag: b or GENERIC)
Command to set pitch value

sm_voicepitch_access (Default Flag: d or BAN)
Override to be considered an admin to plugin. Gives full range of pitch,
and access to the command when sm_voicepitch_enabled is 2.

sm_voicepitch_enabled (Default Value: 1)
0 - Disabled
1 - Enabled
2 - Admin-only

sm_voicepitch_max (Default Value: 200)
The maximum value players with access to sm_voice, but without access to sm_voicepitch_access can use.

sm_voicepitch_min (Default Value: 50)
The minimum value players with access to sm_voice, but without access to sm_voicepitch_access can use.


Known 'Bugs':

  • Min/Max Values will 'lock' the command if there is no positive difference between them. (i.e Max = 30 and Min = 200).
Disclaimer:
I'm still a newb programmer, so don't expect flawless code.
I have, however, tested it thoroughly and found no major problems.



Attached Files Dołączona grafikaGet Plugin or Get Source (voicepitch.sp - 4.1 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych