Here are the rules:
[TESLA2]
UIName=Name:TESLA
Name=Soviet Tesla Coil
Image=NATSLA ; for testing
BuildCat=Combat
Prerequisite=POWER ; fOR TESTING
Strength=600 ; testing
Armor=steel
TechLevel=5
Adjacent=6 ; testing
Sight=8
Owner=Russians,Confederation,Africans,Arabs
AIBasePlanningSide=1
Cost=1 ;FOR TESTING
Points=30
Power=0 ;for testing
Crewed=no
Capturable=false
TypeImmune=yes ; no damage to eachother
Overpowerable=true
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUM U60
Primary=CoilBolt2
Secondary=OPCoilBolt2
Turret=no
TurretAnimZAdjust=-50
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbr is4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
ThreatPosed=40 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGr eySmokeSys
DamageSmokeOffset=96, 64, 112
IsBaseDefense=yes
BaseNormal=no
Powered=yes
ImmuneToPsionics=no
AttackFriendlies=yes ; duh
AntiInfantryValue=25
AntiArmorValue=10 ; no so good on tanks
AntiAirValue=0 ; duh
[CoilBolt2]
Damage=0
AmbientDamage=60000
ROF=2
Range=6
Speed=100
Warhead=ElectricAssault2
Projectile=Invisible
IsElectricBolt=true
IsRailgun=true
AttachedParticleSystem=LargeRailgunSys2
[OPCoilBolt2]
Damage=0
AmbientDamage=20000
ROF=5
Range=7
Speed=100
Warhead=ElectricAssault2
Projectile=Invisible
IsElectricBolt=true
IsRailgun=true
AttachedParticleSystem=LargeRailgunSys2
[ElectricAssault2]
ElectricAssault=yes
Verses=2%,1%,1%,1%,1%,1%,5%,5%,5%,1%,1%
InfDeath=5
[LargeRailgunSys2]
HoldsWhat=SmallRailgunPart2
BehavesLike=Railgun
SpiralRadius=10
ParticlesPerCoord=.01
SpiralDeltaPerCoord=.005
MovementPerturbationCoefficient=.05
PositionPerturbationCoefficient=5
VelocityPerturbationCoefficient=.1 ;Stops LAG {I think}
Laser=yes
LaserColor=200,0,0
[SmallRailgunPart2]
BehavesLike=Railgun
MaxEC=1
ColorList=(200,200,200),(150,150,150)
ColorSpeed=.03
Velocity=.4
|