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

[CS:GO/ANY?] Store Death sounds (v1.0 - 22/08/18)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
Rate Thread 68747470733a2f2f666f72756d732e616c6c696568747470733a2f2f666f72756d732e616c6c6965

Death sounds for [ANY] Store by Zephyrus

With this plugin you can add death sounds to the Store by Zephyrus. Requested here.
When a player dies with equipt death sound, a sound will be played from players origin or from world (see config).

This plugin doesn't provide any soundfiles!

Only tested on CS:GO.
Please test and report other games.

Installation
Quote:

  1. store_deathsound.smx -> addons/sourcemod/plugins/
  2. store_deathsound.sp -> addons/sourcemod/scripting/ (optional)
  3. open your \addons\sourcemod\translations\store.phrases. txt and add following part:
    Code:

      "death_sound"
      {
        "en" "Death sounds"
      }

  4. open your \addons\sourcemod\configs\store\items.txt and configure your models like following example:
    Code:

      "Death sounds"
            {
                    "Tribute"
                    {
                            "path" "hg/cannon.mp3"
                            "origin" "1"  // 1 - global (map)/ 2 - local (player)
                            "volume" "1.0"
                            "price" "100"
                            "type" "death_sound"
                    }
                    "I'm dying!"
                    {
                            "path" "player/dying.mp3"
                            "origin" "2"  // 1 - global / 2 - local
                            "volume" "0.5"
                            "price" "100"
                            "type" "death_sound"
                    }
                    "Argh"
                    {
                            "path" "player/argh.mp3"
                            "origin" "2"  // 1 - global / 2 - local
                            "volume" "1.0"
                            "price" "100"
                            "type" "death_sound"
                    }
            }

  5. Have Fun! Give feedback!

Include file for compile
Github
https://github.com/shanapu/StoreDeathsound

Credits :bacon!:
beastedout for the idea & request
Big thanks @Zephyrus for his great store!
Also big thanks to all sourcemod & metamod developers out there!

You like my work for the community? Buy me a beer! 68747470733a2f2f7777772e70617970616c6f62

Attached Files
File Type: zip StoreDeathsound-master.zip (27.3 KB)
File Type: sp Get Plugin or Get Source (store_deathsound.sp - 2.9 KB)
File Type: smx store_deathsound.smx (11.6 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

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

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