⌂Starsiege: Tribes Community Archive

JumpJet

by Lemon
⤓ Download · 786 B
By: Lemon This script will automatically make you jump when you push the jet button. Put this .cs file in your Tribes\config\Core folder
Filename
jumpjet.cs
Size
786 B (listed 786 bytes)
Type
CS
Developer
Lemon
Date
2010-03-08 (theexiled upload)
Format
ASCII text, with CRLF line terminators
Readme — jumpjet.cs (from the archive itself)
// Evita (1.40 mod by lemzorz)
//
// Automatically jumps before you jet.
//
//
editActionMap("playMap.sae");
bindCommand(mouse0, make, button1, TO, "JumpJet(1);");
bindCommand(mouse0, break, button1, TO, "JumpJet(0);");
bindCommand(keyboard0, make, "space", TO, "$skiOn = true; postaction( 2048, IDACTION_MOVEUP, 1);");
bindCommand(keyboard0, break, "space", TO, "$skiOn = false; postaction( 2048, IDACTION_MOVEUP, 0);");

function JumpJet(%val) 
{
 if(%val) 
 {
		if(getMountedItem(0) == -1)
			 postAction(2048, IDACTION_JET, 1);
		else 
   {
			 postAction(2048, IDACTION_MOVEUP, 1);
			 postAction(2048, IDACTION_JET, 1);
	}
 }
 else
 {
	  if(!$skiOn) 
	  { 
		  postAction(2048, IDACTION_MOVEUP, 0); 
	  } 
	  postAction(2048, IDACTION_JET, 0); 
 }
}
jumpjet
Source: The Exiled — Tribes Repository
Original page: https://library.theexiled.pwnageservers.com/file.php?id=2702
Archived source HTML: theexiled/mirror-html/file/2702.html