Zerodomai Kitsune Posted September 27, 2017 Posted September 27, 2017 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.
Azazellz Posted September 27, 2017 Posted September 27, 2017 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
Zerodomai Kitsune Posted September 27, 2017 Author Posted September 27, 2017 hmm is there no way to make a npc use the voice they have assigned to them? that way the sound matches up with their voice?
Azazellz Posted September 28, 2017 Posted September 28, 2017 Well, for that you can use Say script. But I'm not sure how to properly code correct voice type for all NPC.
Zerodomai Kitsune Posted September 28, 2017 Author Posted September 28, 2017 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.
Lodakai Posted September 28, 2017 Posted September 28, 2017 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.
Zerodomai Kitsune Posted September 28, 2017 Author Posted September 28, 2017 hmm I still don't really understand what I need to do, are there any good tutorials for dialogue via script? might have to put dialogue on the backburner till i get better with the creation kit.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.