Raised This Month: $7 Target: $400
 1% 

Sniper Crosshairs


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related       
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 07-02-2012 , 10:29   Sniper Crosshairs
Reply With Quote #1

Description:
Gives CS-Style non-zoom crosshairs to sniper rifles (not the small yellow one - the real crosshairs as in galil, ak47, sg552). See the "awp" screenshot for awp example.


Requires:
FakeMeta
HamSandWich


Cvars:

* "amx_sniper_crosshairs" - what weapons have crosshairs (just add the numbers).
- "1" - awp
- "2" - scout
- "4" - g3sg1
- "8" - sg550


Additional info:
Tested in Counter-Strike 1.6 with amxmodx 1.8.2 (dev build hg21).


Notes:
Such a plugin already was made by ConnorMcLeod and is called Real Snipers Crosshairs. However there have been bug reports. Thanks to some research I found a bug-free method, and decided to make it publicly available. After some talk with Arkshine, we decided the best thing to do is post the plugin here of course.


Warnings:
Only known issue is if you have awp currently out and you happen to have galil in your inventory at the same time. In that case the galil green-bullet-bar (in your inventory) will be showing the same bullet-percentage-filled as awp. See the "glitch_awp_out" & "glitch_galil_out" screenshots to understand better.


Credits:
Special thanks to Arkshine for help in WeaponList related things. Also I'd like to thank ConnorMcLeod for his Real Snipers Crosshairs plugin, which allowed me to understand the basic method of how to add a crosshair to the weapon.


Change-Log:

* 1.3
- Fixed: Error "invalid player index".

* 1.2
- Fixed: Hud glitches while having 'opposed' weapons.
- Changed: Official release.

* 1.1
- Fixed: Glitch with hud when having sniper and its 'opposed' weapon.
- Fixed: Glitch when having m249 and awp, m249 bullet type isn't shown when buying them.
- Changed: 'Opposed' for awp is now galil - not m249.

* 1.0
- First release.
Attached Files
File Type: zip ScreenShots.zip (3.51 MB, 2795 views)
File Type: sma Get Plugin or Get Source (sniper_crosshairs.sma - 3105 views - 12.7 KB)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 10-05-2012 at 05:25.
MPNumB is offline
Send a message via Skype™ to MPNumB
akomismo
Member
Join Date: Aug 2012
Old 08-15-2012 , 19:24   Re: Sniper Crosshairs
Reply With Quote #2

is this for admin only?
akomismo is offline
akomismo
Member
Join Date: Aug 2012
Old 08-15-2012 , 19:25   Re: Sniper Crosshairs
Reply With Quote #3

can u make this for admin only thanks
akomismo is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 08-15-2012 , 20:13   Re: Sniper Crosshairs
Reply With Quote #4

Never use this with easyanticheat on.
__________________
kramesa is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 08-16-2012 , 09:07   Re: Sniper Crosshairs
Reply With Quote #5

Quote:
Originally Posted by akomismo View Post
is this for admin only?
No.

Quote:
Originally Posted by akomismo View Post
can u make this for admin only thanks
Admins aren't gods, so no.

Quote:
Originally Posted by kramesa View Post
Never use this with easyanticheat on.
This is only visual HUD thing (bullets don't go any more accurate) - clients shouldn't get banned.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 08-16-2012 , 09:20   Re: Sniper Crosshairs
Reply With Quote #6

Well Done Master.
The power is with you aways
__________________
As soon as possible.
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 08-16-2012 , 11:27   Re: Sniper Crosshairs
Reply With Quote #7

Quote:
Originally Posted by MPNumB View Post
No.


Admins aren't gods, so no.


This is only visual HUD thing (bullets don't go any more accurate) - clients shouldn't get banned.
http://easyanticheat.userboard.net/t...about-eac-bans


Quote:
Q: Can I modify the model of the AWP sniper weapon and attach a crosshair to it while unscoped?
-A: No. Such crosshair will give you an advantage in aiming without scope, thus it is not allowed. (Why else would you want to apply a crosshair to it?)
But nice plugin.
__________________
kramesa is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 08-16-2012 , 19:14   Re: Sniper Crosshairs
Reply With Quote #8

Quote:
Originally Posted by kramesa View Post
http://easyanticheat.userboard.net/t...about-eac-bans

Quote:
Q: Can I modify the model of the AWP sniper weapon and attach a crosshair to it while unscoped?
-A: No. Such crosshair will give you an advantage in aiming without scope, thus it is not allowed. (Why else would you want to apply a crosshair to it?)
But nice plugin.
Well, it's the server who is changing the information sent to the client. Therefor client isn't using any custom files, which means that anti-cheat will not ban the client due to use of custom illegal things. It can ban however if the anti-cheat makes a screenshots, and sees the crosshair itself in the image. Without that I cannot figure out any other reason why you and how you could get banned by using this plugin.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 08-16-2012 at 19:14.
MPNumB is offline
Send a message via Skype™ to MPNumB
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 08-18-2012 , 03:23   Re: Sniper Crosshairs
Reply With Quote #9

Nice plugin!
__________________
kiki33hun is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 08-25-2012 , 11:06   Re: Sniper Crosshairs
Reply With Quote #10

Quote:
Originally Posted by MPNumB View Post
Well, it's the server who is changing the information sent to the client. Therefor client isn't using any custom files, which means that anti-cheat will not ban the client due to use of custom illegal things. It can ban however if the anti-cheat makes a screenshots, and sees the crosshair itself in the image. Without that I cannot figure out any other reason why you and how you could get banned by using this plugin.
Ok man, sorry
__________________
kramesa is offline
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 01:00.


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