⌂Starsiege: Tribes Community Archive

SnipeHud v1.21

by Zear
⤓ Download · 6.5 KB
The original zoom-in-a-window, SnipeHud allows you to see a small zoomed view, up to 250x. Many options. SnipeHUD lets you have an independantly zoomable HUD window in the lower right corner of your screen. That means that you can snipe while still keeping your full field of vision. I don't need to tell you how useful this is - and I can imagine combining it with a FOV of 120 degrees to make an unsurprisable sniping station! Requires: Presto Pack http://www.planettribes.com/zear/zears.html
Filename
snipehud121.zip
Size
6.5 KB (listed 6.5KB)
Type
ZIP
Version
1.21
Developer
Zear
Date
1999-04-28 (newest file inside)
theexiled upload
Jan 15, 2009 - 01:11
Format
Zip archive data, at least v2.0 to extract, compression method=deflate
Readme — SnipeHud readme.txt (from the archive itself)
SnipeHud v1.21

Written by Tim "Zear" Hammock ([email redacted])
April 6 - 28, 1999

    Thanks to Cowboy for the crosshair code snippet - genius
    Thanks to DS.Poker for the basis for my zoom-setting-chain-thingy
    Thanks to Presto for most of the 1.01 changes
    Thanks to the 1.1 beta testers for the many corrections and suggestions

==============================================================================

Contents:

I.   Installation
II.  Settings
III. Version history

==============================================================================

I. Installation:
----------------
    
 ****************************************************************************
 *                                                                          *
 *   Note: This script _requires_ the Presto Pack version 0.93 or better.   *
 *                                                                          *
 ****************************************************************************

1. If you don't already have one, create a '<tribes>\config\zear' folder.

2. Unzip SnipeHud.cs into the 'zear' folder.

3. In your <tribes>\config\autoexec.cs file, anywhere after the line

        exec("presto\\autoexec.cs");
        
   add the line
   
        Include("zear\\SnipeHud.cs");

4. Customize the settings as explained in section II, Settings, below.

5. (Re)start Tribes.

==============================================================================

II.  Settings:
--------------


-> Position and size:

These are set via the variable $SnipeHud::position on line 52. The string
assigned to $SnipeHud::position follows the format

    "x y width height"

with x indicating the distance from the left edge of the screen, and y
indicating the distance from the top edge of the screen. If you play Tribes in
a window, these measurements will of course be from the appropriate edge of
the Tribes window.

The position and size can be set either relative to the size of the screen, or
by exact pixel measurement. For instance, the default setting is

    $SnipeHud::position = "100% 100% 30% 30%";
    
This default setting uses relative measurement. The x value of 100% indicates
that the SnipeHud should be placed all the way to the right edge of the
screen. The y value of 100% indicates that the SnipeHud should be placed all
the way to the bottom edge of the screen. The width and height values indicate
that the hud should be 30% as wide as the screen and 30% as high as the screen
as well.

Using relative placement, the SnipeHud could be placed in the middle of the
screen using

    $SnipeHud::position = "50% 50% 30% 30%";
    
To use exact pixel measurements, simply omit the '%' symbols. For instance

    $SnipeHud::position = "400 240 240 240";
    
would place the SnipeHud's upper left corner 400 pixels across and 240 pixels
down from the screen's upper left corner, and will give the SnipeHud a size of
240x240. This would place a rather large view in the bottom-right corner of a
640x480 screen.

Keep in mind that relative placement will adjust for screen size automatically,
whereas exact pixel placement will not.

                                 ------------
                                 

-> Zoom on/off toggle:

To set the key that will toggle the SnipeHud on and off, set
$SnipeHud::zoomToggle on line 55 equal to the desired key. The default key is
the semicolon (';').

When you turn on the SnipeHud, the zoom level should be where you left it at
last use (unless you have not used it before, in which case it will default to
the lowest available zoom setting - see 'Zoom step settings').

See the sections on 'Initial-on', and 'Momentary Zoom' below for more
information.

                                 ------------
                                 

-> Sensitivity on/off toggle:

To set the key that will toggle custom mouse sensitivity on and off, set
$SnipeHud::sensitivity on line 58 equal to the desired key. The default key is
the 'l' (lowercase 'L').

The text of the magnification indicator will be white when custom mouse
sensitivity is activated, and brown when it is inactive.

You cannot toggle the custom mouse sensitivity on when the SnipeHud is not
visible.

See the sections on 'Active/Passive sensitivity' and 'Zoom step settings'
below for more information.

                                 ------------
                                 

-> Zoom-in and zoom out keys:

To set the keys that will zoom in or out one step, set $SnipeHud::zoomInKey
and $SnipeHud::zoomOutKey (on lines 61 and 63 respectively) equal to the
desired keys. The default key for zoom-in is the period ('.'), and the default
for zoom-out is the comma (',').

You can increase or decrease the zoom while the SnipeHud is not visible, but
doing so will no longer automatically activate the SnipeHud as in previous
versions.

See the sections on 'Active/Passive sensitivity' and 'Zoom step settings'
below for more information.
	
                                 ------------
                                 

-> Sniper-style crosshair:

SnipeHud supports two crosshair types: a small + shaped crosshair, or the
sniper-style crosshair, which extends to the edges of the hud. The default
is false (use small crosshair).

To set SnipeHud to use the sniper-style crosshair, set line 65 to

    $SnipeHud::sniperCrosshair = true;

To use the small crosshair, set line 65 to

    $SnipeHud::sniperCrosshair = false;
	
                                 ------------
                                 

-> Hud frame:

SnipeHud can show a frame around the hud, or not. The default is true (show
the frame).

To set SnipeHud to show the frame, set line 68 to

    $SnipeHud::showFrame = true;

To disable the frame, set line 68 to

    $SnipeHud::showFrame = false;
	
                   
Contents — 2 files (inside the archive)
snipehud
Source: The Exiled — Tribes Repository
Original page: https://library.theexiled.pwnageservers.com/file.php?id=465
Archived source HTML: theexiled/mirror-html/file/465.html