AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Zoom Info [distance, factor, angle] (https://forums.alliedmods.net/showthread.php?t=54305)

VEN 04-22-2007 11:16

Zoom Info [distance, factor, angle]
 
1 Attachment(s)
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.

Alka 04-22-2007 11:32

Re: Zoom Info [distance, factor, angle]
 
^^ Gj VEN! Nice work...,tested and works!
Image

Da_sk8rboy 04-22-2007 11:44

Re: Zoom Info [distance, factor, angle]
 
This is really nice VEN..

Juba_PornBorn1 04-22-2007 18:51

Re: Zoom Info [distance, factor, angle]
 
awesome, like the aproach.

Deviance 04-22-2007 19:31

Re: Zoom Info [distance, factor, angle]
 
Sweet, nice plugin! :up:

stupok 04-22-2007 22:11

Re: Zoom Info [distance, factor, angle]
 
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.

VEN 04-23-2007 02:17

Re: Zoom Info [distance, factor, angle]
 
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.

9evill 04-23-2007 09:13

Re: Zoom Info [distance, factor, angle]
 
any screenshoot?

Alka 04-23-2007 09:15

Re: Zoom Info [distance, factor, angle]
 
Quote:

Originally Posted by Alka (Post 468321)

:wink:

Styles 04-23-2007 15:44

Re: Zoom Info [distance, factor, angle]
 
Ven does it again! +Karma great original idea!

Noo ven! I can't give you any karma! lol!!


All times are GMT -4. The time now is 23:48.

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