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] Particle Spawner (v1.0 9/16/2017)


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
PARTICLE SPAWNER v1.0


Description
Spawn particles around the map that are defined in a configuration file. (Custom and stock particles)

Commands
Quote:

sm_getposition - BAN_FLAG - Prints out the position of yourself
sm_getaimposition - BAN_FLAG - Prints out the position of your aim position
sm_getpos - BAN_FLAG - Prints out the position of yourself
sm_getaimpos - BAN_FLAG - Prints out the position of your aim position
sm_getaimentity - BAN_FLAG - Prints out details about the entity you're aiming at
sm_editparticles - ROOT_FLAG - Particle editor menu
sm_particleeditor - ROOT_FLAG - Particle editor menu
sm_saveparticles - ROOT_FLAG - Save all particle changes done in the particle editor
sm_revertparticles - ROOT_FLAG - Revert all changes done in the particle editor
sm_revertchanges - ROOT_FLAG - Revert all changes done in the particle editor
sm_changename - ROOT_FLAG - Change the name of a particle
sm_changeeffect - ROOT_FLAG - Change the effect of a particle
sm_changeffect - ROOT_FLAG - Change the effect of a particle
Preview


Configs
addons/sourcemod/configs/particlespawner/particle_spawns.cfg
PHP Code:

//    This example below will spawn a particle effect (env_embers_large) at 0.0 0.0 0.0
//    on map de_dust2
//
//    EXAMPLE:    
//
//    "Particles"
//    {
//        "de_dust2"
//        {
//            "particle1"
//            {
//                "effect"    "env_embers_large"
//                "pos"        "0.0 0.0 0.0"
//            }
//        }
//    }

"Particles"
{



Installation/Setup
Quote:

Installation
  • configs/particlespawner/particle_spawns.cfg goes into addons/sourcemod/configs/particlespawner/
  • configs/particlespawner/particles.cfg goes into addons/sourcemod/configs/particlespawner/
  • plugins/particlespawner.smx goes into addons/sourcemod/plugins

Setup
  • 1. If you're using custom particles, add the path to the particle file (particle.pcf) inside of particles.ini. More instructions are inside the file (And there is an example file aswell)
  • 2. Add your particle spawn positions in particle_spawns.cfg. More instructions are inside the file
  • 3. Launch your server and tweak the position with command sm_particleeditor. Do not forget to save your progress either through the particle editor menu or through command sm_saveparticles

Credits
  • Me

Bugs
When you first download a custom particle effect, you cannot see it unless you rejoin :( If anyone has a solution for this other than forcing a player to reconnect first time he joins, please do tell

Extra
All CS:GO particles as of 3/7/2016 can be found here

DOWNLOAD

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ę...