Starsiege: Tribes Community Archive

420Snipers

by admin
⤓ Download · 203.1 KB
No file description.
Filename
420Snipers.zip
Size
203.1 KB (listed 203.1KB)
Type
ZIP
Developer
admin
Last update
Jun 07, 2008 - 02:17
Format
Zip archive data, at least v2.0 to extract, compression method=deflate
Readme — Scrap Pack Code.txt (from the archive itself)
//----------------------------------------------------------------------------

ItemImageData RepairGunImage
{
	shapeFile = "repairgun";
	mountPoint = 0;

	weaponType = 2;  // Sustained
	projectileType = RepairBolt;
	minEnergy  = 3;
	maxEnergy = 10;  // Energy used/sec for sustained weapons

	lightType   = 3;  // Weapon Fire
	lightRadius = 1;
	lightTime   = 1;
	lightColor  = { 0.25, 1, 0.25 };

	sfxActivate = SoundPickUpWeapon;
	sfxFire = SoundRepairItem;
};

ItemData RepairGun
{
	description = "Repair Gun";
	shapeFile = "repairgun";
	className = "Weapon";
	shadowDetailMask = 4;
	imageType = RepairGunImage;
	showInventory = false;
	price = 125;
   validateShape = true;
};

function RepairGun::onMount(%player,%imageSlot)
{
	Player::trigger(%player,$BackpackSlot,true);
}

function RepairGun::onUnmount(%player,%imageSlot)
{
	Player::trigger(%player,$BackpackSlot,false);
}

function RepairGun::onMount(%player,%item,$WeaponSlot)
{	%client = Player::getclient(%player);
	bottomprint(%client, "<jc><f2>Repair Pack.");
}
Readme — Scrap Vehicle Code.txt (from the archive itself)
// Vehicle.cs
FlierData VehicleName
{
	explosionId = flashExpLarge;
	debrisId = flashDebrisLarge;
	className = "Vehicle";
   shapeFile = "shapefile";
   shieldShapeName = "shield"; // _medium _large _small
   mass = 9.0;
   drag = 1.0;
   density = 1.2;
   maxBank = 0.5;
   maxPitch = 0.5;
   maxSpeed = 50;
   minSpeed = -2;
	lift = 0.75;
	maxAlt = 25;
	maxVertical = 10;
	maxDamage = 0.6;
	damageLevel = {1.0, 1.0};
	maxEnergy = 100;
	accel = 0.4;

	groundDamageScale = 1.0;

	projectileType = Projectile;
	reloadDelay = 2.0;
	repairRate = 0;
	fireSound = SoundFireFlierRocket;
	damageSound = SoundFlierCrash;
	ramDamage = 1.5;
	ramDamageType = -1;
	mapFilter = 2;
	mapIcon = "M_vehicle";
	visibleToSensor = true;
	shadowDetailMask = 2;

	mountSound = SoundFlyerMount;
	dismountSound = SoundFlyerDismount;
	idleSound = SoundFlyerIdle;
	moveSound = SoundFlyerActive;

	visibleDriver = true;
	driverPose = 22;
	description = "Name";
};

$DamageScale[Vehicle, $ImpactDamageType] = 1.0;
$DamageScale[Vehicle, $BulletDamageType] = 1.0;
$DamageScale[Vehicle, $PlasmaDamageType] = 1.0;
$DamageScale[Vehicle, $EnergyDamageType] = 1.0;
$DamageScale[Vehicle, $ExplosionDamageType] = 1.0;
$DamageScale[Vehicle, $ShrapnelDamageType] = 1.0;
$DamageScale[Vehicle, $DebrisDamageType] = 1.0;
$DamageScale[Vehicle, $MissileDamageType] = 1.0;
$DamageScale[Vehicle, $LaserDamageType] = 1.0;
$DamageScale[Vehicle, $MortarDamageType] = 1.0;
$DamageScale[Vehicle, $BlasterDamageType] = 0.5;
$DamageScale[Vehicle, $ElectricityDamageType] = 1.0;
$DamageScale[Vehicle, $MineDamageType]        = 1.0;

// Item.cs

ItemData Vehicle
{
	description = "Name";
	className = "Vehicle";
   heading = "aVehicle";
	price = Price;
};
Contents — 85 files (inside the archive)
Source: The Exiled — Tribes Repository
Original page: https://library.theexiled.pwnageservers.com/file.php?id=317
Archived source HTML: _source/file/317.html