Help needed with two short questions.

Hi folks, I have 2 short questions I need some help with.

1. Is it possible to apply a buff to make a ship immune to all damage? With that I mean complete invunerability, not just 99.99999% of damage because I have done that using DamageAsDamageTarget with a negative value.

2. Is it possible to make a ship spawned from an ability to vanish once the spawner has died even if the effect has not run out? I used FirstSpawnerNoLongerHasBuff and pointed it at the buff that spawned the new ship, but that had no effect.

Thanks for your help.

12,525 views 6 replies
Reply #1 Top

entityBoolModifier "CannotBeDamaged"

 

To make a ship go away when the spawner dies:

    postSpawnBuff ""

 

You were on the right track, but the ship lasts based on expiryTime.  You need to have the buff applied from postSpawnBuff "" directly blow the ship up.

 

BuffInstantActionType "MakeDead"

instantActionTriggerType "OnBuffFinish"

+1 Loading…
Reply #2 Top

Thanks psychoak for the quick response! CannotBeDamaged works great. Unfortuantely I haven't understood how to implement the "MakeDead" Buff.

I have gone to the file that postSpawnBuff"" is pointing to and added an instantAction:

    buffInstantActionType "MakeDead"
    instantActionTriggerType "OnBuffFinish"

However, that has no effect. When the original spawner dies, the spawned ships live on.

 

Reply #3 Top

Quoting Jefferies, reply 2
However, that has no effect. When the original spawner dies, the spawned ships live on.

You also have to have a buff on the spawner with either no finish conditions, or "OwnerChanged" if you want the ship to die. Then on the MakeDead buff you add a finish condition of "LastSpawnerNoLongerHasBuff" and set that to the buff on the Spawner ship. Whats happening is you have an effect that takes place on buff end but no way to end the buff.

+1 Loading…
Reply #4 Top

GeoFan your tip did the trick once again. Is there anything you don't know about modding this game? :D +1 Karma to both of you many thanks!

Reply #5 Top

Trying desperately not to make a new thread, so just a quick question in this one:

Has anyone created a mod to enable the renaming of ALL ships and possibly even structures? If not, does anyone know how one could go about doing it?

Thanks a bunch.

Reply #6 Top

Quoting Spaghetti7, reply 6
Has anyone created a mod to enable the renaming of ALL ships and possibly even structures? If not, does anyone know how one could go about doing it?

Hardcoded.

Quoting Spaghetti7, reply 6
Trying desperately not to make a new thread, so just a quick question in this one:

That issue is moot here. Make your new thread if you wish.