Raised This Month: $94 Target: $400
 23% 

Laser Sight


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   EKS (167)
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 02-10-2006 , 02:54   Laser Sight
Reply With Quote #1

Laser Sight
By Lord Saddler

Description

Allows the user to buy a laser sight in four colors: red, green, blue, and white.

Commands

<CLIENT> say /buyls
<CVAR> amx_laser_cost "num (default 200)"
<CVAR>amx_laser_size "0/1" (0 = small / 1 = large / default 0)
<CVAR>amx_laser_crosshairs "0/1" (0 = no crosshairs with laser / 1 = keep crosshairs with laser)

Credits

GHW Chronic - Help with sizing of laser
Knekter - Parts of code for the laser
v3x - Misc. help

Screenshots

http://clanutg.clan.net/images/amxx/...sight_menu.jpg
http://clanutg.clan.net/images/amxx/laser_sight_red.jpg
http://clanutg.clan.net/images/amxx/...ight_green.jpg
http://clanutg.clan.net/images/amxx/...sight_blue.jpg
http://clanutg.clan.net/images/amxx/...ight_white.jpg

Screenshots are only of large laser sights because small laser sights are well, too small
Attached Files
File Type: sma Get Plugin or Get Source (laser_sight.sma - 14749 views - 4.2 KB)
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
gunsniper
Member
Join Date: Jun 2005
Location: PA - USA
Old 02-10-2006 , 16:52  
Reply With Quote #2

this sounds cool...and could help with aiming, can all players see the laster or just the player using the dot. it would be nice to have just a dot insted of lines or anything also(in the pic it looks like a line)
__________________
gunsniper is offline
Send a message via AIM to gunsniper Send a message via Yahoo to gunsniper
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 02-10-2006 , 19:15  
Reply With Quote #3

lol, wait i'm confused does this help in aiming or does it do somethin else...? Also your enemies can't see the laser can they?
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 02-10-2006 , 22:07  
Reply With Quote #4

Yes, enemies can see the laser. I will work on making it a dot.
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 02-11-2006 , 05:04  
Reply With Quote #5

Updated:

1.1 - Added CVAR to change the size of the laser from large to small or back again
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
Agret
Member
Join Date: Jan 2005
Location: Melbourne, Victoria
Old 02-12-2006 , 01:10  
Reply With Quote #6

Wow looks bad, why would you want this?
__________________

(`._Agret_.)
.-~*'ϔm_h__d_l_gꆨ'*~-.
Agret is offline
Send a message via ICQ to Agret Send a message via AIM to Agret Send a message via MSN to Agret Send a message via Yahoo to Agret
crazydog115
Junior Member
Join Date: Jan 2006
Old 02-12-2006 , 04:24  
Reply With Quote #7

Not too good...

It's just a moving vertical line...the trail needs to be removed, and in my opinion it should be more like the models you can download with laser sights. Comes from the gun, is transparent, and always aims at the middle of your crosshair.
crazydog115 is offline
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 02-12-2006 , 05:40  
Reply With Quote #8

Then don't use it.

Updated:

1.2 - Can set CVAR to turn off crosshairs and have only laser sight (saves original crosshair color and restores on death).

EDIT: Currently has a small bug, working it out.
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
KoST
Senior Member
Join Date: Jul 2005
Old 02-12-2006 , 14:47  
Reply With Quote #9

i didn't test it yet, but you used writecfg/exec to reset cl_crosshair_color (right?), isn't this changing your name also? (to the one you had on client_putinserver)
__________________
KoST is offline
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 02-12-2006 , 17:19  
Reply With Quote #10

Yeah that's the bug, i was too tired to fix it last night so im gonna fix today.
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
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 20:10.


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