Let me preface this by noting that I have no idea what I'm doing and have no business modding. Hell I couldn't even figure out how to format code snippets in green text... Regardless:
As part of fulfilling my dream of replacing Yisha with a Wookiee, I've been looking into Yisha's voice files. There appear to be hundreds of sound clips for Yisha in XR_ext/voice-L044/10003. Accordingly, there are hundreds of lines of code in the plot related mission director xml files similar to:
<add_npc_line speaker="$Yisha" line="101002" comment="Technician. I work for Heart of Albion, performing safety checks for working areas; ships, production lines, that kind of thing."/>
Ideally, the mod would change every call for a Yisha voice sample with a random wookie voice sample. Sort of like how this works:
<speak actor="player.copilot" line="[11290, 11291, 11292, 11293, 11293].random" priority="20" />
It would keep the subtitles, and your co-pilot would just be a female wookiee names Yisha. I am really not interested in writing a separate xml replace patch for every single one of these lines, nor in just replacing the hundreds of .ogg sound files that each line refers to. However the XML patching document states that each select function must refer to only a single node. Is there any way to write a single replace patch that would find every instance of <add_npc_line speaker="$Yisha" line="X" and change the "X" to "[11290, 11291, 11292, 11293, 11293].random"? Is it possible with msel?
[Question] New to Modding - Changing Yisha's voice files to a Wookiee
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 7
- Joined: Mon, 28. Feb 11, 03:14
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
i ould suggest you to replace the related t ids in the 0001-L044.xml with t-file-links ( {pageid,tid} ) - that way you can do everything in one place. simply add 3 or 4 new entries & voice files for the new speak, too and then link one or two of them in the original entries and done.
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
