[T1 Request] Mine and Grenade throw control

Mafo
01-02-2003, 01:54 PM
Throw Control
Allows you to throw mines/grenades at full power with the tap of a button.

Requires: Presto Pack 0.93, NewOpts - BigBunny

I'm looking for something like this for stripped...anyone know where I could find it?

Shadowfox
01-02-2003, 02:13 PM
thats built into stripped. go to strippedprefs.cs and find the section labeled "Toss", its just over 3/4 of the way down in the document. hope that helps

Mafo
01-02-2003, 04:52 PM
//************************* ************************* *********
//Toss
//************************* ************************* *********
//Toss functions a bit more how I would want my stuff thrown. You can set a default strength
//and a tap time. Basically if you tap the key before the tap time expires, the mine or grenade
//is thrown at the default strength (1 to 100 percent). If you hold it longer than the specified
//tap time (defaulted to 0.2 seconds) then it functions like tribes normally does. This will
//allow you to fine tune your mine/gren placement if you need to. Included with Toss is a auto
//toss-all type function. Tapping this before the tap time expires makes the script throw out
//your mines and grenades one by one automatically. Tapping it again stops it. Pressing and
//holding the throw all key will throw grenades and mines one by one until you release it.
//I think you'll find this script pretty darned usefull. I got quite a few requests for it, so I
//hope this one fits the bill.

//Set this to the key you will want to toss grenades with.
$Toss::GrenadeKey = "1";
$Toss::GrenadeDevice = "keyboard";

//Set this to the key you will want to toss mines with.
$Toss::MineKey = "2";
$Toss::MineDevice = "keyboard";

//Set this to the key you will want to toss everything with.
$Toss::AllKey = "F1";
$Toss::AllDevice = "keyboard";

//Set this to the default strength you want to throw items with.
$Toss::DefaultStrength = "100";

//Set this to the threshold tap time you want for tossing.
$Toss::ThreshHoldTime = "0.2";

//If you do not wish to run this script, set the following line to FALSE.
$Toss::Enabled = "TRUE";
if($Toss::Enabled == "TRUE") { exec("Toss.cs"); }

//************************* ************************* *******

wtf do i chnage to make it just throw max power when i click it once

Gambitx11x
01-02-2003, 05:14 PM
//Set this to the default strength you want to throw items with.
$Toss::DefaultStrength = "100";
it already does throw it at full

GiftOfTheGame
01-02-2003, 08:06 PM
//Set this to the key you will want to toss grenades with.
$Toss::GrenadeKey = "1";
$Toss::GrenadeDevice = "keyboard";

//Set this to the key you will want to toss mines with.
$Toss::MineKey = "2";
$Toss::MineDevice = "keyboard";

ZProtoss
01-02-2003, 08:56 PM
Interesting :)

Mafo
01-02-2003, 10:39 PM
ok well trust me i know how far a full thrown mine/grenade goes, and this is not it

and i set the "1" to "g" and the "2" to "r" and it still did nothing :\

·liquid·
01-02-2003, 10:43 PM
editActionMap("playMap.sae");
bindCommand(keyboard0, make, "g", TO, "remoteEval(2048, throwItem, 41, 100);");
bindCommand(keyboard0, make, "r", TO, "remoteEval(2048, throwItem, 40, 100);");

There...

cyclonite
01-02-2003, 11:43 PM
Try increasing $Toss::ThreshHoldTime = "0.2";

Mafo
01-03-2003, 01:29 AM
Originally posted by cyclonite
Try increasing $Toss::ThreshHoldTime = "0.2";

:heart: thankyou!