Restoreshields

I'm trying to edit a few abilities involving restoring shields over time.  My game keeps crashing to them.  I have other files edited in my own mod, and I have isolated that any files that have -

buffOverTimeActionType "RestoreShields"

ShieldRestoreRate

        Level:0 1.000000
        Level:1 2.000000
        Level:2 3.000000
        Level:3 4.000000



are the causes.  I even tried using freshly converted entities straight from the source and still they crash.  I have modded this game last year and have done similar things and I don't remember this problem.  RestoreHull works just fine, its just the shields.  Eclipse also gives me an error on these RestoreShields code.  Which is really confusing since as I said, they are straight from the source, I've only edited the numbers.  Right now I cannot put files like buffPowerSurge in my mod.  

3,732 views 2 replies
Reply #1 Top

Paste the whole buff file please.

Reply #2 Top

Ok I found the problem, it just so happen I coincidentally messed up the syntax on all the buffs that happens to restore shields when I add another action to it.