Starbase ability to spawn ships?
Can't spawn ships from a starbase!
I have a frustrating situation where I'm trying to create an ability where a Starbase can spawn ships. This is what I've done, but once the starbase upgrade is researched from the starbase, it's not displaying the ability?
Ability file:
TXT
entityType "Ability"
buffInstantActionType "SpawnShipsAtPlanet"
instantActionTriggerType "AlwaysPerform"
spawnShipsLevelCount 1
spawnShips
minFleetPoints 90.000000
maxFleetPoints 90.000000
requiredShipCount 0
randomShipCount 2
randomShip
type "CAPITALSHIP_DEAD_ALIENBATTLESHIP"
weight 5
randomShip
type "CAPITALSHIP_DEAD_ALIENCARRIER"
weight 1
spawnShipsArrivalDelayTime 4.000000
spawnShipsHyperspaceSpawnType "FleetBeacon"
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 1
levelSourceType "StarBaseUpgradeLevel"
sourcePropertyType "AbilityALevel"
aiUseTime "OnlyWhenEnemyFleetWillPrevail"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault FALSE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "ResourcesAndMustHaveShipSlots"
resourceCost
credits 5000.000000
metal 700.000000
crystal 650.000000
requiredShipSlots
Level:0 90.000000
Level:1 90.000000
Level:2 160.000000
Level:3 210.000000
cooldownTime
Level:0 240.000000
Level:1 240.000000
Level:2 240.000000
Level:3 240.000000
orderAcknowledgementType "ONGENERALORDERISSUED"
researchPrerequisites
NumResearchPrerequisites 0
RequiredFactionNameID ""
RequiredCompletedResearchSubjects 0
nameStringID ""
descStringID ""
hudIcon "HUDICON_CAPITALSHIP_PSICARRIER"
smallHudIcon "HUDICONSMALL_CAPITALSHIP_PSICARRIER"
infoCardIcon ""
Starbase upgrade file:
TXT
entityType "StarBaseUpgrade"
stageCount 2
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
nameStringID ""
descStringID ""
researchPrerequisites
NumResearchPrerequisites 0
RequiredFactionNameID ""
RequiredCompletedResearchSubjects 0
hudIcon "HUDICON_CAPITALSHIP_PSICARRIER"
smallHudIcon "HUDICONSMALL_CAPITALSHIP_PSICARRIER"
infoCardIcon ""
upgradePropertyCount 0
upgradeBoolPropertyCount 0
stage
price
credits 1800.000000
metal 275.000000
crystal 150.000000
upgradeTime 30.000000
nameStringID ""
descStringID ""
researchPrerequisites
NumResearchPrerequisites 0
RequiredFactionNameID ""
RequiredCompletedResearchSubjects 0
hudIcon "HUDICON_CAPITALSHIP_PSICARRIER"
smallHudIcon "HUDICONSMALL_CAPITALSHIP_PSICARRIER"
infoCardIcon ""
upgradePropertyCount 3
upgradeProperty
propertyType "MaxAntiMatterPoints"
value 150.000000
upgradeProperty
propertyType "AntiMatterRestoreRate"
value 2.500000
upgradeProperty
propertyType "AbilityALevel"
value 1.000000
upgradeBoolPropertyCount 0
xpModifier 80.000000
Any help would be appreciated!!