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

Tank Wave Music (Finale Win Sound)


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

Napisano 12.08.2023 18:04

Description:

Allows to play your own music when:

  • tank wave appear
  • last tank killed on finale map (finale win)
Music should be provided manually and uploaded to content-server, with appropriate settings on client side game.
Don't ask about content-server here. It is offtopic. Find out on your own or ask at General section.

Note: this version done specially for forum, and it wasn't properly tested. Report if everything OK.

Features:
  • Plays (downloads to client) 2 tracks per map. Number can be adjusted in l4d_tank_wave_sound.sp only. See #define TRACKS_PER_MAP 2
Settings (ConVars):

cfg/sourcemod/l4d_tank_wave_sound.cfg:


PHP Code:


// Enable plugin (1 - On / 0 - Off)
l4d_tank_wave_sound_enable "1"

// Enable tank wave sound (1 - On / 0 - Off)
l4d_tank_wave_sound_wave_enable "1"

// Enable last tank kill sound on finales
l4d_tank_wave_sound_finale_enable "1" (1 - On / 0 - Off)

Commands: (in DEBUG mode only)

sm_fin - imitate finale win, "z" flag

Data files:

Each music file should be put in separate line.
Prepending comment // is allowed for temporarily disable the music file.


PHP Code:


// Finale win sound files
data/tank_finale_sounds.txt

// Tank wave sound files
data/tank_wave_sounds.txt

Requirements

- Left 4 Dragokas | API

Installation

- Fulfill the requirements above
- Set up the content-server
- Set up client side network settings to allow downloading files from content-server
- Upload music files on content server
- Write music file paths in data/ files according to examples in archive. Should be written without "sound/" prefix
- Upload as is on game server or compile on your own

Donate

Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money

P.S.:

- It's my private plugin written for myself and my Bloody Witch team.
- Project and updates discontinued. Don't ask.



Attached Files Dołączona grafika TankWave_Forum.zip (12.4 KB)

Wyświetl pełny artykuł




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

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