Raised This Month: $51 Target: $400
 12% 

CS:S Laser Tag Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Bonaparte
Junior Member
Join Date: Aug 2007
Plugin ID:
177
Plugin Version:
0.3
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Shows a laser style effect whenever someone shoots
    Old 09-02-2007 , 11:09   CS:S Laser Tag Plugin
    Reply With Quote #1

    Name:
    Laser Tag
    Description:
    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"

    Attached Files
    File Type: zip laser_tag_ 0_3.zip (4.6 KB, 4939 views)
    File Type: zip laser_tag_1_1.zip (7.2 KB, 11755 views)
    File Type: sp Get Plugin or Get Source (laser_tag.sp - 12088 views - 11.3 KB)

    Last edited by Bonaparte; 09-13-2007 at 22:41. Reason: Formatting, made cvars look clearer
    Bonaparte is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 19:45.


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