Jump to content

Help! My gun is too gooey!


LucidLady

Recommended Posts

In NifSkope open one nif. Go to bhkNPCollisionObject->bhkPhysicsSystem. In the Block Details below, right click on Binary Data and select "Export Binary". Save the file as txt. Then open the other nif, do the same thing, except select the option "Import Binary" and select the file that you saved previously. That's one way to copy collision, if both nifs have one. If I remember right, I think it's recommended that the objects are close in size and shape. Should have saved that link with the tutorial, I forgot where I found it.

Link to comment
Share on other sites

Oof, i'm not about tacklin' the bouncy-egg effect for now x_x;

But thank you for the instructions!

 

Right now i'm workin' on making them die out of combat as an option.

I decided to give each crab a unique "Exposure Sensitivity" keyword, and created a new Enchantment.

The enchantment casts on themselves, and has two conditions. 1 that they have the special keyword, and 1 that they be out of combat.

I'm gonna make a few different tiers of the Enchantment that have different magnitudes and apply those to each crab depending on how much health they have.

 

Should I make it a separate main file with the fragile crabs? Or should I include them in the Season Pass main file as separate barrels?

There's already 6 different barrel modes for the non-Exposure-Sensitive crabs @_@

Link to comment
Share on other sites

Neither. I'll type you up a full tutorial just so we're for sure on the same page. It'll be very detailed so please don't feel like I'm talking down to you, I just don't know how much you know about the process.

Go to the Magic Effect section in the Creation Kit. Right-click and make a new Magic Effect making sure to give it a memorable ID, like EggyMLKillEffect. In the top left of the Magic Effect window, set Effect Archetype to Script, set Casting Type to Constant Effect, and set Delivery to Self.
at the top center of the Magic Effect window where it says Target Conditions, right click in the lined space and click New. A thin Condition Item window will appear. On the left of the Condition Item window, use the dropdown and select IsInCombat. On the right of the Condition Item window change the Value to 0.0000, then click OK.
Now we're back at the Magic Effect window. In the bottom right of the Magic Effect window, where it says Script Name, click the Add button. A small window will appear. At the bottom of this small window uncheck "Show Properties Window On Add".
In the same small window double click on [New Script] which will open another even smaller window. Where it says Name NewScript give the script a memorable Name like EggyMLKillScript and then click OK.
You should be back at the big Magic Effect window. In the bottom right you should see your script name(EggyMLKillScript). Right click on that and click Edit Source. A large script window should appear, and there should be a bit of text already in it saying the Script's name. Place your cursor below that text and click, then press the enter key a few times to make room so you don't mess with the file name.
With that space made go ahead and copy and paste my script from here into the script window:
ActorValue Property Health Auto
Int Property Percent Auto

Event OnEffectStart(Actor akTarget, Actor akCaster)
     StartTimer(1, KillMLTimer)
EndEvent

Event OnTimer(int aiTimerID)
     If aiTimerID == KillMLTimer
          Float MLHealth = akTarget.GetValue(Health)
          Float MLHealthPercent = akTarget.GetValuePercentage(Health)
          Float MLHealthMax = (1/MLHealthPercent)*MLHealth
          Float MLHealthOnePercent = MLHealthMax/100
          Float DamageToDo = MLHealthOnePercent*(Percent)
          akTarget.DamageValue(Health, DamageToDo)
          StartTimer(1, KillMLTimer)
     EndIf
EndEvent

Event OnEffectFinish(Actor akTarget, Actor akCaster)
     CancelTimer(KillMLTimer)
endEvent
Then at the top left of the Script window, either use File->Save or just click CTRL+S on your keyboard. It should save the script, and you can now click the top right X to close the Script window.
Now that we're back at the Magic Effect window, select your Script by left-clicking on it(just normal click) and click on the Properties button at the bottom right. This will bring up a large Properties window. At the bottom left of the Properties window press the Auto-Fill All button, then in the large white area of the Properties window click on the Percent property and in the gray area on the right, click Edit Value. Fill in the value with how much damage you want to be done each second. For thirty seconds, you would do about 3 percent, so you would type 3. After choosing the percent you want, at the bottom of the Properties window click the OK button.
Now we're back to the Magic Effect window again, at the bottom center of the window click the OK button.
Now that your Magic Effect is finished, go to the Spell section in the Creation Kit, right-click and make a new Spell. In the top left of the Spell window give it a memorable ID like EggyMLKillAbility and set Type to Ability, set Casting to Constant Effect, and set Delivery to Self.
In the wider lined portion on the right of the Spell window right-click and click New. A thin window called Effect Item will appear. At the top left of the Effect Item window where it says Effect, select the Magic Effect you created earlier(EggyMLKillEffect). Click the OK button at the bottom left, which will close the Effect Item window.
Now we're back at the Spell window, go ahead and click the OK button at the bottom.
Now the spell has the effect, so just put the spell on all of your Mirelurks by editing them individually. Edit the NPC mirelurk, and go into the Templates section first. Make sure Use SpellList is unchecked. Go to the SpellList section and add the spell to the mirelurk by right-clicking on the topmost lined area and selecting your Spell(EggyMLKillAbility). After adding the spell to your mirelurk, click OK at the bottom left. Repeat for all the mirelurks you are using.
That should be all.
EDIT: Attempted to improve clarity with font edits
Edited by Fantafaust
Link to comment
Share on other sites

Yes. Mhm.

It's gonna take me a bit to consume this absolute unit of a post.

I've gone cross-eyed looking over your post for now, but I don't want you to think i'm not gonna have a go at it.

 

Both you and robotized are goin' in the special thanks section =D

And in my preview video i'm gonna make it super clear to everyone that it's you two that wanted the crabs to die, NOT ME!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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