//LoadExe=False // 7883204 //<*---------- INSERT YOUR ICQ NUMBER HERE -----------*> // ICQHud! for Tribes Version 2.0.2b // Programmed by: NoFiX // Script done By: Da//an / NoFiX // WebPage by: Da//an / cRoNiC dEd // Ideas: NoFiX / cRoNiC dEd / Da//an // BetaTesters: cRoNiC dEd // Thanks: DaiZy(for always being there and being all the inspiration) // cRoNiC dEd(for helping me so goddamn much!!!) // Da//an(for the look and feel of this entire project!!!) // all the other beta testers!! // // // Contacting us: // * Website: http://www.planetstarsiege.com/icqhud // * nofix - ICQ 10891673 - Email nofix@planetstarsiege.com // * Da//an - ICQ 250315 - daman@planetstarsiege.com // * cRoNiC dEd - ICQ 35816669 - cronicded@planetstarsiege.com // // Dependant on: // * PrestoPack 0.93 or higher // * NewOpts 0.95 or higher // // Requires to run: // * Tribes\icqhud.exe and running // * Tribes\base\voices\wbeep.wav // // Instructions to install: // * Please read the IcqHud-ReadMe.txt. // // Options: // * You have the option to not load Tribes on IcqHud startup. // To turn it off, change the first line of this IcqHud.cs file from: // // //LoadExe=True // to // //LoadExe=False // // * You can change the default sound by replacing the // file "Tribes\base\voices\wbeep.wav"by whatever you want. Just // keep it the same name. // // * You may turn on the option for POP-UPS for the main window. This // option hides the HUD until a message or state has changed. Then it // displays the HUD in a timed fashion. Very useful for uncluttering // your hud and to remove a hud window // To turn it on, edit the line below from: // // $IcqHUD::ICQPopUps = "0"; // to // $IcqHUD::ICQPopUps = "1"; // $IcqHUD::ICQPopUps = "1"; // // * By default, the Message HUD will display just under your main chat // box at the top of your screen. The Clock will be displayed just // under the Mission Time limit. If you wish to change the locations, // edit the following lines to the location of (x, y, width, height). // Or use NewOps' HudMOVER: // // // * You may have noticed a message popping during gameplay as soon as you // connect to a server. To turn it off, edit the line below from(BlameNoFiX): // // $IcqHUD::ICQSay = "1"; // to // $IcqHUD::ICQSay = "0"; // // $IcqHUD::ICQSay = "1"; $IcqHUD::ClockWindowSize = "0% 95%+17 80 18"; $IcqHUD::MsgWindowSize = "0% 95% 250 18"; if($IcqHUD::ICQPopUps == "1") $IcqHUD::MsgWindowSize = "50% 84 200 19"; // // // // // // ******************************************************** // ******** DO NOT EDIT THE CODE PAST THIS POINT ******** // ******************************************************** // // // // $IcqHUD::ICQNum = "<*---------- INSERT YOUR ICQ NUMBER HERE -----------*>"; HUD::New(hudICQClock, IcqHUD::Update, $IcqHUD::ClockWindowSize); HUD::Display(hudICQClock); HUD::New(hudICQMsg, IcqHUD::Update, $IcqHUD::MsgWindowSize); if ($IcqHUD::ICQPopUps == "0") HUD::Display(hudICQMsg); function IcqHUD::Update() { if(isFile("config\\IcqHudData.cs")) { exec("IcqHudData.cs"); HUD::AddText(hudICQClock, ""@ $IcqHUD::Time); HUD::Display(hudICQClock); if ($IcqHUD::ICQPopUps == "1") { if (String::FindSubStr($IcqHUD::Msg, $IcqHUD::ICQNum)!=-1) { %displayed = HUD::GetDisplayed(hudICQMsg); if (%displayed == true) HUD::ToggleDisplay(hudICQMsg); } else { HUD::AddText(hudICQMsg, ""@ $IcqHUD::Msg); if($IcqHUD::Msg!=$IcqHUD::oldmsg) remoteEval(2048, LMSG, "beep"); $IcqHUD::oldmsg = $IcqHUD::Msg; %displayed = HUD::GetDisplayed(hudICQMsg); if (%displayed == false) { HUD::ToggleDisplay(hudICQMsg); remoteEval(2048, LMSG, "beep"); } } } else { if($IcqHUD::Msg!=$IcqHUD::oldmsg) remoteEval(2048, LMSG, "beep"); $IcqHUD::oldmsg = $IcqHUD::Msg; HUD::AddText(hudICQMsg, ""@ $IcqHUD::Msg); HUD::Display(hudICQMsg); } } return 2; } function IcqHUD::Init() { if($IcqHUD::ICQSay == "1") Say::Public(yellDoh, "ICQHud - PlanetStarsiege.com/ICQHud"); if(isFile("config\\IcqHud.cs")) exec("IcqHud.cs"); } event::attach(eventConnected, "ICQHud::Init"); Presto::AddScriptBanner(ICQHud, "ICQHud! Version 2.0.2beta\nBy: nofix & Da//an\n\nICQ: 250315 & 10891673\nEmail: daman@planetstarsiege.com &\nnofix@planetstarsiege.com\n\nplanetstarsiege.com/icqhud");