Anyone Know if This Still Works?

Original Worthy Cause Effect

Back in early Diplo, Worthy Cause had the effect of giving credits to the user.  Due to the fact that I didn't have it at that time, I don't have the reference files to look at.  Because EarnResources is an overTimeAction, I'd assume that the original functionality of it was an OTA as well.  More importantly however, is this method (or actually any method) still functional?  This ability is the only one I've ever known to have given a player credits, though if someone figured out how to do it a different way, that's be alright as well.  I'm just looking for a way to give the player credits via a buff.

6,497 views 4 replies
Reply #1 Top

It does, I still use it in my mod. I think its an instant action though.

Reply #2 Top

Which buff file do you use it in?

Reply #3 Top

Quoting Volt_Cruelerz, reply 2
Which buff file do you use it in?

For Requiem I use it on the Empire's extractors to let them produce credits and metal, on Enhanced 4X its one of the deploy embassy AI buff. Here's the main syntax.

instantAction
    buffInstantActionType "GiveCreditsToPlayer"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    credits
        Level:0 755.000000
        Level:1 755.000000
        Level:2 755.000000
    effectInfo
        effectAttachInfo
            attachType "Invalid"
        smallEffectName ""
        largeEffectName ""
        soundID ""

+1 Loading…