BrokenSoul
07-12-2003, 07:04 PM
i remember seeing it a while back it worked out really good with my presto config but i've had to reformat and lost it :( i didnt see it again when i did a search if anyone can help me out i'd appreciate it thanks in advance.
R@ND0M
07-13-2003, 03:06 AM
stand·a·lone ( P ) Pronunciation Key (stnd-ln)
adj.
Self-contained and usually independently operating: a standalone computer terminal
(aka Presto version of TV.cs isn't Standalone)
////////////////////////////////////////////////////////////
// File: TV_Presto.cs
// Version: 1.0
// Author: Runar
// Credits: KineticPoet for Presto-port. Freaky, Gold for beta-tests.
// Info: Observe your flag-carrier in fullscreen with
// a keypress. Do NOT use the built in camera
// with this script.
//
// V. 1.1: Huge re-write..
//
////////////////////////////////////////////////////////////
editActionmap("playmap.sae");
bindCommand(keyboard0, make, "f6", TO, "TV::Activate();");
bindCommand(keyboard0, break, "f6", TO, "TV::DeActivate();");
Event::Attach(eventFlagTa ken, TV::Flag::Taken);
function TV::Activate()
{
// Can't obs if there's no carrier..
if(Client::GetName($TV::F lagCarrier) == "")
{
$TV::Active = "False";
remoteBP(2048, "<JC><F1>No flag-carrier to observe!", 2);
return;
}
// Delete the entire CommandGui
if(isObject("CommandGui"))
renameObject("CommandGui", "_CommandGui");
// Add CMDObserve if it isn't there..
if(!isObject("PlayGui/ObsTV"))
{
addToSet(PlayGui, newObject("ObsTV", FearGui::CMDObserve, 0, 0, 1, 1));
}
// Go to CommandMode
remoteEval(2048, CommandMode);
// Force full bandwidth
RemoteEval(2048, "scom", -1);
// Turn off the cursor
Schedule("CursorOff(mainwindow);", 0.3);
// Enable observer mode
Client::ToggleCmdObserver ("True");
// Observe flag-carrier
Client::cmdObservePlayer( $TV::FlagCarrier);
// Show who we are obsing
remoteBP(2048, "<JC><F1>Observing: <F2>" @ Client::GetName($TV::Flag Carrier), 999);
// Just to make sure..
$TV::Active = "True";
}
function TV::DeActivate()
{
Client::ToggleCmdObserver ("False");
remoteEval(2048, PlayMode);
if($TV::Active)
deleteObject("PlayGui/ObsTV");
renameObject("_CommandGui", "CommandGui");
remoteBP(2048, "", 0.1);
$TV::Active = "False";
}
function TV::Flag::Taken(%flagId, %clientId, %client)
{
%teamId = Client::getTeam(%clientId );
%myId = Client::getTeam(getManage rId());
if(%teamId == %myId)
$TV::FlagCarrier = %clientId;
}
I lost all my config shit, so somebody else probably has version 1.3 of it (w/ full team-view support)
BrokenSoul
07-14-2003, 04:07 PM
indeed a tv.cs for presto isnt standalone but a standalone can be used from presto. i remmeber someone posting one that was standalone and it works perfectly with my presto config that is the file i'm looking for if anyone can help thank you.
Shinigami
07-14-2003, 05:44 PM
indeed a tv.cs for presto isnt standalone but a standalone can be used from presto. i remmeber someone posting one that was standalone and it works perfectly with my presto config that is the file i'm looking for if anyone can help thank you.
Event::Attach(eventFlagTa ken, TV::Flag::Taken);
See that? That means this script cannot exist standalone.
What's wrong with the one he posted anyway?
Mr. Hated
07-14-2003, 09:31 PM
you use presto yet you want standalone?
BrokenSoul
07-15-2003, 05:05 PM
its a fairly simple request someone earlier released a script that was called standalone tv.cs thats all i want the one that was released as standalone tv.cs i dont know if that is possible or not but again i state it was released as standalone tv.cs i simply like that script better than the one posted. some of these cause sudden crashes and other conflicts with my tribe setup the one i'm requesting worked perfectly. so if anyone happend to download it please share it with me. thanks again for the help