0 of 0

File information

Last updated

Original upload

Created by

me

Uploaded by

MDayM0zart2

Virus scan

Safe to use

Tags for this mod

About this mod

This is a sample mod file/tutorial to get players started on how to create their own simple dialogues, simply to talk to characters they want with new lines.

Permissions and credits
Credits:
https://ck.uesp.net/wiki/Fallout_4_Simple_Fetch_Quest_Tutorial_Chapter_6:_Creating_Dialog
https://www.youtube.com/watch?v=Y3vVYIL2i2o
https://www.youtube.com/watch?v=ouiEZdnHY2A&t=771
https://www.reddit.com/r/Fallout4Mods/comments/14ppbrx/help_generating_lip_file_for_fallout_4_2023/

What is this mod?
This is a sample mod file/tutorial to get players started on how to create their own simple dialogues, simply to talk to characters they want with new lines.

If you install this file, you can skip to ***Start it in game*** section to activate it and try talking to Cait (Command > Talk)

Requirements:
  • Fallout 4 Creation Kit (You can get it On Steam)
  • (If you want voiced dialogues), wav to xwm Converter: https://www.nexusmods.com/fallout4/mods/3663
  • (If you want only lip sync, no voice): https://sourceforge.net/projects/silent-voice-generator/ 
  • (Optional) (For AI voices):
xVASynth:
https://www.nexusmods.com/fallout4/mods/49340
FallTalk Audio and Voice Generator:
https://www.nexusmods.com/fallout4/mods/86525


Explanations:
  • MyDialogueQuest: this is the quest to activate to talk to the ped you want
  • MyDialogueQuestAlias/MyAlias: this is the ped you want to talk with


***How to customize your own dialogue***
Steps:
***Setup***:
Note: This is creating a new .esp file, you can also use MyDialogueQuest.esp, add a new Quest based on this tutorial as well (for different characters) (Skip to step 12 then return to Step 2 if you are gonna use the existing MyDialogueQuest.esp file)

1.  Open Creation Kit, Go to File > Data, Then Check Fallout4.esm, Press Ok, let it load.


2. Go to Character > Quest > Right click on any Quest > New, Name the ID “MyDialogueQuest” (this is the ID you will use to activate the quest later), Put the Priority as 100.



3. Go to Quest Stages, Right click on the Left Menu, click New. Index 0 will appear, Do it again, This time type 1. (This is so you can turn it on and off later)

4. Go to Quest Alias, Right click > New Reference Alias, Type any Alias Name (ex: MyAlias), Check Fill Type: Unique Actor, then select the Character you want to talk to. Then in Reference Alias Windows, Press OK. Then  in Quest Window, Press Ok again


Use Fallout wiki to find their id if you need to:
https://fallout.fandom.com/wiki/Fallout_4
Example: https://fallout.fandom.com/wiki/Cait
Click on Technical, Editor ID (CompanionCait)  is what you want to find.

5. Now click on any Quest on the Right menu, press M then Y, it will redirect you to MyDialogueQuest. Right quick on the Quest > Edit.

6. Go to Scenes, on the Left EditorID Menu, Right click > New, Type in a different Scene ID like below.


7. Click on the scene you just made, Tick Player Dialogue, Right click on the White space like below, Click New Actor. Choose MyAlias (Other NPC/Cait)

8. Double click the space like the image, then Give the ID a name

New Response Window will appear, type in what you want the character to say ex: Hi, I'm Cait, click OK.


Topic Info window will appear, Right click on the Conditions > New


For first condition, it will be GetIsId, then choose the Editor ID of the Character you want, click OK


For 2nd condition, do the same, it will be GetStage Quest:MyDialogueQuest == 1, click Ok. These 2 conditions will be needed. 
[Why? Because you want only Cait to be the one’s talking (prevents say Dogmeat from saying the line) and you can turn it on or off with the GetStage]

Then in the Topic Info Window Click Ok. Topic Window will appear, click Ok again.


9. Right click White space, click “Add Phase at End”



Double click on the Phase1, Give it a name like Phase01, then Click OK



 After that right click white space inside the phase 1, New Action > Player Dialogue.



Topic Info window will appear, Press OK, then Player Dialogue Action… Window will appear, Press Ok again also.

10. Double click on the Brown Action 1 space, Player Dialogue Space like Above will appear again. On The left side will be what the Player will say and the Right side will be what the NPC responds. The Positive, Negative, Neutral, Question represents the arrow direction (or the  1,2,3,4 option) so you can choose in game (like Positive is Down Arrow, etc…) Lets pick a player dialogue. Double click the *Empty on the Positive Left Side



Topic Info appears, Double click again on EMPTY Response Text


In Edit Response, You will have Prompt ex: Say Hi, Be Nice, Be Rude etc.. and the Response Text, which is the actual thing the ped will say. You can choose the facial expression in the Anim Face Archetype. After you are done click OK, then Ok again in Topic Info



Eventually, after you are done, it will look something like this, you can double click on the text below the colors to edit them if you want.


11. Click on white space outside, Add Phase at End, then on the white space inside Phase 2, New Action Start Scene.




Start Scene window appears, Right click on the list below > New


Scene Info: on Scene, select MyDialogueQuest01, Click OK, then Ok again in Start Scene, then Ok again on the Quest window, 



Save the file (click the Floppy Disk icon) or File > Save, give it a name like MyDialogueQuest (or anything).  


12. Drop the MyDialogueQuest .esp file into Vortex Mod Manager (This will make loading the mod file easier)
Or manually (https://wiki.nexusmods.com/index.php/Fallout_4_Mod_Installation)


(You can skip to "Start it in game" section (Step 28) to test your changes if you want) 
(You dont need lip sync or voiced lines at all to talk to your ped. They just wont move their mouths.)

Later if you want to return to update the .esp file, Go to File > Data, on the Plugin/Master Files list, check the box of the MyDialogueQuest.esp file
Click on the file (make sure it’s highlighted blue), click on Set as Active file then Click OK



***Customizing voice***:
***Lip Sync only/No Voice***:
13. If you only need Silent voice (lip sync, no voice), in Quest window, Quest Data (where you name the quest id), press Export Quest Dialogue. Save it somewhere (it’s a .txt file)




Open Silent Voice Generator, choose game Fallout 4, Audio File Output: xwm

14. Click add file, choose the quest dialogue .txt file you just generated
15. For convenience, in Output Directory, choose your main Fallout 4 folder (ex: …/common/Fallout4/), so the files will save immediately onto your game directory. 

Otherwise you can drag and drop the files from Silent Voice Generator/output/ onto Fallout 4 folder (ex: Say you want lips sync only for your Sole Survivor but not the NPC or vice versa, you can choose which folder [from the Data\Sound\Voice\MyDialogueQuest.esp\] to drag and drop into. ex: you only need PlayerVoiceFemale01, PlayerVoiceMale01 for lip sync SS voice but not Cait’s voice) 

16. Click Generate All 
(Now you can save the .esp file [Floppy Disk icon], skip to "Start it in game" section (Step 28) to test your changes if you want)

***Voiced lines***:
You can do this by making a folder based on given audio file path
17. Back to step 11, in Edit Response tab, below Sound File, you will see the Audio section with Voice Type, and Path. Path is what you want. 
ex: Data\Sound\Voice\Test.esp\Character\Something.xwm


18. All you need to do now is go to  Fallout\Data\Sound\Voice\, create a folder named Test.esp. (this case MyDialogueQuest.esp)

19. Then inside Test.esp folder, create a folder “Character”  (this case NPCFCait)

20. Generate/Get your voice line .wav (or anything as long as you can convert it to xwm)
21. Now put the .wav file into the Fallout\Data\Sound\Voice\Test.esp\Character\. (ex: Data\Sound\Voice\MyDialogueQuest.esp\NPCFCait)
22. Rename the file to Something.wav (this case 00000FA4_1.wav)

23. (One time only step):
Go to Fallout4/Tools/LipGen, Move CreationKit32.exe, GFSDK_GodraysLib.Win32.dll and ssce5532.dll to main Fallout 4 Folder


24. Open cmd, type cd to your Fallout 4 folder (ex: cd E:/Steam/something/stuff/Fallout 4/, if it’s not in C drive, type “e:” or “d:” depending on the drive letter ex: d: for D:/ drive)
25. Enter this command:
CreationKit32.exe -GenerateSingleLip:"Data\Sound\Voice\Test.esp\Character\Something.wav" "Here is my response"
Edit "Here is my response" to what your character actually says in the file (“It’s raining today”, “I’m fine” etc…)
EX: CreationKit32.exe -GenerateSingleLip:"Data\Sound\Voice\MyDialogueQuest.esp\NPCFCait\00000FA4_1.wav" "Sure, let's go"

26. Now Creation Kit will load (let it be, it will shut off on its own), then generate a .lip file. 
Open MultiXwm, Add  Something.wav, convert it into  Something.xwm, then drop xwm file (from MultiXwm\output) into Data\Sound\Voice\Test.esp\Character\ 


Continue doing these steps (from 17 to 26) in the ***Voice Line*** section for other lines. You can skip "create new folders" (step 18,19) Steps  (if it’s the same character but you are doing new line)

(You can also do something similar for Player lines in PlayerVoiceFemale01, PlayerVoiceMale01 folders)
27. Save the file (click the Floppy Disk icon) or File > Save


***Start it in game***:
28. To turn it on, open console, type setstage MyDialogueQuest 1
(Change “MyDialogueQuest” with your own Quest ID from Step 2 if you have a different one)
29. Go to the ped you want to talk, press E on them (for Companion, press E)Command, then choose Talk). Then test if the dialogue works

30. To turn it off, open console, type resetquest MyDialogueQuest

***More ideas***:
Feel free to branch out, add in stuff, edit them to your liking in this file
  • If you want your character to say multiple lines (ex: “I like summer…” then say “...I also like fall”), Double click on the Text Section you want, then Right click on Response Text part > New.

  • If you want to choose your custom ped
(If you try to repeat the same steps above, it wont work, as the game wont be able to grab custom Ped alias.) we need to find the existing Custom quest dialogue for that ped (and edit them, instead of create new file)
Steps:

1. Lets say you have a new ped (that doesnt exist originally in the game), ex: I use Mary Jane. Simple go to File > Data, Plugin/Master Files, check the .esp file of your custom Companion

2. Go to Character > Quest, Try sort by Editor ID or Name to find the Character Dialogue Quest. In this case it’s LtC_Quest_MaryJ_Dialogue, then go to Scenes, Edit the lines to your liking





- If you want a 2nd custom dialogue with another ped, make a new quest with new ID, as the same steps from Step 1.