[T1]FlagAlert script

Evita
07-20-2003, 12:13 PM
Not for Stripped users cause you already have one!

This script will flash text on your screen when you have flag.

Script Options:
Text Message
Flash on/off
Hud positioning

Requires an events based pack (andrews, presto, stripped, runar, evita, etc).

Grab here:
http://scripts.tribalwar.com/evita/

Mr. Hated
07-20-2003, 05:15 PM
:>

lumoon
07-21-2003, 11:44 AM
What are the changes compared to previous version?

Rosco-SS
07-21-2003, 12:00 PM
Shit, heh.... for a second I thought it said FagAlert script :o

windexy
07-21-2003, 02:35 PM
/Flagcheck
//Checks to see if there is a flag on your back.
//Handy for those times when you need to know fast.
//Ported to Viking by Cyclonite
//File: FlagCheck_viking.cs


$PFCPref::X = 100;
$PFCPref::Y = 300;

Event::Attach(eventExit, PFC::Remove);
Event::Attach(eventFlagTa ken, PFC::Check);
Event::Attach(eventMissio nInfo, PFC::Reset);
Event::Attach(EventConnec ted, PFC::Reset);

function PFC::Check(%flagId, %clientId, %client) {
if(%client == Client::GetName(GetManage rID()))
schedule("PFC::CheckFlag();", 0.3);
}

function PFC::CheckFlag() {
if(GetMountedItem(2) != -1) {
if($PFC::WroteToGui != "TRUE") {
$PFC::Flag = newobject("PFCFLAG", FearGuiFormattedText, 8, 8, 0, 0);
AddtoSet(playGui, $PFC::Flag);
$PFC::WroteToGui = "TRUE";
}
control::SetVisible("PFCFLAG", TRUE);
control::setPosition("PFCFLAG", $PFCPref::X, $PFCPref::Y);

$PFC::Loop = "TRUE";
PFC::ColorLoop();
}
else if($PFC::Flag != "") {
control::SetVisible("PFCFLAG", FALSE);
$PFC::Loop = "";
}
return;
}

function PFC::ColorLoop() {
if(GetMountedItem(2) == -1) {
control::SetVisible("PFCFLAG", FALSE);
$PFC::Loop = "";
}
if($PFC::Loop != "") {
$PFC::Color++;
if($PFC::Color > 2) { $PFC::Color = 0; }
Control::SetValue("PFCFLAG", "<JC><F"@$PFC::Color@">Enemy Flag!");
Schedule("PFC::ColorLoop();", 0.3);
}
}

function PFC::Reset() {
control::SetVisible("PFCFLAG", FALSE);
}

function PFC::Remove() {
removeFromSet("playgui", $PFC::Flag);
deleteObject($PFC::Flag);
}

already been done like 6 months ago for viking pack...

R@ND0M
07-21-2003, 02:37 PM
Flagcheckalready been done like 6 months ago for viking pack...

Notice how he said "Not for Stripped users because you already have one" ?
Also he probably knows that Cyclonite ported one to VP a while ago

Nice job setting off the FagAlert, -ca-ibannedfromtribes..

lumoon
07-21-2003, 03:01 PM
Ah, so this is not the same kind of flagalert.cs you made in April Evita. Took me a while.

Acer
07-21-2003, 03:18 PM
K, I need a flagpop for your pack evita...

Tani
07-21-2003, 03:51 PM
acer youer alIEIV <3

windexy
07-21-2003, 04:28 PM
Notice how he said "Not for Stripped users because you already have one" ?
Also he probably knows that Cyclonite ported one to VP a while ago

Nice job setting off the FagAlert, -ca-ibannedfromtribes..
Moron I never said anything about for flagevents for stripped. So do not try to make it seem like I can't read. I was just trying to alert him to the fact that it was already done for viking pack because he never said anything about it in the post above.

PS: stfu and dont bring your grudge agianst me to the forums.

KiLLeR2001
07-21-2003, 04:28 PM
tanz0r <3 ;d

Mr. Hated
07-21-2003, 06:09 PM
K, I need a flagpop for your pack evita...

i built mine into flagtarget.cs if you want it i can dcc

Evita
07-21-2003, 08:19 PM
I didnt know there was one for Viking pack. I dont really stay on top of all the scripts out there. I rarely check out other peoples code. Plus, it is rare to get an 'original' script anymore. iBlis asked me to make this for him in irc for viking pack, so I just made a generic one, then threw it up on my site. If I knew one had already been made, I still would have made one myself, cause mine is bettaaahhh!! lol, jk.

sup random, how ya been?

cyclonite
07-22-2003, 01:44 AM
"Run White Boy" is much better than the "Enemy Flag!" message, cyc got 0aned :{

R@ND0M
07-22-2003, 04:32 AM
Yo Evita, I've been really busy w/ work, and I'm completely sick of it..

Did you manage to get your PC up and running alright? I lost roughly 40gb of files a few weeks ago when one of my partitions died (All my Tribes demos/hacks/configs/etc, and a bunch of other crap)

I managed to recover most of the configs, and I got the demos back this weekend from some guy I uploaded all 5gb of demos to at this lan in January.
Apart from that, I miss having spare time :(

Evita
07-22-2003, 09:01 PM
wow

ya, my PC is running smoothly. Im gonna wait for T:V before I upgrade again.

I have a little spare time here and there. Im actually working on a project (alone atm). If I think the community would like it, Im gonna be asking for a few peeps helpz (you included, if ya have time).

lata

Mafo
07-23-2003, 01:14 AM
my flag alert says "enemy flag" beside reticle
and it flashes
im so used to it i don't even notice it
but it's nice to me