Ability error (extreamly anoying)

can anyone tell me what is wrong with the folowing ability, i keep on getting the following errorand cant figure out what is wrong with it since every other passive ability has the same layout.

File: C:\Documents and Settings\User\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods\Stratos Lunar\GameInfo\AbilityCrewResupply.entity
Label: useCostType
Line Number:28
Line Contents:isPassive TRUE

TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToSelf"
instantActionTriggerType "AlwaysPerform"
buffType "BuffCrewResupply"
effectInfo
    effectAttachInfo
        attachType "Center"
    smallEffectName ""
    largeEffectName ""
    soundID ""
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 3
levelSourceType "Intrinsic"
minExperienceLevelRequired
    Level:0 2.000000
    Level:1 4.000000
    Level:2 7.000000
aiUseTime "Invalid"
aiUseTargetCondition "Invalid"
isAutoCastAvailable FALSE
isAutoCastOnByDefault FALSE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
isPassive TRUE
researchPrerequisites
    NumResearchPrerequisites 0
nameStringID "IDS_ABILITY_CREWRESUPPLY_NAME"
descStringID "IDS_ABILITY_CREWRESUPPLY_DESCRIPTION"
hudIcon "HUDICON_ABILITY_BOOSTMORALE"
smallHudIcon "HUDICON_ABILITY_BOOSTMORALE"
infoCardIcon ""

 

in  case it is needed, here is the buff for that ability

TXT
entityType "Buff"
onReapplyDuplicateType "KeepOldBuff"
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
    buffInstantActionType "PlayPersistantAttachedEffect"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    effectInfo
        effectAttachInfo
            attachType "Center"
        smallEffectName ""
        largeEffectName ""
        soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 6
entityModifier
    buffEntityModifierType "ChanceToHitAsDamageDealer"
    value
        Level:0 0.0200000
        Level:1 0.080000
        Level:2 0.140000
entityModifier
    buffEntityModifierType "EnergyWeaponCooldown"
    value
        Level:0 -0.600000
        Level:1 -0.900000
        Level:2 -1.200000
entityModifier
    buffEntityModifierType "HyperspaceChargeUpRate"
    value
        Level:0 0.050000
        Level:1 0.100000
        Level:2 0.150000
entityModifier
    buffEntityModifierType "LinearMaxSpeed"
    value
        Level:0 100.000000
        Level:1 125.000000
        Level:2 150.000000
entityModifier
    buffEntityModifierType "DamageAsDamageDealer"
    value
        Level:0 1.000000
        Level:1 2.000000
        Level:2 3.000000
entityModifier
    buffEntityModifierType "ShieldPointRestoreRate"
    value
        Level:0 20.000000
        Level:1 30.000000
        Level:2 40.000000
numEntityBoolModifiers 1
entityBoolModifier "HasShieldMeshEffect"
numFinishConditions 0

1,762 views 1 replies
Reply #1 Top

never mind, the problem is that 1.1 beta and 1.05 abilitys have diffrent layoutss so untill 1.1 beta reference data files are released aparently cant make proper abilities.