Raised This Month: $105 Target: $400
 26% 

Weapons Zoom


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Arkshine (91)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-23-2010 , 10:49   Weapons Zoom
Reply With Quote #1

Weapons Zoom




.: Description :.


This plugin lets you enable zooming with all weapons, or change default weapons zoom.



.: Commands :.

  • weapon_zoom <weapon shortname> <delay> <maxspeed> <zoom1> [zoom2(optional)]
    • Delay : delay to add when weapon will be usable after zoom : default cs seems to be 0.3
    • MaxSpeed : maxspeed a player can gain when the weapon is zoomed (put 0 to keep normal speed, unless you alter a sniper zoom)
    • Zoom1 : 0-90 First zoom value. Default : aug and krieg552 : 55 , snipers 40
    • Zoom2 : 0-90 Second zoom, put 90 for no 2nd zoom. Default: snipers : 15, Awp : 10
  • weapon_unzoom <weapon shortname>
Restore default weapon ability
Weapons short names are :
  • p228
  • scout
  • hegrenade
  • xm1014
  • c4
  • mac10
  • aug
  • smokegrenade
  • elite
  • fiveseven
  • ump45
  • sg550
  • galil
  • famas
  • usp
  • glock18
  • awp
  • mp5navy
  • m249
  • m3
  • m4a1
  • tmp
  • g3sg1
  • flashbang
  • deagle
  • sg552
  • ak47
  • knife
  • p90



.: Modules :.


FakeMeta
HamSandwich



.: Notes :.


For weapons that already have a 2nd attack, such as knife, usp/m4a1, glock/famas, you also need to press use button in order to zoom



.: Credits :.


HLSDK
CS-SDK




.: To approvers :.


Some plugin already do same things :
- Zoom all CS guns
- Bullseye
- Buy Zoom v1.2.4
- CS Variable-Zoom Scopes

This plugin is different (better ?) because you don't need any extra command to zoom, and also you can set weapon delay, and weapon maxspeed, all of this on each weapon type.



.: To do list :.


- Add full support for shield (maxspeed, no zoom when shield is active...)



.: ChangeLog :.

Code:
v0.0.2 23 april 2010
- fixed typo when check for shotgun
Attached Files
File Type: sma Get Plugin or Get Source (weapons_zoom.sma - 10159 views - 7.0 KB)
__________________
- tired and retired -

Last edited by ConnorMcLeod; 04-23-2010 at 15:04.
ConnorMcLeod is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-23-2010 , 10:54   Re: Weapons Zoom
Reply With Quote #2

Useless !
__________________
Arkshine is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-23-2010 , 10:56   Re: Weapons Zoom
Reply With Quote #3

Quote:
Originally Posted by Arkshine View Post
Useless !
That's why i post it here.
Please people don't use it.
__________________
- tired and retired -
ConnorMcLeod is offline
fR4gn0tiX!
Senior Member
Join Date: Nov 2009
Location: Georgia, Tbilisi
Old 04-23-2010 , 11:04   Re: Weapons Zoom
Reply With Quote #4

Such plugin was already made:

[You must be registered to view this hidden text. Click Here to register]http://forums.alliedmods.net/showthread.php?t=15504

but I guess this one is better xD
__________________

Last edited by fR4gn0tiX!; 04-23-2010 at 13:21.
fR4gn0tiX! is offline
Send a message via Skype™ to fR4gn0tiX!
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-23-2010 , 11:25   Re: Weapons Zoom
Reply With Quote #5

Quote:
Originally Posted by fR4gn0tiX! View Post
Such plugin was already made:

[You must be registered to view this hidden text. Click Here to register]

but I guess this one is better xD
Added a statement for approvers.
Your post means nothing ("You must be registered to view this hidden text")
__________________
- tired and retired -
ConnorMcLeod is offline
unnyquee
Senior Member
Join Date: Jun 2009
Location: Constanta, Romania
Old 04-23-2010 , 12:54   Re: Weapons Zoom
Reply With Quote #6

Useless Great plugin ^^.
Searched for that a while ago, but didn't find it.
__________________
unnyquee is offline
EXteRmiNaToR
Senior Member
Join Date: Dec 2009
Old 04-23-2010 , 12:58   Re: Weapons Zoom
Reply With Quote #7

Nice!Could you also add a cvar "weapon_zoom all" and weapon_unzoom all"?
EXteRmiNaToR is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-23-2010 , 13:03   Re: Weapons Zoom
Reply With Quote #8

No point in doing this, but you could put a .cfg on your server so you can enable all weapons executing that .cfg, and same to disable all.
__________________
- tired and retired -
ConnorMcLeod is offline
EXteRmiNaToR
Senior Member
Join Date: Dec 2009
Old 04-23-2010 , 13:21   Re: Weapons Zoom
Reply With Quote #9

Quote:
Originally Posted by ConnorMcLeod View Post
No point in doing this, but you could put a .cfg on your server so you can enable all weapons executing that .cfg, and same to disable all.
Okay,will do it that way.
EXteRmiNaToR is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 04-23-2010 , 23:12   Re: Weapons Zoom
Reply With Quote #10

to many Zooming plugins make a plugin so you can look down the gun like call of duty, that would be cool
__________________
Zombiezzz 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 04:12.


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