Spawn particles around the map that are defined in a configuration file. (Custom and stock particles)
Commands
Configssm_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
Code: Select all
addons/sourcemod/configs/particlespawner/particle_spawns.cfg
// 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
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
Download