Raised This Month: $100 Target: $400
 25% 

Zoom Info [distance, factor, angle]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay        Approver:   Hawk552 (427)
VEN
Veteran Member
Join Date: Jan 2005
Old 04-22-2007 , 12:16   Zoom Info [distance, factor, angle]
Reply With Quote #1

Description
Displays view distance, zoom factor and field of view angle text information while in zoom.
Example
Code:
Zoom: x3 (10deg)
Distance: 107.1m (4218.3u)
  • x3 - x3 zoom (awp, scout, etc) - zoom factor
  • 10deg - 10 degrees - field of view angle
  • 107.1m - 107.1 meters - view distance
  • 4218.3u - 4218.3 game distance units
Colors
  • yellow - default
  • red - aiming at enemy
  • green - aiming at teammate
Additional notes
  • Based on access request.
  • Should work for most of HL mods.
  • Shouldn't overflow clients.
  • Should support most of custom zoom plugins.
Attached Files
File Type: sma Get Plugin or Get Source (zoom_info.sma - 4602 views - 1.2 KB)
VEN is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 04-22-2007 , 12:32   Re: Zoom Info [distance, factor, angle]
Reply With Quote #2

^^ Gj VEN! Nice work...,tested and works!
Image
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Da_sk8rboy
Veteran Member
Join Date: Jul 2006
Old 04-22-2007 , 12:44   Re: Zoom Info [distance, factor, angle]
Reply With Quote #3

This is really nice VEN..
__________________
i stop around here and there.
Da_sk8rboy is offline
Juba_PornBorn1
BANNED
Join Date: Feb 2007
Location: Caracas
Old 04-22-2007 , 19:51   Re: Zoom Info [distance, factor, angle]
Reply With Quote #4

awesome, like the aproach.
Juba_PornBorn1 is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-22-2007 , 20:31   Re: Zoom Info [distance, factor, angle]
Reply With Quote #5

Sweet, nice plugin!
Deviance is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 04-22-2007 , 23:11   Re: Zoom Info [distance, factor, angle]
Reply With Quote #6

VEN, can you explain what _: means?

Code:
static Float:units, player
units = get_user_aiming(id, player, _:units)
I'm also curious how you can make any judgment as to how many game units are in a meter... just wondering.
stupok is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-23-2007 , 03:17   Re: Zoom Info [distance, factor, angle]
Reply With Quote #7

Quote:
what _: means?
So called default tag, i.e. "no tag". I'm using _:units as dummy to not create additional variable for that.
As for your second question - probably you just didn't noticed the comment in the source code.

Last edited by VEN; 04-24-2007 at 07:25.
VEN is offline
9evill
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 04-23-2007 , 10:13   Re: Zoom Info [distance, factor, angle]
Reply With Quote #8

any screenshoot?
9evill is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 04-23-2007 , 10:15   Re: Zoom Info [distance, factor, angle]
Reply With Quote #9

Quote:
Originally Posted by Alka View Post
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 04-23-2007 , 16:44   Re: Zoom Info [distance, factor, angle]
Reply With Quote #10

Ven does it again! +Karma great original idea!

Noo ven! I can't give you any karma! lol!!
Styles is offline
Send a message via AIM to Styles Send a message via MSN to Styles
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 11:45.


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