/units/cubesmall.fbi :
Code: Select all
[UNITINFO]
{
//Internal settings
BuildPic=cubesmall.bmp;
Category=CUBE UNIT NOTAIR;
Name=Cube Scout;
ObjectName=cubesmall.s3o;
Side=CUBE;
TEDClass=TANK;
UnitName=cubesmall;
//Unit limitations and properties
ActivateWhenBuilt=1;
BuildTime=1000;
Description=Light Scout;
MaxDamage=75;
RadarDistance=0;
SightDistance=1000;
SoundCategory=CUBE_TANK;
Upright=0;
//Energy and metal related
BuildCostEnergy=20;
BuildCostMetal=20;
//Pathfinding and related
Acceleration=0.15;
BrakeRate=0.1;
FootprintX=2;
FootprintZ=2;
MaxSlope=10;
MaxVelocity=4.0;
MaxWaterDepth=12;
TurnRate=900;
//Abilities
Builder=0;
Reclaimable=0;
CanAttack=1;
CanGuard=1;
CanMove=1;
CanPatrol=1;
LeaveTracks=0;
//Abilities new to Spring
//Weapons and related
Weapon1=scoutlightning;
ExplodeAs=SMALLUNITEX;
NoChaseCategory=VTOL;
SelfDestructAs=SMALLUNITEX;
SelfDestructCountdown=5;
}
Code: Select all
[SCOUTLIGHTNING]
{
weaponType="LightingCannon"
areaOfEffect=16;
avoidFeature=0;
avoidFriendly=0;
canAttackGround=1;
collideFriendly=0;
commandFire=1;
craterBoost=0;
craterMult=0;
explosionSpeed=5;
impulseBoost=0;
impulseFactor=0;
noSelfDamage=1;
range=350;
reloadtime=1;
rgbcolor="0.1 0.2 0.5";
turret=1;
weaponVelocity=400;
texture1="lightning";
damage={
default=10;
}