Jump to content

Help Scripting NPC Scream


Zerodomai Kitsune

Recommended Posts

Posted

How would one go about making a Generic NPC voice out surprise in a script?

I'm currently working on a simple spell mod that deals no damage but the effect seems a bit weak without a response from the target, currently I have them staggering a few seconds into the effect but It would be nice to hear them gasp in surprise or confusion when the stagger hits?

is this a difficult thing to code, as I am a complete beginner when it comes to scripting and I'm just stumbling through the process of learning right now.

Posted

You need voice file (with desired emotion) first. You can search through Skyrim vanilla sound files or make one yourself.

 

After you get voice file (and add it to CK as a new sound) just add to your spell small script, like

Scriptname MySoundPlay extends activemagiceffect

sound property mySFX auto

Event OnEffectStart(Actor akTarget, Actor akCaster) 

mySFX.play(akTarget)

endEvent
Posted

yea I saw the say script, I just don't know how to use it.

specifically I don't know what to put in the (akTopicToSay) parameter, or even where that parameter leads to inside the creation kit.

oh I said that I was new to scripting, let me correct that. I'm new to the creation kit altogether kinda figuring things out as i go.

Posted

If you look at dialogue topic 00013F30 under the subdialogue response 000DBA38

This is the scream an npc makes when they are hit by a fire spell.  Their responses match the voices in this case.

 

I don't do any scripting but if you can call this dialogue topic when your spell hits, they will scream "AH! it burns!"

Or you can reverse engineer the method to somehow give the response you chose.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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