Ability mod giving me 'string not found'

Having copied and converted all the current files from Diplomacy and Entrenchment I wanted to increase the abilities of the Domination ability for the Advent to have levels, but I get a string not found error when on the abilities slot on the ship.

I can not find the error. Any one who might be able to help?? Following is the file as is.

Any help would be appreciated.

 

AbilityDomination.entity

TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToTarget"
instantActionTriggerType "AlwaysPerform"
buffType "BuffDomination"
targetFilter
    numOwnerships 1
    ownership "Enemy"
    numObjects 1
    object "Frigate"
    numSpaces 1
    space "Normal"
    numConstraints 0
range
    Level:0 6000.000000
    Level:1 6000.000000
    Level:2 6000.000000
maxTargetCount
    Level:0 1.000000
    Level:1 2.000000
    Level:2 3.000000
effectInfo
    effectAttachInfo
        attachType "Center"
    smallEffectName "Ability_DominationActivate"
    largeEffectName "Ability_DominationActivate"
    soundID "EFFECT_DOMINATION"
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 3
levelSourceType "Intrinsic"
minExperienceLevelRequired
    Level:0 5.000000
    Level:1 7.000000
    Level:2 10.000000
aiUseTime "OnlyInCombat"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault FALSE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "AntiMatter"
antiMatterCost
    Level:0 150.000000
    Level:1 300.000000
    Level:2 450.000000
cooldownTime
    Level:0 60.000000
    Level:1 70.000000
    Level:2 80.000000
orderAcknowledgementType "ONATTACKORDERISSUED"
researchPrerequisites
    NumResearchPrerequisites 0
nameStringID "IDS_ABILITY_DOMINATION_NAME"
descStringID "IDS_ABILITY_DOMINATION_DESCRIPTION"
hudIcon "HUDICON_ABILITY_DOMINATION"
smallHudIcon "HUDICON_ABILITY_DOMINATION"
infoCardIcon ""

1,665 views 4 replies
Reply #1 Top

have you looked in the diplomacy english.str file for the

nameStringID "IDS_ABILITY_DOMINATION_NAME"
descStringID "IDS_ABILITY_DOMINATION_DESCRIPTION"

entries?

harpo

 

Reply #2 Top

Level:2 10.000000

 

This is broken.  Level count starts with 0, level 10 is 9.

 

You've also got a single target buff and a target count in the same deal, that doesn't work either.  The string error is small potatoes.

Reply #3 Top

@harpo: I did check the string file, it was listed.

 

@psychoak: Found the level error in gameplay after removing the max target count. Ideally i'd like to expand the number of targets it reaches as it levels. I don't see in the buffDomination how I could do that.

 

thanks guys

Reply #4 Top

Quoting bckucharik, reply 3
@psychoak: Found the level error in gameplay after removing the max target count. Ideally i'd like to expand the number of targets it reaches as it levels. I don't see in the buffDomination how I could do that.
End of bckucharik's quote

You need to create an intermediary buff. Your new ability will cast the new buff on the target. The new buff will then apply the regular domination buff on itself as well as on targets within range, which you can then set a target cap on. Look at the AbilityEMPBlast and related buffs to see how to do it.