Author
|
|
Veteran Member
Join Date: Sep 2011
Location: Underworld
|
Plugin ID:
|
3024
|
Plugin Version:
|
1.1.0
|
Plugin Category:
|
Fun Stuff
|
Plugin Game:
|
Team Fortress 2
|
Plugin Dependencies:
|
|
Servers with this Plugin:
|
|
| |
Plugin Description:
|
Attach particle effects to multiple projectiles
|
|
|
06-18-2012
, 19:02
[TF2] Projectile Particles
|
#1
|
[TF2] Projectile Particles
Version 1.1.0
Description:Attaches particle systems to a configurable list of projectiles.
Commands:- sm_particles | Toggles an individual's particle effects on/off | Default Flag: NONE (PUBLIC)
- sm_projectileparticles_reload | Reloads the config file (see below) | Default Flag: CONFIG (I)
Cvars:- sm_projectileparticles_version | Plugin version. Do not edit.
- sm_projectileparticles_enabled | 0 = Disable plugin, 1 = Enable plugin | Default Value: 1
- sm_projectileparticles_clientdefault | 0 = Turned off for clients by default, 1 = Turned on | Default Value: 1
- sm_projectileparticles_mode | 1 = All players, 2 = Admins with correct flag | Default Value: 2
- sm_projectileparticles_adminflag | Admin flag to use if above mode is set to 2 | Default Value: b
Config File:The plugin reads the config file at addons/sourcemod/data/projectile_particles.cfg for a list of particle systems to attach - the structure of which is below. This example adds a blue trail to syringes and beams to huntsman arrows, and is also used in the sample file attached to the bottom of this post.
Code:
"tf_projectile_arrow"
{
"Particle" "superrare_beams1"
"Clusters" "2"
}
"tf_projectile_syringe"
{
"Particle" "coin_large_blue"
"Clusters" "1"
}
"tf_projectile_pipe"
{
"Particle" "critical_grenade_blue_extra"
"Clusters" "2"
"Team" "1"
}
Config File Usage:You may use keywords Particle/Particles and Cluster/Clusters, the latter being the number of groups of particles to use (particle volume). You may also specify multiple particles separated with a comma, and zero whitespace, e.g. "coin_blue,critical_grenade_red_extra"
You may find a list of possible particles and projectiles below in the second post.
The new Team/team key's feature depends on its value. If set to 1 then the particle system (if of the form *_red* or *_blu(e)*) will change color to red/blue depending on which team the player is on. Simply give one or the other as the particle system (usually doesn't matter which). If the value is set to 2 or 3 then the particle system will only be available to those on the RED/BLU team respectively. This could also be useful for game modes like VSH or FF2.
Installation:Place ProjectileParticles.smx into your addons/sourcemod/plugins folder.
Create your own custom config file (addons/sourcemod/data/projectile_particles.cfg) or use the one below as a basis.
This plugin requires SDKHooks to operate.
Changelog:- 1.0.0
- 1.1.0
- Fixed 'array out of bounds' error.
- Added Team key to config file particle list.
Downloads prior to update: 72/42/94
__________________
Last edited by 11530; 07-12-2012 at 20:37.
Reason: Update to 1.1.0
|
|
|
|