Changing Orbital Cannon Effects?!?!

I am adding a fourth race and I have added structures already and changed their functions ect. however the first hitch I have ran into is creating the races Cannon.

The game crashes right when the new ability is used.

BuffTechOrbitalCannon.entity is the file that causes the minidump, not as stated by the dev mode exe but as determined by testing.

I created the whole new setup for the new races cannon. Created a PLANETMODULE_NEWORBITALCANNON.entity BuffNewOrbitalCannon.entity and BuffCannonShellNew.entity. All 3 are added to Manifest.

If I change the BuffCannonShellTech.entity file to perform the desired effect, it WORKS, no problems perfectly, no crash. Once I tell BuffNewOrbitalCannon.entity to createcannonshell CannonShellNew.entity it causes a crash, as if it can't find and read my file.

This is the only line changed in BuffTechOrbitalCannon.entity, after BuffCannonShellNew.entity exists and is written in Manifold

instantAction
    buffInstantActionType "CreateCannonShell"
    instantActionTriggerType "OnDelay"
    delayTime 6.000000
    cannonShellType "CannonShellTech"
    effectInfo
        effectAttachInfo
            attachType "Ability"
            abilityIndex 0
        smallEffectName "Ability_OrbitalCannonTechMuzzle"
        largeEffectName "Ability_OrbitalCannonTechMuzzle"
        soundID "WEAPON_TECHORBITALCANNON_MUZZLE"

instantAction
    buffInstantActionType "CreateCannonShell"
    instantActionTriggerType "OnDelay"
    delayTime 6.000000
    cannonShellType "CannonShellNew"
    effectInfo
        effectAttachInfo
            attachType "Ability"
            abilityIndex 0
        smallEffectName "Ability_OrbitalCannonTechMuzzle"
        largeEffectName "Ability_OrbitalCannonTechMuzzle"
        soundID "WEAPON_TECHORBITALCANNON_MUZZLE"

any reason it isn't reading the new file any help at all?!?

=/

1,202 views 1 replies
Reply #1 Top

Fixed, 2 days of searching and looking through stuff and I find it right after I post =/

Just to give what I found, almost all cannon files were altered with entrenchment, so I didnt bother looking in the originalsins folder for any entities that went along with the cannon.

originalsins GameInfo folder had a

CannonShellTech.entity file and I had not made a CannonShellNew.entity file, the other files I had looked as the the entitytype="Buff" was what added the buff to the front of the file name, so I didnt know I was missing a file.

 

I feel stupid, but problem fixed...