Modding Chastic Burst ability

Okay, so i want to mod the chastic burst ability by adding a 200 shield point restoration to surrounding friendly ships, but not self WHILE also damaging enemies.

Here's the BuffChasticBurstTarget. entity file. how do i make it differentiate what effect to apply to who?

TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
    buffInstantActionType "ApplyBuffToTargetsInRadius"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    buffType "BuffChasticBurstAOE"
    targetFilter
        numOwnerships 1
        ownership "Enemy"
        numObjects 5
        object "CapitalShip"
        object "Frigate"
        object "PlanetModule"
        object "Titan"
        object "Corvette"
        numSpaces 1
        space "Normal"
        numConstraints 0
    range
        Level:0 2000.000000
        Level:1 2500.000000
        Level:2 3000.000000
        Level:3 3500.000000
    maxTargetCount
        Level:0 -1.000000
        Level:1 -1.000000
        Level:2 -1.000000
        Level:3 -1.000000
    effectInfo
        effectAttachInfo
            attachType "Center"
        smallEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
        mediumEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
        largeEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Large"
        soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
    finishConditionType "AllOnDelayInstantActionsDone"

 

 

Here's the AoE buff file for it. I won't need to change the ability file will I?

TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 2
instantAction
    buffInstantActionType "DoDamage"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    damage
        Level:0 500.000000
        Level:1 715.000000
        Level:2 915.000000
        Level:3 1115.000000
    damageAffectType "AFFECTS_SHIELDS_AND_HULL"
    damageType "ENERGY"
    isDamageShared TRUE
instantAction
    buffInstantActionType "PlayAttachedEffect"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    effectInfo
        effectAttachInfo
            attachType "Center"
        smallEffectName "TitanAbility_Cherubim_ChasticBurst_Hit_Small"
        mediumEffectName "TitanAbility_Cherubim_ChasticBurst_Hit_Medium"
        largeEffectName "TitanAbility_Cherubim_ChasticBurst_Hit_Large"
        soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
    finishConditionType "AllOnDelayInstantActionsDone"

27,931 views 9 replies
Reply #1 Top

Like this...

BuffChasticBurstTarget.entity

TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 2
instantAction
    buffInstantActionType "ApplyBuffToTargetsInRadius"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    buffType "BuffChasticBurstAOE"
    targetFilter
        numOwnerships 1
        ownership "Enemy"
        numObjects 5
        object "CapitalShip"
        object "Frigate"
        object "PlanetModule"
        object "Titan"
        object "Corvette"
        numSpaces 1
        space "Normal"
        numConstraints 0
    range
        Level:0 2000.000000
        Level:1 2500.000000
        Level:2 3000.000000
        Level:3 3500.000000
    maxTargetCount
        Level:0 -1.000000
        Level:1 -1.000000
        Level:2 -1.000000
        Level:3 -1.000000
    effectInfo
        effectAttachInfo
            attachType "Center"
        smallEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
        mediumEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
        largeEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Large"
        soundID ""
instantAction
    buffInstantActionType "ApplyBuffToTargetsInRadius"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    buffType "BuffChasticBurstHeal"
    targetFilter
        numOwnerships 1
        ownership "Friendly"
        numObjects 5
        object "CapitalShip"
        object "Frigate"
        object "PlanetModule"
        object "Titan"
        object "Corvette"
        numSpaces 1
        space "Normal"
        numConstraints 0
    range
        Level:0 2000.000000
        Level:1 2500.000000
        Level:2 3000.000000
        Level:3 3500.000000
    maxTargetCount
        Level:0 -1.000000
        Level:1 -1.000000
        Level:2 -1.000000
        Level:3 -1.000000
    effectInfo
        effectAttachInfo
            attachType ""
        smallEffectName ""
        mediumEffectName ""
        largeEffectName ""
        soundID ""

numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
    finishConditionType "AllOnDelayInstantActionsDone"



 

BuffChasticBurstHeal.entity

TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
    buffInstantActionType "RestoreShieldPoints"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    shields
        Level:0 250.000000
        Level:1 455.000000
        Level:2 660.000000
        Level:3 865.000000
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
    finishConditionType "AllOnDelayInstantActionsDone"

 

 

Reply #2 Top

This is up the top of my head so it may have some issues, but this is what it might look like.

TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
    buffInstantActionType "ApplyBuffToTargetsInRadius"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    buffType "BuffChasticBurstAOE"
    targetFilter
        numOwnerships 1
        ownership "Enemy"
        numObjects 5
        object "CapitalShip"
        object "Frigate"
        object "PlanetModule"
        object "Titan"
        object "Corvette"
        numSpaces 1
        space "Normal"
        numConstraints 0
    range
        Level:0 2000.000000
        Level:1 2500.000000
        Level:2 3000.000000
        Level:3 3500.000000
    maxTargetCount
        Level:0 -1.000000
        Level:1 -1.000000
        Level:2 -1.000000
        Level:3 -1.000000
    effectInfo
        effectAttachInfo
            attachType "Center"
        smallEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
        mediumEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
        largeEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Large"
        soundID ""

instantAction
    buffInstantActionType "ApplyBuffToTargetsInRadius"
    instantActionTriggerType "OnDelay"
    delayTime 0.000000
    buffType "BuffChasticBurstHeal"
    targetFilter
        numOwnerships 1
        ownership "Friendly"
        numObjects 5
        object "CapitalShip"
        object "Frigate"
        object "PlanetModule"
        object "Titan"
        object "Corvette"
        numSpaces 1
        space "Normal"
        numConstraints 1

        constraint "NotSelf"
    range
        Level:0 2000.000000
        Level:1 2500.000000
        Level:2 3000.000000
        Level:3 3500.000000
    maxTargetCount
        Level:0 -1.000000
        Level:1 -1.000000
        Level:2 -1.000000
        Level:3 -1.000000
    effectInfo
        effectAttachInfo
            attachType "Center"
        smallEffectName ""
        mediumEffectName ""
        largeEffectName ""
        soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
    finishConditionType "AllOnDelayInstantActionsDone"

 

 

BuffChasticBurstHeal, you'll need to add this new file to the entity.manifest

Edit: Look at Volt's.

Reply #3 Top

how do you add a new file to the entity.manifest?

Reply #4 Top

Quoting leo81792, reply 3
how do you add a new file to the entity.manifest?
End of leo81792's quote

Its really easy, you'll probably figure it out just looking at the file (just remember to increase the count), but that you've never done it before tells me you're maybe new to this. So I highly recommend reading some of the modding stickies for general modding advice, so you don't make beginner mistakes like editting the game files (never do it!).

https://forums.sinsofasolarempire.com/419658

http://soase.x90x.net/?i=modding/SpiralGalaxy.html

Quoting Seleuceia, reply 1
The entity manifest basically is a long list of all the entity files, and the game uses this list to load all those files at startup...
End of Seleuceia's quote

Reply #5 Top

Okay, this is getting on my nerves. 

I created a folder and named it Developer.

within that folder i created another one called GameInfo.

I copied and pasted CovertData_RebellionApplication, entity.manifest, and msvcr80.dll files.

Then i copied and pasted individual entity files of abilites and related buffs that i wanted to change from the original Rebellion GameInfo and pasted them into the MY gameinfo folder.

I proceeded to convert them by right clicking each file and clicking open, then the command prompt pops open and im assuming converts them. I then right click the each file and click edit in notepad ++. It pulls up in notepad in text and i adjust each ability and buff profile i BELIEVE correctly.

then i followed the mod path the Rebellion game indicated and found it. Inside it was a text document called EnabledMods.

After that I kinda just winged it.

I copied and pasted my Directors folder into the folder that contained the text document. I did NOT paste it into the text document. i did NOT remove CovertData_RebellionApplication, entity.manifest, and msvcr80.dll files from my GameInfo folder.

I then started Rebellion, went to the mod section and it showed my Director folder. i was estatic! I enabled, then went to start a new game. I built a capital ship and a few structers that SHOULD have had an adjusted ability, but it didn't.

So somewhere along the line i screwed up.

Reply #6 Top

Quoting leo81792, reply 5
I then started Rebellion, went to the mod section and it showed my Director folder. i was estatic! I enabled, then went to start a new game. I built a capital ship and a few structers that SHOULD have had an adjusted ability, but it didn't.
End of leo81792's quote

What is your check sum? If its zero it means the game didn't find your changed files. The path for your mod should be Mods-v0.96 (or whatever version) -> Directors -> GameInfo, entity.manifest -> Changed ability/buff files.

Also make sure you hit the apply changes button after you enable them, that gets some people. ;)

 

Reply #7 Top

i did and the game had a runtime issue and crashed

Reply #8 Top

the guides people keep directing me too aren't updated for rebellion and aren't as concise as i need them to be. I gave you the path i took, someone should be able to show where i went wrong and how to fix it.

Reply #9 Top

Quoting leo81792, reply 7
i did and the game had a runtime issue and crashed
End of leo81792's quote

If the game crashed and the checksum wasn't zero, that means you made an error with your modded files. Try running it with the Developer.exe and see what error messages it gives you.

Quoting leo81792, reply 8
the guides people keep directing me too aren't updated for rebellion and aren't as concise as i need them to be.
End of leo81792's quote

Beggars can't be choosers friend. The game is still in beta, people aren't going to be wasting their times with Rebellion guides yet when changes are still frequent. And most guides are for learning how to mod from the ground up or documentation, not guides of how to do specific things (though there are some for new races and modeling).