Aller au contenu

Photo

Can you change string ID of a conversation line?


  • Veuillez vous connecter pour répondre
11 réponses à ce sujet

#1
Qwinn1234

Qwinn1234
  • Members
  • 144 messages
Looking in every option, but I can't find a way.

Here's what happened:  I needed to copy and paste a conversation branch from one dialogue (where the owner was *not* the character speaking) to the person actually doing the speaking.  The cut and paste copied all the lines - but then it assigned it new string ID's, such that the lines no longer have voicing or effects.

I know I could copy the *.wav files from the old filename to the new string ID's filename, but I'd really rather not do that and have to include the new files in my mods.  I'm hoping there's a way I can just adjust the lines I copied so that I can refer to the original string ID's.  Is there any way?

Qwinn

#2
Qwinn1234

Qwinn1234
  • Members
  • 144 messages
For the record, I tried hex editing the string ID's in the .dlg file to be the old values. Didn't change anything in game.



Qwinn

#3
Qwinn1234

Qwinn1234
  • Members
  • 144 messages
Aw, hell. No, it's apparently *not* as easy as copying a wav file. That's not the way the original VO's are stored, apparently. They appear to be organized by conversation, which would explain why I lost the connection when I moved the lines from one conversation to another.

Basically, in the dialogue "den220_pick4_seneshal_grd.dlg", there are four lines spoken by the seneshal "den220_pick4_seneshal". I need those four lines out of the guard's conversation and actually be a part of the seneshal's dialogue. (For one thing, and you can see this in game, if you intimidate the guard during the "Steal the Teyrn's Crown" quest, you then get several lines of dialogue with the seneshal's back... since it's not his conversation he doesn't turn around to face you when you talk to him).

Hopefully there's some way I can accomplish this. It's not just the talking-to-his-back issue, I really would like to have the guard dialogue end when they are intimidated, so you can then steal the crown without being forced to talk to the seneshal, and the guards can run out the door before that conversation so the "Now that we're alone (Attack)" options actually work as intended.

Qwinn

Modifié par Qwinn1234, 12 avril 2010 - 11:12 .


#4
Qutayba

Qutayba
  • Members
  • 1 295 messages
In the Toolset, under tools, open the String Editor and do a search for keywords in your line of dialogue or the string number. You can edit anything, but you may have to check in the conversation resources in order to do so.

#5
TimelordDC

TimelordDC
  • Members
  • 923 messages
If I understand your request right, you want to change the StringID in the new conversation options you've added to the seneschal to point to the existing StringIDs in the existing conversation so you can reuse the .wav voiceover files, correct?



The talking-to-the-back issue can be addressed (I haven't tested this) by changing the Listener tag for the PC lines to the seneshal so he looks at you. I think this is what the Listener tag does.



Since you want to move the lines to the seneshal's conversation, the easiest fix is to copy the .wav files and rename them. Since you anyway have to include the new dialogue files, I don't see why including the .wav files would be a problem.

Each module has its own stringID references and I don't think you can have your module use existing StringIDs from the SinglePlayer module.

#6
Eshme

Eshme
  • Members
  • 756 messages
Yes a conversation seems to be assigned to one VO file , i did it with i think edit the DLG file and change the VO file ,and the String ID back to its original. I dont know of the hat where this was thou.



So theoretically you can add original voices but only from one original dialogue. That is so the VO will probably still be localized.

#7
tmp7704

tmp7704
  • Members
  • 11 156 messages

TimelordDC wrote...

Since you want to move the lines to the seneshal's conversation, the easiest fix is to copy the .wav files and rename them. Since you anyway have to include the new dialogue files, I don't see why including the .wav files would be a problem.

The problem would be, DA .wav files are packed into some sort of FMod archives, which can't be then opened even with FMod itself and there doesn't seem to be tools able to extract the needed data from these (the tools i could find were said to only handle some types of sounds, like music)

If someone knows a way to get these .wav files out of their wrapping, that'd indeed make things much easier.

#8
MOTpoetryION

MOTpoetryION
  • Members
  • 1 214 messages
yes if you change a convosation in any way its id gets changed to -00 something like that, but you need to give it a valid id . Check into some how to's by a member JackFuzz he has even made a few tutorials on the changing of conversations. very detailed too.

#9
tmp7704

tmp7704
  • Members
  • 11 156 messages
Would you happen to have a link to these tutorials? Unfortunately the search on this forum can be next to useless...

#10
Qwinn1234

Qwinn1234
  • Members
  • 144 messages
I actually did wind up converting them to .wav files and essentially recreating the seneshal's dialogue for my fixpack.



tmp7704, it's actually not that hard to extract the sounds. You can play the .FSB files in Windows Media Player... it'll complain that it's an unrecognized file type but will allow you to try to play it anyway, and if you say yes, it will work. You can then use a sound mixer program like Audacity (in theory, though Audacity in my Windows 7 won't recognize any input devices, had to ask someone else to do this part for me) to record and convert the sound bites you want into separate wav files. It's actually surprisingly simple to do.



And if anyone's interested, I have released my fixpack :)



http://social.biowar...m/project/2563/



Qwinn

#11
Qwinn1234

Qwinn1234
  • Members
  • 144 messages
Oh, and by the way:



"The talking-to-the-back issue can be addressed (I haven't tested this) by changing the Listener tag for the PC lines to the seneshal so he looks at you. I think this is what the Listener tag does."



In my own testing, this doesn't work. It will turn the speaker's head slightly in the direction of the listener, as long as the listener is in a 180 degree arc in front of the speaker. But if the listener is fully behind the speaker, the speaker will not actually change orientation.

#12
tmp7704

tmp7704
  • Members
  • 11 156 messages
I was thinking about re-recording things as another way to get them, yes. It's certainly an option, just bit less convenient if there's need to get more than just few files plus it can mean some drop in quality because it'll be re-compressing already compressed files. Still, it's better than nothing.