AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Laser Sight (https://forums.alliedmods.net/showthread.php?t=59548)

Toster v2.1 08-16-2007 08:36

Laser Sight
 
8 Attachment(s)
I know there are other plugins like this, but mine should work with all mods
and its a bit more advanced.

Cvars:
*ls_enabled 1 - Toggle plugin
*ls_line 1 - If 0 it's a dot, if 1 - a line
*ls_pvis 0 - If 1 only you can see your laser
*ls_wpns "0;4;6;9;25;29;" - Weapon ID's that doesn't have a laser. After
changing this you must enter ls_refresh in console! (I attached a list of
CS weapon ID's)
*ls_rgb "255 0 0;" - Color of laser (red green blue) If you want different
team colors see example below. After changing this you must enter
ls_refresh in console!

List of RGB colors

Commands:
*ls_refresh - Refreshes weapons and rgb (ADMIN_KICK)
*ls_getteam - Gets your current team's id (ADMIN_KICK)
*ls_getwpn - Gets your current weapon's id (ADMIN_KICK)

Examples:

Code:

ls_rgb "255 0 0; 0 0 255;"
In CS T's would have red lasers,but CT's - blue

Code:

ls_wpns "0;4;6;9;25;29;"
In CS this removes laser from:
[no weapon], HE nade, C4, Smoke nade, flashbang & knife

Updates v0.3:
*Using PCvars (less lagg)
*Added cvar ls_pvis (see above) - Thx Emp`
*Laser now comes from gun - Thx XxAvalanchexX

Updates v0.4:
*RGB in one cvar
*Added clcmd ls_refresh (so you don't have to changelevel)

Updates v0.5:
*Added commands ls_getteam and ls_getwpn

M249-M4A1 08-16-2007 10:03

Re: Laser Sight
 
That's cool I like it!

X-Script 08-16-2007 10:06

Re: Laser Sight
 
Just a little suggestion i don't think i'd want to see all the other players laser points running around, it gives away your position. Make the laserpoint "player-view" so only the client can see his laserpoint and not the other players. Also, if you do take this into consideration maybe making it a CVAR.

Toster v2.1 08-16-2007 10:12

Re: Laser Sight
 
I don't think thats possible... If you set ls_line to 0 its impossible to tell your position! It's just a dot.

X-Script 08-16-2007 10:17

Re: Laser Sight
 
It's possible if you make it a model and only precache the p_namehere.mdl then only the player can see it.

But I didn't see the ls_line command, so I guess your okay; my mistake.

Good plugin.

mordi 08-17-2007 13:04

Re: Laser Sight
 
dont see the point with this plugin

Toster v2.1 08-17-2007 14:35

Re: Laser Sight
 
Fun! :D

BlackMilk 08-17-2007 16:18

Re: Laser Sight
 
I'm sure I'll find some use for this, otherwise it can just add a dimension of challenge. Less trying to out-manouvre eachother and more actual combat =]

Great job, I just hope it works :wink:

M249-M4A1 08-17-2007 18:05

Re: Laser Sight
 
A lot of plugins nowdays don't have a point, but it's just fun to have and see something different on a server. Good work, Toster.

Toster v2.1 08-18-2007 03:52

Re: Laser Sight
 
I found a point! Less campers!
Can someone give me some feedback? Does it work with all mods?


All times are GMT -4. The time now is 20:24.

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