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

[L4D(2)] Laser Tag


Post New Thread Reply   
 
Thread Tools Display Modes
peter_hunter
Junior Member
Join Date: Nov 2010
Old 07-05-2011 , 20:31   Re: [L4D(2)] Laser Tag
Reply With Quote #31

I've tried you latest version of lasertag and I love it very much! It run smoothly with not problems.

Can you add a cvar allowing us to change different lasertag color's for different guns?
peter_hunter is offline
.MrEclipse.
Junior Member
Join Date: Jul 2012
Old 08-14-2012 , 05:49   Re: [L4D(2)] Laser Tag
Reply With Quote #32

Video Demo : https://www.youtube.com/watch?v=zsId...c&feature=plcp
.MrEclipse. is offline
edu.1962
Member
Join Date: Mar 2010
Old 09-23-2017 , 04:57   Re: [L4D(2)] Laser Tag
Reply With Quote #33

Is a dead plugin or someone care to fix it?
edu.1962 is offline
simvolist777
Junior Member
Join Date: Oct 2017
Location: Afghanistan, Kandahar
Old 10-31-2017 , 12:54   Re: [L4D(2)] Laser Tag
Reply With Quote #34

How can I change the color of the laser itself, so that it is not red, but green? Or this plugin can only change the color of the flying bullets? Then which plug-in can change the color of the laser beam?
simvolist777 is offline
ricksfishin
Senior Member
Join Date: Oct 2017
Old 01-31-2018 , 18:41   Re: [L4D(2)] Laser Tag
Reply With Quote #35

Working version
Attached Files
File Type: smx l4d_lasertag.smx (8.8 KB, 232 views)
File Type: sp Get Plugin or Get Source (l4d_lasertag.sp - 475 views - 10.5 KB)
ricksfishin is offline
BloodyBlade
Senior Member
Join Date: Feb 2018
Old 09-08-2019 , 19:05   Re: [L4D(2)] Laser Tag
Reply With Quote #36

* Converted plugin source to the latest syntax. Requires SourceMod 1.8 or newer.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_lasertag.sp - 442 views - 10.4 KB)
BloodyBlade is offline
dahyun4220
Member
Join Date: Sep 2021
Old 09-21-2021 , 00:56   Re: [L4D(2)] Laser Tag
Reply With Quote #37

Is there anyone who can make this color random?
dahyun4220 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-21-2021 , 08:29   Re: [L4D(2)] Laser Tag
Reply With Quote #38

Just add these lines before TE_SetupBeamPoints

PHP Code:
        // Draw the line
        
g_LaserColor[0] = GetRandomInt(0255);
        
g_LaserColor[1] = GetRandomInt(0255);
        
g_LaserColor[2] = GetRandomInt(0255);
        
g_LaserColor[3] = GetRandomInt(0255); //this is the alpha maybe you want it set as 255
        
if(!botTE_SetupBeamPoints(startPosbulletPosg_Sprite000g_LaserLifeg_LaserWidthg_LaserWidth10.0g_LaserColor0);
        else 
TE_SetupBeamPoints(startPosbulletPosg_Sprite000g_LaserLifeg_LaserWidthg_LaserWidth10.0g_BotsLaserColor0); 
__________________

Last edited by Marttt; 09-21-2021 at 08:40.
Marttt is offline
Reply



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


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