Jump to content

Creating new "Magic effect", where to set the actual damage?


Recommended Posts

And good evening again!

(You are not getting rid of me anytime soon ...)

 

I have another question that (possibly) has a simple answer and I am (certainly) just to stupid to find it!

For a mod that I am working on I plan on making an area that if anybody enters (no matter if NPC or PC or creature) they will get some damage per second. So the longer they stay in there, the more damaged they get.

Sounds simple!

I made a trigger box that covered the area and scripted it so, that it would cast a spell at everybody who enters it.

I made a custom "spell" that has a custom "magic effect". But there isn't any place in the "magic effect" editor window to type in how much damage the target actually takes. I also looked at some vanilla "magic effects" that do a simmilar thing (poison damage for example) and I don't get how they work either. Nowhere to type in the damage, and no script attatched either.#

 

So how does this stuff work?

The CK wiki didn't help either: https://www.creationkit.com/fallout4/index.php?title=Magic_Effect

There is literally nothing useful on that page.

 

If anybody knows how to do this, let me know here!

Link to comment
Share on other sites

Whether you are hand placing or script PlaceAtMe the areas it may be quicker to use the Hazard method, look at hazard RadiationHazardDeadly1024 and spell RadiationHazardDeadly for example.

Link to comment
Share on other sites

Thanks for the very quck anser!

So I looked at that radiation hazard thing and I think i get it now:

In the "spell" editor window on the right you can select the effects that the spell has. If you add something there you can edit the "magnitude" value. THAT is the value that sets the damage, if I uderstand it correctly, right?

And for the placement thing:

Yes, I plan to place just three of these areas in an interior cell. They can be enabled / disabled from another script (and other things), so I will just "hand place" them. No need for "fancy" stuff, for now ...

But yeah, thanks for the answer, it was right before my eyes the whole time ...

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...