Does anyone have?

HappY-CoW
08-12-2004, 07:18 PM
Does anyone have a mid air screen shot script.....i know VP has one attached to it but i happen to hate the v pack so if anyone has one that works with presto or stand alone that'd be spiffy :cat:

Slitz
08-12-2004, 09:32 PM
You only need this function:

function remoteMaHitReport(%server Id, %distance, %victimId)
{
if(%serverId != 2048 || $PlayingDemo)
return;

schedule("screenShot(MainWindow);", 0.2);
}

HappY-CoW
08-12-2004, 10:57 PM
and i dowhat with this? put it in autoexec?

Slitz
08-13-2004, 02:06 AM
Yes, or in any other .cs file you know executes.

Runar
08-13-2004, 05:29 AM
Only works when in "Active mode" i think..

HappY-CoW
08-13-2004, 04:49 PM
i did and nothing happened....whats active mode?

Slitz
08-13-2004, 04:50 PM
Only works when in "Active mode" i think..
Of course.. If your pack doesn't support activemode already, you need this as well:
Event::Attach(eventConnec tionAccepted, "remoteEval(2048,ActiveMod e,True,'Presto');");
edit: FYI, it only works on Active mode servers, and I don't think any other server mod than Fstat has the MAhit event..

HappY-CoW
08-13-2004, 04:54 PM
well where the fuck does this go....jesus christ you people need to understand i have no idea wTF im doing
i just stuck all these pretty words and things in autoexec

Slitz
08-13-2004, 04:57 PM
Autoexec.cs is fine... Only reason you have other script files at all is that autoexec.cs can get a bit cluttered. ;)

GreyHound
08-15-2004, 12:11 AM
isnīt the function ignored when playing a demo at all? i never had problems running demos that have been recorded on activemode = "true"; servers at all as activemode isnīt true when playing the demo??

Amadeus
08-15-2004, 03:57 AM
isnīt the function ignored when playing a demo at all? i never had problems running demos that have been recorded on activemode = "true"; servers at all as activemode isnīt true when playing the demo??
Well, since demos are pretty much a game hosted on your comp, maybe YOU need to be in active mode.

Plasmatic
08-16-2004, 01:31 AM
I may be crazy, but he may need one that works on ALL servers by reading the chat box.. a modified kill pack would work..

Amadeus
08-16-2004, 05:13 AM
I may be crazy, but he may need one that works on ALL servers by reading the chat box.. a modified kill pack would work..
The problem is that the chatbox doesn't say if he hit an MA.

Plasmatic
08-17-2004, 06:06 AM
Nope, but you could easilly delete the ones that arent.. I may create one that takes a shot everytime the server says your name in the console. That should work for most any mod.

Amadeus
08-17-2004, 06:33 AM
Question is, does he really want to go through 1000 screenies after every game?

GreyHound
08-17-2004, 09:55 AM
and this would only get the midairs that kill the nmy at one time, so heīd probably get every 10th midair as screeni

Slitz
08-17-2004, 01:04 PM
and this would only get the midairs that kill the nmy at one time, so heīd probably get every 10th midair as screeni
I'd say about every 1.5th since disc has 50% damage and people are usually hurt before you hit them. ;P

But it's not in the messages, so forget about it. :)

HappY-CoW, I see I forgot to mention, you can't put the "Event::Attach..." line in autoexec.cs of course. It needs to be called after Event.cs has loaded, so put it in a fil inside the presto dir, like at the very bottom of Install.cs. Might as well keep things clean and make a new file called MAhit.cs in the presto dir, put everything in there and load it with 'Include("presto\\MAhit.cs");' in Install.cs.. I'm sorry for the poor explanation, but people in t1 usually don't need these things these days. :)