Phase missiles vs shields

Hi there. Long time lurker, first time poster.

What I'm trying to do is reduce the chance for phase missiles to punch through shields, through Advent research. At the risk of horribly humiliating myself, this is what the bottoms of RESEARCHSUBJECT_SHIELDPSI0/1/2 look like:

researchFloatModifiers 3
researchModifier
    modifierType "ShieldPointsMaxAdjustment"
    baseValue 0.000000
    perLevelValue 0.050000
researchModifier
    modifierType "ShieldPointsRegenAdjustment"
    baseValue 0.000000
    perLevelValue 0.050000
researchModifier
    modifierType "ChanceToIgnoreShieldsAsDamageTarget"
    baseValue 0.000000
    perLevelValue -0.030000
artifactPicture ""

...and into English.str, I've added this:

StringInfo
    ID "IDS_RESEARCHFLOATMODIFIER_CHANCETOIGNORESHIELDSASDAMAGETARGET"
    Value "Phase missile efficiency:"

Mind you, I've just been kind of guessing the entire time. The mod doesn't start up with any error messages, so hope is still high. Can anybody give me any advice on the matter?

1,247 views 4 replies
Reply #1 Top

ChanceToIgnoreShieldsAsDamageTarget
End of quote

Where did you get this? If you made that one up, it isn't going to do anything. Only existing research modifiers can be used. If it does exist somewhere and you're using it, you can set the value to -1 for -100% and see if any damage goes through :P

Reply #2 Top

I got that from BuffAdaptiveShield.entity. I like the idea of setting it to 100%, though. I think I'll give that one a go. (Though even if it works, it still doesn't show up in the Infocard.)

Reply #3 Top

Oh, that's not going to work. Research can't use buff modifiers, unfortunately. You can tie a passive ability to the shield research, and use the ability with that modifier, but you can't use the modifier directly.

The ability thing would work well enough if you're using Entrenchment since every ship can have 5 abilities (capital's 5th is hidden by the upgrade button, but a passive would still work there). The scout already gets its 5 max, but it's also the one ship you don't particularly care about having this effect :)

Reply #4 Top

Research can't use buff modifiers, unfortunately.
End of quote

Well, that's just plain not nice. Passive ability it is, then, sadly.