// FILE: z0dd_kit.cs // VERSION: 1.0 // DATE: 4/6/2000 // AUTHOR: Paul "z0dd" Paella // EMAIL: z0dd@adelphia.net // WEBPAGE: http://home.adelphia.net/~z0dd/ // ////////////////////////////////////////////////////////////////////////////// //////////////////////////////// DESCRIPTION: //////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // The single key bind in this scrpit replaces your "use repair kit" key. // Use this script when you are damaged and use it when you're damaged // and you're at an inventory station. If used at an inventory station it // will buy and use enough repair kits to eventually bring you to full // health; which means you can immediately walk away from the station. // Bind the key to whatever key you use for Repair Kit. // ////////////////////////////////////////////////////////////////////////////// ////////////////////////////// VERSION HISTORY: ////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // 1.0 Initial version. // ////////////////////////////////////////////////////////////////////////////// /////////////////////////////// INSTALLATION: //////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // Put z0dd_kit.cs into your: // ...\tribes\config // directory and insert this line into your autoexec.cs: // exec("z0dd_kit.cs"); // // Default Keys: // LEFT CONTROL : Uses your repair kit. // // This script is configured by editing the area labeled: // USER CONFIGURATION SECTION // ////////////////////////////////////////////////////////////////////////////// /////////////////////////////////// NOTES: /////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // // 1) This script doesn't require Presto and will not conflict with it. // // // Do NOT edit the following line editActionMap("playMap.sae"); // // ////////////////////////////////////////////////////////////////////////////// ///////////////////////// USER CONFIGURATION SECTION ///////////////////////// ////////////////////////////////////////////////////////////////////////////// // // REAPIR KIT KEY // The key that uses your repair kit // Default is LEFT CONTROL. If you use a regular key, a-z, 1-0, put that // character in qoutes. For example, "h". bindCommand(keyboard0, make, "h", TO, "z0ddkit::go();"); bindCommand(keyboard0, break, "h", TO, ""); // BUY/USE TIMES // The number of repair kits bought and used when you press the repair kit // key while at a inventory station. Don't increase this value if you're // not having any problems. Increase this value if you find that you're not // being fully repaired when you use your repair kit while at an inventory // station. No, increaing this value isn't going to give you "more" health. $z0ddkit::times = 6; ////////////////////////////////////////////////////////////////////////////// // DON'T EDIT PAST HERE UNLESS YOU'RE A SCRIPTER AND KNOW WHAT YOU'RE DOING // ////////////////////////////////////////////////////////////////////////////// function z0ddkit::go() { for(%cnt = 1; %cnt <= $z0ddkit::times; %cnt++) { remoteEval(2048, useItem, 39); remoteEval(2048, buyItem, 39); } }