⌂Starsiege: Tribes Community Archive

Writer's Support Pack for Starsiege Tribes

by "Writer" Lorne Laliberte
⤓ Download · 88.2 KB
by Lorne Laliberte, The Friendly Canadian Writer The Support Pack The Support Pack is a collection of scripts I've designed to add useful functions and features to Tribes. This pack consists of: support.vol a Tribes "volume" file containing all the support scripts and some bitmaps they need support.acs.cs a script that mounts the support.vol so the contents are visible to Tribes support.txt the support pack "readme" text file The support pack is currently at version 5.12 (February 23, 2001) Disclaimer You are free to modify these scripts in any way, but if you make any changes, you MUST send me a copy. Please. And if you come up with something really cool, please share your discoveries and your scripts with the rest of us. By downloading these scripts, you assume all responsibility for any damages caused, however unlikely they may be. <B>Installation instructions 1. Download the support pack below 2. Unpack the support.zip file and place the contents in your Tribes\config directory 3. (Optional) Edit the settings at the top of the support.acs.cs file support.acs.cs will load automatically if you have NewOpts installed, however, NewOpts is not required for my scripts to run 4. If you don't have NewOpts installed, add exec("support.acs.cs"); to your autoexec.cs file 5. If you're running the Presto pack, or if you run into any problems, add exec("writer\\force.cs"); to the VERY LAST line of your autoexec.cs file 6. That's it! The scripts in the support pack can now be included by other scripts as required So what's in the support pack? Here is a list of the scripts currently in the support pack: File: Version: Date: Description: ascii.cs - 1.1 - April 7, 2000 - Adds ascii() and chr() functions to Tribes ask.cs - 1.1 - March 29, 2000 - Dialog HUD to get text from a user bind.cs - 1.3 - October 22, 2000 - Adds a new bind() function to Tribes -- lets you use any key as a modifier and set up modified mouse/joystick binds, also lets scripters know what key combo is bound to a given function bitmap_strings.cs - 1.2 - December 31, 2000 - Convert text strings to "strings" of bitmaps with transparent backgrounds do_nothing.cs - 1.2 - April 9, 1999 - Empty function to unbind keys (binding to "" doesn't erase a previous binding) energy.cs - 1.1 - December 14, 2000 - Adds eventEnergyChange (which triggers every time your armor's energy changes) event.cs - 2.7 February 16, 2000 - A speed-optimized event-handling system for Tribes events.cs - 1.6 - February 18, 2001 - A whole bunch of default events for Tribes flood.cs - 1.3 - December 30, 1999 - Functions to facilitate flood protection force.cs - 1.1 - May 25, 2000 - Attempts to override old scripts in Presto Pack include.cs - 1.11 - October 27, 2000 - Adds include() function to Tribes to prevent script reentrance inventory.cs - 3.4 - February 18, 2001 - Builds tables containing data about items in the game for scripts to use item_events.cs - 2.13 - February 18, 2001 - Adds a lot of item-based events ladder.cs - 1.5 - December 14, 2000 - Sets up an if-else-if style ladder to avoid unnecessary message parsing within my scripts loader.cs - 7.5 - February 18, 2001 - Loads any feature scripts found in the config\writer directory loadout.cs - 1.1 - February 18, 2001 - Adds functions to determine what items you're currently carrying menu.cs - 1.3 - November 4, 2000 - Powerful keyboard- or mouse-controllable in-game menu HUD modifier.cs - 2.5 - October 22, 2000 - Allows scripts to detect when certain keys are pressed and released more.cs - 1.1 - March 13, 2000 - An in-game keyboard and/or mouse-controllable text viewer HUD msgevent.cs - 1.3 - December 14, 2000 - Message-specific event handler, triggers off whole strings, very fast (no parsing) needs.cs - 1.1 - November 4, 1999 - A couple functions to generate error messages when a script is missing some other scripts it requires ping.cs - 3.1 - December 30, 1999 - Functions to determine your current ping or to call a function after a delay equal to your current ping pixels.cs - 1.1 - March 15, 2000 - Returns the width of a text string in pixels (useful for positioning text within HUDs) queue.cs - 2.2 - December 30, 1999 - Adds a named FIFO queue handler to Tribes repair_events.cs - 1.3 - December 14, 2000 - Adds events that trigger when you repair items, etc. save.cs - 2.4 - February 18, 2001 - Functions to handle loading/saving the settings for my scripts in the wp_ files schedule.cs - 1.3 - March 27, 2000 - Adds a named schedule handler to Tribes, and the ability to cancel pending calls screensize.cs - 1.1 - May 8, 1999 - Functions to get the current screensize scroller.cs - 1.1 - February 15, 2000 - Functions to scroll text horizontally in a HUD sort.cs - 1.1 - April 10, 2000 - Flexible insertion sort routine station_events.cs - 4.8 - May 27, 2000 - Adds inventory and vehicle station events station_types.cs - 1.2 - December 29, 1999 - Adds station-type-specific events tap.cs - 1.2 - December 30, 1999 - Functions to easily detect whether a key was tapped version.cs - 1.8 - November 11, 1999 - Functions to register a script's version information and preform version comparisons weapon_switch.cs - 2.6 - February 18, 2001 - Triggers events on weapon, ammo, armor and grenade/mine changes whatif.cs - 1.1 - April 12, 1999 - Adds wif() function -- a pseudo ternary conditional operator for Tribes wHUD.cs - 1.3 - February 18, 2001 - A flexible and powerful system to generate HUDs wlist.cs - 1.1 - March 13, 2000 - Allow users to select an item from a list from in-game using a HUD controllable via keyboard or mouse wtoggle.cs - 1.1 - March 13, 2000 - Allow users to toggle items on/off in a list from in-game using a HUD controllable via keyboard or mouse yes_no.cs - 1.1 - February 24, 2000 - Flexible HUD-based "Yes/No" dialog to get boolean answers from players you_died.cs - 1.6 - December 14, 2000 - Adds eventYouDied, which triggers whenever you are killed in a game you_respawned.cs - 1.2 - December 12, 2000 - Adds eventYouRespawned, which triggers whenever you respawn in a game you_spawned.cs - 1.1 - February 21, 2000 - Adds eventYouSpawned, which triggers when you spawn in a game http://www.planettribes.com/lorne/scripts/support.shtml
Filename
support.zip
Size
88.2 KB (listed 88.2KB)
Type
ZIP
Version
5.12
Developer
"Writer" Lorne Laliberte
Date
2001-02-23 (newest file inside)
theexiled upload
Jun 06, 2009 - 16:18
Format
Zip archive data, at least v2.0 to extract, compression method=deflate
Readme — support.txt (from the archive itself)
------------------------------------------------------------------------------
Writer's Support Scripts for Starsiege Tribes -- February 23, 2001
by Lorne Laliberte ([email redacted])

http://www.writerscripts.com
------------------------------------------------------------------------------

This support pack consists of:

support.vol    (contains support scripts that add useful functions to Tribes)
support.acs.cs (mounts the vol so the contents are visible to Tribes)
support.txt    (this text file)


I. Disclaimer

    Although I have made every attempt possible to ensure my scripts are safe, I 
    provide no warranty of any kind.  You must use these scripts entirely at 
    your own risk.

    You are free to modify these scripts in any way, but if you make any
    changes, you MUST send me a copy.  Please.  And if you come up with
    something really cool, please share your discoveries and your scripts with
    the rest of us.

    Feel free to borrow from my code as much as you want - there is nothing 
    cooler to me than seeing other scripters learn from my examples. But if you 
    distribute any scripts based upon my work, please indicate that in the 
    credits. I will not be responsible for the harm to your karma that results 
    from any failure to give props on your part.


II. Installation instructions

    Important: please make a backup of your config directory before installing
               these scripts. :)

    If you are using version 3.6 or earlier of Writer's scripts, you may need
    to backup, then delete your config.cs file to remove some old key binds
    so they won't interfere with the new stuff.  Alternatively, you can
    remove the old modifier.cs binds from the actionMap section of your
    config.cs yourself -- if you don't understand what this means, then just
    delete your config.cs and let Tribes rebuild it.

    Note: after deleting your config.cs, you may need to rebind the keys you
          had bound in the Tribes option screen.

    Tip: set up a duplicate of your config.cs file that has the key binds the
         way you like them, and then execute that file from your autoexec.cs
         file.  This way you can delete the config.cs file whenever you feel
         like it, without having to rebind all your (options screen) keys.

    To install this support pack:

    1. Copy the contents to your config directory

    2. (optional) Edit the settings at the top of the support.acs.cs file

    3. My scripts will autoload if you have NewOpts installed, however, NewOpts
       is not required for my scripts to run.

       If you don't have NewOpts installed, add:

       exec("support.acs.cs");

       ...to your autoexec.cs file

    4. If you're running the Presto pack or other scripts, or if you run into
       any problems, add:

       exec("writer\\force.cs");

       ...to the VERY LAST line of your autoexec.cs file

    5. That's it!


III. Changing your settings

    If you ever need to change the support pack settings, you can edit the
    wp_support.cs file in your Tribes\config directory.


IV. Important notes

    The scripts in the support.vol file are not executed automatically -- each
    script is loaded only when another script you are using requires it.

    To run my "feature" scripts like jump.cs, simply download them from my
    website and install them in a Tribes\config\writer directory.  Any of my
    scripts found in Tribes\config\writer are loaded automatically when you
    start Tribes if this support pack is installed.

    If you've used my scripts in the past, note that there is a setting in
    support.acs.cs (and the wp_support.cs file) that you can set to "true" if
    you want my scripts to use the settings in your WriterPrefs.cs file.


V. Notes for scripters

    The scripts in support.vol are accessed as though they were in a
    config\writer directory.

    To ensure that the support.vol is mounted before any of your scripts
    use it, add:

    include("support.acs.cs");

    ...to your scripts before any calls to include support files.


VI. Troubleshooting

    If you run into any problems and need some help, please try to provide as
    much information as you can.  It helps if you can send me a log of your
    console output -- to enable console logging, add:

    $console::logmode = 1;

    ...to the start of your autoexec.cs.  Then, try whatever it is you're trying
    to do in Tribes, and send me the Tribes\console.log file that is generated
    as a result.

    The #1 cause of problems is having old, outdated files being used instead
    of the newer versions in this support pack.  The worst culprit is the Presto
    pack, which has some scripts I had modified for Presto that haven't been
    updated -- these older versions lack features and also contain a couple
    bugs.  (This isn't any fault of Presto's...aside from not being around to
    replace the older files in his pack. :)


VII. Why not Newopts?

    I agree that it would be really cool if these scripts used NewOpts, but they
    don't.  These scripts are intended for people who want fast, efficient,
    well-designed scripts and aren't afraid of editing a few simple text files
    to make 'em work.

    If you can't live without NewOpts, other scripters like BigBunny, Cowboy,
    and MrPoop offer some excellent alternatives to some of my scripts.  Most of
    our stuff should coexist fine, if you're careful not to try using two
    scripts that serve the same function.

    I have nothing against NewOpts, though -- I use plenty of scripts that use
    it, and I think it's pretty nifty.  Just not quite nifty enough to justify
    the huge amount of work it would take to build all the NewOpts pages I'd
    need for all my scripts.  (I had actually planned to do that, but I chan
Contents — 316 files (inside the archive)
writersupport
Source: The Exiled — Tribes Repository
Original page: https://library.theexiled.pwnageservers.com/file.php?id=449
Archived source HTML: theexiled/mirror-html/file/449.html