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

[CS:GO] WA Simple Weapon Lasers


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mitchell
~lick~
Join Date: Mar 2010
Plugin ID:
5137
Plugin Version:
1.0.0
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Just a simple weapon lasers plugin
Old 04-14-2016 , 10:00   [CS:GO] WA Simple Weapon Lasers
Reply With Quote #1

Simple Weapon Lasers

Just a simple laser plugin, that shows a laser beam whenever a player shoots a weapon.



Config:
Code:
sm_walt_color "0" - Hex color of laserbeam (#RRGGBB); 0 = Team colored; 1 = Random
sm_walt_color_ct "0C0CFF" - Hex color of ct laserbeam (#RRGGBB)
sm_walt_color_t "FF0C0C" - Hex color of t laserbeam (#RRGGBB)
sm_walt_renderamt "200" - Render amount of the laser beam
sm_walt_width "2.0" - Width of the laser beam
sm_walt_endwidth "2.0" - End Width of the laser beam
sm_walt_view "0" - Who can see the beam; 0 = All, 1 = User-only, 2 = Enemies, 3 = Teammates
Requirement:
Weapon Attachment API

Downloads:
Plugin
Source

GitHub Link

Last edited by Mitchell; 02-13-2017 at 12:48.
Mitchell is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 04-14-2016 , 21:39   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #2

can we change the laser size and transparent ?
__________________
nguyenbaodanh is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 04-14-2016 , 21:47   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #3

Quote:
Originally Posted by nguyenbaodanh View Post
can we change the laser size and transparent ?
https://github.com/MitchDizzle/Weapo...nLasers.sp#L74

https://sm.alliedmods.net/new-api/sd...etupBeamPoints
Addicted. is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-14-2016 , 23:08   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #4

Quote:
Originally Posted by nguyenbaodanh View Post
can we change the laser size and transparent ?
Ill see about adding a couple more convars!
Mitchell is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 04-15-2016 , 02:12   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #5

https://github.com/MitchDizzle/Weapo...s.smx?raw=true

page not found

no plugin

edit: solved

Last edited by asdfxD; 04-15-2016 at 02:12.
asdfxD is offline
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 04-15-2016 , 02:28   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #6

Would be nice if there is a command for players for enable/disable
mazdarx8 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-18-2016 , 14:53   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #7

Quote:
Originally Posted by mazdarx8 View Post
Would be nice if there is a command for players for enable/disable
like client prefs?
How about a
"Disable All Lasers"
"Disable your lasers"

Last edited by Mitchell; 04-18-2016 at 14:54.
Mitchell is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-18-2016 , 18:58   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #8

Version 1.1.0 released
Includes:
Convars for CT/T Colors
Convar for the Render Amount
Convar for the width and end width of the laser
Convar for who can see the lasers (teammates/enemies/self)

sm_walt_color "0" - Hex color of laserbeam (#RRGGBB); 0 = Team colored; 1 = Random
sm_walt_color_ct "0C0CFF" - Hex color of ct laserbeam (#RRGGBB)
sm_walt_color_t "FF0C0C" - Hex color of t laserbeam (#RRGGBB)
sm_walt_renderamt "200" - Render amount of the laser beam
sm_walt_width "2.0" - Width of the laser beam
sm_walt_endwidth "2.0" - End Width of the laser beam
sm_walt_view "0" - Who can see the beam; 0 = All, 1 = User-only, 2 = Enemies, 3 = Teammates
Mitchell is offline
poptartbr10
Junior Member
Join Date: Apr 2016
Old 04-19-2016 , 11:08   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #9

Hey nice plugin. It is possible to make a player not see the laser ? So if he writes a command like !lasers he can turn them on and off. If it is off he won't see the lasers but other players do. I'm not that good at sm,is that possible ?
poptartbr10 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-19-2016 , 11:12   Re: [CSGO] WA Simple Weapon Lasers
Reply With Quote #10

Quote:
Originally Posted by poptartbr10 View Post
Hey nice plugin. It is possible to make a player not see the laser ? So if he writes a command like !lasers he can turn them on and off. If it is off he won't see the lasers but other players do. I'm not that good at sm,is that possible ?
Yes this is possible, ill try adding it within the next version.
Mitchell 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 22:09.


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