Fred Tetra Posted November 18, 2004 Share Posted November 18, 2004 Well, I took a look into SSF files and how they work in KotOR as opposed to Neverwinter Nights. In the Neverwinter Nights, the SSF file specifies for a given event (directly) what sound file to play and (indirectly, through the dialog.tlk file) what text to display. So when a Great Mummy shouts it's battle cry #1, the sound "c_mummygrt_bat1.wav" gets played and the string "Tal-fe, mige mowww!" from the dialog.tlk file is displayed. In KotOR, the SSF file specifies for a given event both what sound file to play and what text to display via a dialog.tlk entry. This means you cannot just modify the SSF file if you want to use something other than the built-in sound/text pairs; you also have to edit the dialog.tlk file. So how can we modify the sounds and text? A few options are available: The simplest is to specify in the Creature editor that you want to use a different Soundset, one for a creature that won't be appearing in your mod, and replace that creature's sounds with your own. Of course you'll only be able to put sounds in for events defined in the corresponding SSF file for that Soundset. In other words, if you pick a Soundset whose SSF file specifies only an on-death sound (like the SithTroop.ssf file) the your creature only gets the on-death sound. Rather limiting indeed. The next way assumes KotOR allows overriding SSF files, which I haven't experimented on. You could change individual event sound/text pairs and you could still replace the sounds with your own, but you would still have the same text. Yet another way would involve editing the dialog.tlk file. This isn't hard, in principle, and it would let you modify any SoundResRef and text to go with it, but then the issue becomes how to distribute your updates. There are tools to do this in the Neverwinter Nights realm, but I haven't done any experimentation myself. The final way only works if KotOR allows overriding SSF files. By modifying them and the dialog.tlk file, you would have the greatest degree of flexibility. So... How interested are all of you in custom event sounds for your mods? Link to comment Share on other sites More sharing options...
stingerhs Posted November 18, 2004 Share Posted November 18, 2004 that sounds awesome. if its feasible, then why not try it, you know??? Link to comment Share on other sites More sharing options...
Dak Vesser Posted November 18, 2004 Share Posted November 18, 2004 I'm not sure if this means anything, But I did manage to replace the Levelup chime with another chime sound I did in Reason 2.5, and I did it in stereo too. I did it like this; 1 Extracted "gui_level.wav" with Fred Tetra's KotorTools to use as a template. 2 Opened up Reason 2.5 and created a chime sound from a sampler. 3 Exported it as a 16bit, 44100Hz wave file, "or was it 24 bit?", I can't remember but I don't think it matters. 4 Re-named it as "gui_level.wav" 5 Stuck it in the Override Results; Worked like a charm. But as far as changing...uh "Calo Nord's" sound set file to a "Jawa" durring combat was just using the NWN's GFF editor and changing two things in one of his .utc files; 1- SoundSetFile to "49" where 49 = Jawa 2- TemplateResRef to "n_jawa" <--without this, there's NO sound at all! Also took out the instakill blasters and changed his name to "Little Man". So in the cantina, after counting to three, he ran around trying to punch and kick everyone, screaming like a Jawa.. I laughed:D Link to comment Share on other sites More sharing options...
Darth333 Posted November 18, 2004 Share Posted November 18, 2004 That;s interesting Fred Not being familiar with NWN I was thinking .ssf files worked the same way in Kotor @ Dak Vesser - Voices are already possible to add as well as new music. However, it would be nice to be able to add soundset (.sff files) manipulation. I mean not only switching from Calo to a Jawa but create new ones (why not a Yoda one ) I already got a few questions about how to do this in my PM mailbox. On the other hand, I also understand that area editing is much more useful and awaited by members than soundset manipulation. I say you should do it if you have time and are interested in doing it, Fred It is certainly going to be used but let's be realistic, to a lesser extent than some other features. Link to comment Share on other sites More sharing options...
Dak Vesser Posted November 18, 2004 Share Posted November 18, 2004 Oh Ma'bad! Yeah Jimmy rigging the .ssf files sounds like a good challenge to the PC user, not to mention trying this on the xbox could prove to be an even much more of a challenge. I'll have to check that one out. LOL Link to comment Share on other sites More sharing options...
tk102 Posted November 18, 2004 Share Posted November 18, 2004 Call me a newbie, but where are these .ssf files? I think .uts files and .dlg files provide enough means for getting custom sounds (streamsounds and streamwaves) without having to resort to modifying the dialog.tlk file... I strongly discourage the modification of that file. Link to comment Share on other sites More sharing options...
Fred Tetra Posted November 18, 2004 Author Share Posted November 18, 2004 Well, I modified Carth's ssf file to use Jolee's dialog.tlk stringrefs and put it in the override folder. Sure enough, the newly specified sounds are used in most cases. When you initiate a conversation, however, the voice is still Carth's since that's specified in the dialog. If I see enough votes for it, I'll add SSF editing and perhaps some dialog.tlk editing, too. I turn 41 tomorrow, so I don't know how much code I'll be putting out until after I recover from the cake and blowing out all of those candles! Link to comment Share on other sites More sharing options...
Darth333 Posted November 18, 2004 Share Posted November 18, 2004 Originally posted by tk102 Call me a newbie, but where are these .ssf files? LOL good one! BIFs ->Templates.bif (look at Kotor_Savegame_Editor.pl ) I strongly discourage the modification of that file. That is true, I did not think of that. It is especially annoying when you have games in different languages. Link to comment Share on other sites More sharing options...
tk102 Posted November 18, 2004 Share Posted November 18, 2004 Oh, ok. Yeah some hacker threw that sound set thing into KSE when I wasn't looking. Link to comment Share on other sites More sharing options...
Darth333 Posted November 18, 2004 Share Posted November 18, 2004 Originally posted by tk102 Oh, ok. Yeah some hacker threw that sound set thing into KSE when I wasn't looking. Really? Originally posted by Fred Tetra I turn 41 tomorrow, so I don't know how much code I'll be putting out until after I recover from the cake and blowing out all of those candles! and Fred, watch out for the fire! you might want to call the firefighters just in case Happy birthday! Link to comment Share on other sites More sharing options...
ChAiNz.2da Posted November 19, 2004 Share Posted November 19, 2004 Originally posted by Fred Tetra I turn 41 tomorrow, so I don't know how much code I'll be putting out until after I recover from the cake and blowing out all of those candles! Happy Birthday Fred! A "code-free" day seems like a great B-day present! well...for you anywayz... What are us non-coders going to do without you hacking away endlessly!? hehehe Link to comment Share on other sites More sharing options...
tk102 Posted November 19, 2004 Share Posted November 19, 2004 Happy Birthday Fred! A "code-free" day seems like a great B-day present. I don't know... Fred, if you're like me, part of you would just as well appreciate a "free-code" day where you could code as much as you like without distraction. Either way, Happy Birthday! Link to comment Share on other sites More sharing options...
Darkkender Posted November 19, 2004 Share Posted November 19, 2004 Originally posted by tk102 I don't know... Fred, if you're like me, part of you would just as well appreciate a "free-code" day where you could code as much as you like without distraction. Either way, Happy Birthday! I hear that TK102. And fred here's to you on yours. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.