Creates A Beam for every shot fired, it's a server level plugin. Users can not individually turn it on or off. Tested in CS:Source only.
This plug-in is awesome to do some local practice with. You can practice burst shots, etc... The laser beams will show you where the bullets are going and how much off target you are.
The lasers look really cool in fy_snow.
Installation:
Unzip the laser_tag_1_0.zip file into the sourcemod folder.
Change Log:
0.1 Initial Release
0.2 Streamlined the code
0.3 Tweaked the position of the beam
1.0 Added settings to turn on or off depending on certain conditions
1.1 Bug fix in persistence logic
Cvars used:
sm_laser_tag_on 1 turns the plugin on 0 is off sm_laser_tag_client_choice Do clients have a choice to enable or disable the Laser Beam 1 (default) on and 0 off
sm_laser_tag_client_default Default setting for new people connecting, 1 (default) on and 0 off
sm_laser_tag_spectators_only Only show the laser beams for spectators, 1 on and 0 off (default)
sm_laser_tag_team_members_only Only show the laser beams for shots fired by members of the same team, 1 on and 0 off (default)
sm_laser_tag_attacker_only_when_enabled Only show the laser beams for shots fired by an attacker who has it enabled, 1 on and 0 off (default) sm_laser_tag_ct_red Amount OF Red In The Beam of the CTs sm_laser_tag_ct_green Amount Of Green In The Beam of the CTs sm_laser_tag_ct_blue Amount OF Blue In The Beam of the CT sm_laser_tag_t_red Amount OF Red In The Beam of the Ts sm_laser_tag_t_green Amount Of Green In The Beam of the Ts sm_laser_tag_t_blue Amount OF Blue In The Beam of the Ts sm_laser_tag_alpha Amount OF Transparency In Beam sm_laser_tag_life Life of the Beam sm_laser_tag_width Width of the Beam
Code snippets provided by:
Peoples Army, AMP and Deception5
Might be a good idea to merge this plugin with People Army's "special effects plugin"
Last edited by Bonaparte; 09-13-2007 at 22:41.
Reason: Formatting, made cvars look clearer