;----- Base stats -----
Strength=100
Sight=7
ConsideredAircraft=yes
;HunterSeeker=yes ;setting this to yes causes the aircraft to fail firings its weapon (bug)
;----- Controls -----
; Spawned/MissileSpawn make the aircraft not appear at all
;Spawned=yes
;MissileSpawn=yes
Selectable=no
;----- AI -----
Category=AirPower
ThreatPosed=100 ; This value MUST be 0 for all building addons
;----- Weapon -----
Primary=FireflyCollision ;Needs a primary to even attack its target, otherwise will harmlessly crash into firing structure. SuicideBomb
;Secondary=SuicideBomb ;FireflyCollision
DeathWeapon=SuicideBomb
Ammo=100;1
;PipScale=Ammo
Explodes=yes ; means it will fire DeathWeapon
;----- Armor -----
Armor=light
TypeImmune=yes
ImmuneToVeins=yes
ImmuneToPoison=yes
ImmuneToRadiation=yes
ImmuneToPsionics=yes
ImmuneToPsionicWeapons=yes
Crushable=yes
Bombable=yes
Parasiteable=no
Warpable=yes
IgnoresFirestorm=yes ; can move through active FS without harm
;----- Production -----
Owner=Alliance,Empire,Kingdom,Shogunate
TechLevel=-1
Cost=1000
AllowedToStartInMultiplayer=no
CrateGoodie=no
I gave this unit to a SW with Type=SpyPlane and mission "Attack".
It worked in ARES until I added the CustomMissile tags. I added those so I could customize the warhead, which was otherwise only possibly by using weapons.
Now I have added the custom missile tags and it does not work anymore.
To go into detail, if anyone cares, if I
a) give it no weapon, it will head for the SW structure* and disappear with no effect
b) if I give it a weapon, it will fly to its target, fire its weapon, then disappear. I know the obvious workaround would be to give it a Limbo weapon (which I have used before CustomMissiles was available), but since we have the option now to use CustomMissiles, I would like to know if it can be done properly or if I have to resort to workarounds.
i.e. the warhead NEVER detonates (and yes, it's in the Warheads list).
Does CustomMissile simply not compute with SW-spawned aircraft? Do I have to set a different SpyPlane.Mission?
Explosion and DeathWeapon get ignored too, but that is standard behaviour, which is (I think) enforced by Missile locomotor. DMISL, V3ROCKET still work fine with SpyPlane, it's just CustomMissiles that seem to bug out.
* I'm not sure if it is going for the SW structure, for base center or simply for the structure closest to its spawn location tbh, as all of these may have applied to the structure in question when I tested this.
Edit:
On that note, AI anti-aircraft defenses also don't attack aircraft with missile locomotor when spawned by an SW. Totally different issue, I know. 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