Skocz do zawartości

[RSS] Tank Wave Music (Finale Win Sound)


GameNation

Rekomendowane odpowiedzi

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" (On 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

Attached Files
File Type: zip TankWave_Forum.zip (12.4 KB)

Przeczytaj cały wpis na stronie AlliedModders

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.