AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   CS:S Laser Tag Plugin (https://forums.alliedmods.net/showthread.php?t=60382)

Bonaparte 09-02-2007 11:09

CS:S Laser Tag Plugin
 
3 Attachment(s)
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"
http://i182.photobucket.com/albums/x.../lasertag1.jpg
http://i182.photobucket.com/albums/x.../lasertag2.jpg

Rebell 09-02-2007 11:26

Re: CS:S Laser Tag Plugin
 
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 ^^

Bonaparte 09-02-2007 12:15

Re: CS:S Laser Tag Plugin
 
Added ;) Thanks for the tip.

spelworm 09-02-2007 13:13

Re: CS:S Laser Tag Plugin
 
wow this rocks :) thank you very much
also very cool if you shoot with 2 autoshotguns to eachother :P

Extreme_One 09-02-2007 16:09

Re: CS:S Laser Tag Plugin
 
That looks awesome :)

MoggieX 09-09-2007 16:45

Re: CS:S Laser Tag Plugin
 
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!!!

spelworm 09-09-2007 19:20

Re: CS:S Laser Tag Plugin
 
it does take away the suprise element though since u just look where the laser comes from :P but it still lots of fun (exidently did the laser time on 0 once the level looked like a disco xD)

Lindgren 09-10-2007 09:09

Re: CS:S Laser Tag Plugin
 
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?

renalpha 09-10-2007 10:02

Re: CS:S Laser Tag Plugin
 
Quote:

Originally Posted by MoggieX (Post 529436)
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:twisted:

Bonaparte 09-11-2007 18:01

Re: CS:S Laser Tag Plugin
 
Quote:

Originally Posted by Lindgren (Post 529646)
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


All times are GMT -4. The time now is 07:26.

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