Posted: Thu Jun 05, 2025 8:51 am Post subject:
Overpowerable Anti-Air Tesla Coil problem
I've made an anti-air Tesla Coil with Overpowerable=yes, but it doesn't work properly. It just keeps firing Secondary Weapon at the target even without a Tesla Trooper.
After testing several times, it seems the culprit is the targeting logic (LandTargeting=1 and NavalTargeting=6), but removing those tags makes it fire at land targets too.
Is there any way to solve this?
Strangely, my Naval Tesla Coils work well with the targeting logic (LandTargeting=0 and NavalTargeting=5). QUICK_EDIT
Destroys every thing that comes into range, including planes, ships, paratroopers, surfacing submarines and enemy buildings.
Ares & Phobos not needed.
; Soviet Lightning Coil
[SLCASLC]
UIName=Name:Soviet Lightning Coil
Name=Soviet Lightning Coil
Image=SLCASLC
BuildCat=Combat
Prerequisite=POWER;NACNST,NATECH
Primary=SLCBolt
Secondary=SLCCoilBolt
Strength=1200
Armor=steel
TechLevel=5
Adjacent=2
Sight=16
Owner=Russians,Confederation,Africans,Arabs
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
Cost=3500
Points=30
Power=-100
Crewed=yes
Capturable=false
Overpowerable=true
Explodes=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DeathWeapon=SLCExplosion
;DieSound=BaseGunDie
DieSound=ElektricalExplosion
MaxDebris=60
DebrisTypes=AXLE,PIECE,GASTANK
DebrisMaximums=10,20,20
DebrisAnims=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
DestroyAnim=SLCASLCDM
DamageSound=LCDamaged
DamageParticleSystems=LGSparkSys,BigGreySmokeSys
DamageSmokeOffset=96, 64, 112
Turret=no
TurretAnimZAdjust=-100
ThreatPosed=45 ; This value MUST be 0 for all building addons
TeslaCoilPowerUp=SLTeslaCoilPowerUp
WorkingSound=SLCoilPowerOn
NotWorkingSound=SLCoilPowerOff
IsBaseDefense=yes
BaseNormal=no
Powered=yes
HasStupidGuardMode=false
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
Drainable=yes
;VeteranAbilities=STRONGER,FIREPOWER,SIGHT
;EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
AntiInfantryValue=25
AntiArmorValue=50
AntiAirValue=25
BuildLimit=3
AIBuildThis=yes; AiBuildThis=yes; wow4ik
; Fire by Lighnting Coil
[SLCBolt]
Damage=300
ROF=80 ;120
Range=14
Speed=100
Warhead=Electric
Report=SLCoilAttack
;Projectile=InvisibleHigh
Projectile=Invisible
IsElectricBolt=true
; SJM: Now using home-grown DelayedFire system. Charges=yes
IsHouseColor=true
; Fire by Lightning Coil while overpowered
[SLCCoilBolt]
Damage=775
ROF=45 ;100
Range=24
Speed=100
Warhead=Electric
Report=SLCoilSuper
;Projectile=InvisibleHigh
Projectile=Invisible3
IsElectricBolt=true
IsAlternateColor=true
;IsHouseColor=true _________________ Strange...As strange as it may seem, I'm still, up here...floating.
And no one seems to notice. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum