PDA

View Full Version : Gren DJ Script


Zee
17-02-2005, 07:35 AM
thank me later

//Add exec("GrenDJ.cs"); into your AutoExec

//--- export object begin ---//
$GrenDJ::Version = "1.1";
//--- export object end ---//

function Rotate::GrenJump()
{
$Function::Disc Launcher = "TRUE";

if ($GrenJump::Active)
postAction(2048, IDACTION_ROTATE, "23 180");

GrenJump::MidAir();

return;
}

function GrenJump::Active()
{
bindCommand(keyboard0, make, "r", TO, "throwStart();");
bindCommand(keyboard0, break, "r", TO, "throwRelease(\"Grenade\");");

$AF::Enabled = "TRUE";
if($AF::Enabled == "TRUE") { exec("GrenDJ.cs");
}

beedee
17-02-2005, 08:26 AM
you've gotta be kidding me :o

eskimofo
17-02-2005, 02:25 PM
if ($GrenJump::Active)
postAction(2048, IDACTION_ROTATE, "23 180");

GrenJump::MidAir();

return;
}
? llol

17-02-2005, 04:42 PM
:roll:

CheapshotS
19-02-2005, 07:27 AM
Be good now kiddies, heres some REAL code (written by me, naturally):


//Add exec("GrenDJ.cs"); into your AutoExec
// Modified by some crap given to me by =2k= Zee
// No credit due however, this code written by me:
//
// W. Te Ata <w7_@orcon.net.nz> a.k.a staff (pyro)
//
//

$GrenDJ::Version = 1.2;
$GrenDJ::LagComp = 0.4;

function GrenDJ::Throw()
{
%mounted = $WeaponSlot[getMountedItem(0)];

Client::centerPrint("<jc><f1>Ready to <f2>Grenade Disc-Jump <f1>?", 1);
schedule("Client::centerPrint(\"\", 1);", 3);

if(!getItemCount("Grenade"))
{
Client::centerPrint("<jc><f1>No Grenade Ammo for <f2>Grenade Disc-Jump", 1);
schedule("Client::centerPrint(\"\", 1);", 3);
return;
}

if(!getItemCount("Disc"))
{
Client::centerPrint("<jc><f1>No Disc Ammo for <f2>Grenade Disc-Jump", 1);
schedule("Client::centerPrint(\"\", 1);", 3);

return;
}

if (%mounted == "DiscLauncher") {
%delay = 0;
} else {
%delay = 0.5;
schedule("use(\"Disc Launcher\");", 0.033 + %delay);
}

// FIXME:
%delay = %delay + $GrenDJ::LagComp;

//postAction(2048, IDACTION_CENTERVIEW, -0);
schedule("postAction(2048, IDACTION_CENTERVIEW, -0);", 0.066 + %delay);

// TURN ROUGHLY 180 DEGREES
//schedule("postAction(2048, IDACTION_YAW, 1);", 0.100 + %delay);
//schedule("postAction(2048, IDACTION_YAW, 1);", 0.133 + %delay);
//schedule("postAction(2048, IDACTION_YAW, 1);", 0.166 + %delay);
//schedule("postAction(2048, IDACTION_YAW, 0.025);", 0.200 + %delay);

// THROW A GRENADE
schedule("throwStart();", 0.275 + %delay);
schedule("throwRelease(\"Grenade\");", 0.300 + %delay);

// SLIGHT ADJUSTMENT TO LEFT (TARGET GRENADE)
schedule("postAction(2048, IDACTION_YAW, 0.075);", 0.325 + %delay);

schedule("postAction(2048, IDACTION_FIRE1, -0);", 0.375 + %delay);
schedule("postAction(2048, IDACTION_BREAK1, -0);", 0.400 + %delay);

}

Zee
19-02-2005, 11:12 AM
I'd hit it.

GTR
19-02-2005, 02:41 PM
OMG cheats :evil: cant believe theres a script lol

Sum1 test it plz

eskimofo
19-02-2005, 07:56 PM
course it works, nothing beats manual

Revelation
19-02-2005, 07:59 PM
if you use this script, you lose my respect.

Zee
19-02-2005, 08:03 PM
Apparently it doesn't work in mid-air.

Sorta cool/cheap idea.

eskimofo
19-02-2005, 08:10 PM
oh really!.. useless!

Assassin
20-02-2005, 12:56 AM
rofl zee's makes no sense and the other is good except sif it works

CheapshotS
20-02-2005, 05:22 PM
rofl zee's makes no sense and the other is good except sif it works

Iit does work, but not in mid-air (which makes it useless anyway):

add bindCommand(keyboard0, make, control, "g", TO, "GrenDJ::Throw();");
bindCommand(keyboard0, break, control, "g", TO, ""); to your config.cs to test it

use control+g to trigger it

eskimofo
20-02-2005, 05:28 PM
how can it not work in midair, just the rotate? it still drops a gren and shoots a disc right?

Marv3lo
20-02-2005, 06:16 PM
because the grenade would be in a different relative location each time for which it would have to adjust
you'd have to have an autoaim type thang for a grendj script that would work under any circumstances

Marv3lo
20-02-2005, 06:24 PM
oh yeah, and as pyro said this is completely useless :D

beedee
20-02-2005, 08:57 PM
so this is a disc-jump script?

eskimofo
20-02-2005, 09:17 PM
haha, sounds like it. anyone been using it?

erm ffs, is my sig transparent? this(dads) computers phuct

Zee
21-02-2005, 05:05 PM
because the grenade would be in a different relative location each time for which it would have to adjust
you'd have to have an autoaim type thang for a grendj script that would work under any circumstances
bingo

Zee
21-02-2005, 05:05 PM
haha, sounds like it. anyone been using it?

erm ffs, is my sig transparent? this(dads) computers phuct
not xparent on mine .

eskimofo
21-02-2005, 05:14 PM
how retarded damnit lol, i fully hate computers expecially this one, i want mine back

drag0n
21-02-2005, 06:21 PM
this is just retarded, learn to do it manually, gays.

eskimofo
21-02-2005, 06:52 PM
drag has jumpjet.cs

21-02-2005, 07:14 PM
cheat. :o

bakara
15-03-2005, 05:39 PM
u teh hax0r , no fair :cry: