AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Particle Spawner (v1.0 9/16/2017) (https://forums.alliedmods.net/showthread.php?t=301320)

Rachnus 09-16-2017 11:17

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


All times are GMT -4. The time now is 10:50.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.