Raised This Month: $89 Target: $400
 22% 

CS:S Laser Tag Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
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, 4368 views)
    File Type: zip laser_tag_1_1.zip (7.2 KB, 10573 views)
    File Type: sp Get Plugin or Get Source (laser_tag.sp - 9835 views - 11.3 KB)

    Last edited by Bonaparte; 09-13-2007 at 22:41. Reason: Formatting, made cvars look clearer
    Bonaparte is offline
    Rebell
    Veteran Member
    Join Date: Nov 2004
    Location: GERMANY
    Old 09-02-2007 , 11:26   Re: CS:S Laser Tag Plugin
    Reply With Quote #2

    Ah i know it from old CS1.6 !

    Every shoot from every weapon makes a laser for a short time like STAR WARS, right ?

    lol ^^
    __________________
    Rebell is offline
    Bonaparte
    Junior Member
    Join Date: Aug 2007
    Old 09-02-2007 , 12:15   Re: CS:S Laser Tag Plugin
    Reply With Quote #3

    Added ;) Thanks for the tip.
    Bonaparte is offline
    spelworm
    Senior Member
    Join Date: Mar 2007
    Old 09-02-2007 , 13:13   Re: CS:S Laser Tag Plugin
    Reply With Quote #4

    wow this rocks thank you very much
    also very cool if you shoot with 2 autoshotguns to eachother

    Last edited by spelworm; 09-02-2007 at 14:19.
    spelworm is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 09-02-2007 , 16:09   Re: CS:S Laser Tag Plugin
    Reply With Quote #5

    That looks awesome
    __________________
    Extreme_One is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 09-09-2007 , 16:45   Re: CS:S Laser Tag Plugin
    Reply With Quote #6

    Brilliant idea, slapping this on our Gun Game server!

    Edit: Added to our death match server too, mainly because we class these as training servers and this certainly helps!!!
    __________________

    Last edited by MoggieX; 09-09-2007 at 18:18.
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    spelworm
    Senior Member
    Join Date: Mar 2007
    Old 09-09-2007 , 19:20   Re: CS:S Laser Tag Plugin
    Reply With Quote #7

    it does take away the suprise element though since u just look where the laser comes from but it still lots of fun (exidently did the laser time on 0 once the level looked like a disco xD)
    spelworm is offline
    Lindgren
    Member
    Join Date: Jul 2007
    Location: Sweden
    Old 09-10-2007 , 09:09   Re: CS:S Laser Tag Plugin
    Reply With Quote #8

    Fun plugin, any chanse you could add a menu and SQLite database or something so every player can turn on/off the laser if they donīt like it?
    Lindgren is offline
    Send a message via MSN to Lindgren
    renalpha
    Junior Member
    Join Date: Sep 2007
    Old 09-10-2007 , 10:02   Re: CS:S Laser Tag Plugin
    Reply With Quote #9

    Quote:
    Originally Posted by MoggieX View Post
    Brilliant idea, slapping this on our Gun Game server!

    Edit: Added to our death match server too, mainly because we class these as training servers and this certainly helps!!!
    same here

    just gives the gameplay some graphics, it also looks like the zone troopers from cnc3 with their railgunz
    renalpha is offline
    Bonaparte
    Junior Member
    Join Date: Aug 2007
    Old 09-11-2007 , 18:01   Re: CS:S Laser Tag Plugin
    Reply With Quote #10

    Quote:
    Originally Posted by Lindgren View Post
    Fun plugin, any chanse you could add a menu and SQLite database or something so every player can turn on/off the laser if they donīt like it?
    How would you like that to work?
    1) anyone with it turned off doesn't fire a laser
    2) anyone with it turned off doesn't see any lasers being fired
    3) both
    __________________
    Bonaparte is offline
    Reply


    Thread Tools
    Display Modes

    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 17:40.


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