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

[ANY] Resize Players


  • 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 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 18.08.2012 00:47

[ANY] Resize PlayersVersion 1.1.0Dołączona grafika

Description:

Allows players to change their size! Big Spy? Tiny Heavy? The choice is yours!

Commands:
  • sm_resize [#userid|name] [scale] | Allows an admin to target multiple players | Default Flag: CHEATS (N) | Override: sm_resize
  • sm_resizeme | Toggles ones size between normal and the default scale, or uses a menu if the necessary cvar is set | Default Flag: NONE (PUBLIC) | Override: sm_resizeme
  • sm_scale | (See sm_resize)
  • sm_scaleme | (See sm_resizeme)
Cvars:
  • sm_resize_version | Plugin version. Do not edit.
  • sm_resize_enabled | 0 = Disable plugin, 1 = Enable plugin | Default Value: 1
  • sm_resize_defaultresize | Default scale of the players when resized. Normal is 1, and any decimal value above 0 is valid. | Default Value: 0.5
  • sm_resize_joinstatus | 0 = No one's resized upon joining, 1 = Everyone's resized upon joining, 2 = Admins Only | Default Value: 0
  • sm_resize_menu | 0 = Disable menus, 1 = Enable menus when no parameters are given | Default Value: 0
  • sm_resize_voices | 0 = Normal voices, 1 = Voice pitch scales with size, 2 = No low-pitched voices, 3 = No high-pitched voices | Default Value: 1
  • sm_resize_damage | 0 = Normal damage, 1 = Damage scales with size | Default Value: 1 (SDKHooks is required for this)
Installation:

Place ResizePlayers.smx into your addons/sourcemod/plugins folder.

Changelog:
  • 1.0.0
    • Original version.
  • 1.1.0
    • sm_resizeme, sm_scale and sm_scaleme are added. See commands above.
    • Added cvar sm_resize_voices which scales voice pitch with size.
    • Added cvar sm_resize_menu which enables a menu if no parameters are used.
    • Spectators now get resized to normal on plugin unload when rejoining a team.
    • Added common translation phrases.
    • Fixed default resizing for newly joined clients
    • Fixed hook when changing cvar sm_resize_defaultresize
    • Altered step size to reflect model size
    • More lenient when used via RCON
    • Removed cvar sm_resize_mode in favor of overrides
    • Renamed cvar sm_resize_defaultstaus to sm_resize_joinstatus
SDKHooks is required if you want to scale damage.This should work in other Orange Box games, but is not completely tested.Many thanks to Sreaper who requested this in the first place!Downloads prior to update: 762 Attached Files Dołączona grafika Get Plugin or Get Source (ResizePlayers.sp - 10.3 KB) Dołączona grafika ResizePlayers.smx (8.2 KB)

Wyświetl pełny artykuł




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

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