[Script] Big Bunny's dropper for 1.40
Posted: Sat Jan 03, 2015 11:56 am
Here is a dropper script for 1.40
No more moving your hand away from WASD or using the number keys.
Easy to use and easy to add deployables.
Installation: Open Dropper.zip Drag and drop into Tribes/config/modules
Thats it! Enjoy your new dropper script.
DOWNLOAD LINK
No more moving your hand away from WASD or using the number keys.
Easy to use and easy to add deployables.
Installation: Open Dropper.zip Drag and drop into Tribes/config/modules
Thats it! Enjoy your new dropper script.
Code: Select all
//Annihilation Dropper 1.40
editActionMap( "playMap.sae" );
bindCommand( keyboard0, make, "z", TO, "dropper::next();" );
bindCommand( keyboard0, make, "x", TO, "dropper::prev();" );
bindCommand( keyboard0, make, "c", TO, "dropper::litter();" );
$dropper::list[ 0 ] = "Laser Turret";
$dropper::list[ 1 ] = "Motion Sensor";
$dropper::list[ 2 ] = "Deployable Platform";
$dropper::list[ 3 ] = "Jump Pad";
$dropper::list[ 4 ] = "Force Field";
$dropper::list[ 5 ] = "Force Field Door";
$dropper::list[ 6 ] = "Large Force Field Door";
$dropper::list[ 7 ] = "Large Force Field";
$dropper::list[ 8 ] = "Mobile Inventory";
$dropper::list[ 9 ] = "Nuclear Turret";
$dropper::list[ 10 ] = "Pulse Sensor";
$dropper::list[ 11 ] = "Blast Wall";
$dropper::list[ 12 ] = "Flame Turret";
$dropper::current = 0;
$dropper::max = 12;
function dropper::litter() {
%id = getItemType( $dropper::list[$dropper::current] );
if ( %id < 0 ) {
remoteBP( 2048, "<jc><f1>Invalid dropper item: <f2>" @ $dropper::list[$dropper::current], 2 );
return;
}
remoteBP( 2048, "<jc><f1>Dropper current item is: <f2>" @ $dropper::list[$dropper::current], 2 );
for ( %i = 0; %i < 3; %i++ ) {
remoteEval( 2048, buyItem, %id );
remoteEval( 2048, dropItem, %id );
}
}
function dropper::next() {
$dropper::current++;
if ( $dropper::current > $dropper::max )
$dropper::current = 0;
remoteBP( 2048, "<jc><f1>Dropping: <f2>" @ $dropper::list[$dropper::current], 2 );
}
function dropper::prev() {
$dropper::current--;
if ( $dropper::current < 0 )
$dropper::current = $dropper::max;
remoteBP( 2048, "<jc><f1>Dropping: <f2>" @ $dropper::list[$dropper::current], 2 );
}
DOWNLOAD LINK