Frictional Games Forum (read-only)

Full Version: Custom UI and Player Sounds
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm working on a custom story with a female PC, and am trying to figure out how to change the player's reaction sounds (breathing, panting, etc.) to custom sound files in a way that won't overwrite the original files and can be distributed in a custom story.

I've tried copying the .snt files (from, say, sounds > ui > hurt_pant.snt, etc.) into my custom story folder and then setting them to point to my files, but it doesn't seem to work. I imagine that changing the place the original .snt files point to would do the trick, but that would change them for the original game as well, which I don't want to do.

Has anyone tried this and figured it out?
You need the ogg files bound to snt files too. And if you want to edit a snt file, just open it with notepad (preferably notepad++) and make the necessary changes.

Put it them into custom_story/your_custom_story/sounds folder.

Next time, searching before asking will help you a lot.
(02-08-2011, 03:14 AM)Tanshaydar Wrote: [ -> ]Next time, searching before asking will help you a lot.

Not really, asking is easier and gives faster results.
(02-08-2011, 03:40 AM)kailip Wrote: [ -> ]Not really, asking is easier and gives faster results.

Someone doesn't know how to use search :/
Sure, asking is always easier for the person asking. Not for the people answering.





*slaps Kailip in the face*
No, I actually tried that--putting the (copied) SNT files and (custom) OGG files into custom_stories/[nameofcustomstory]/sounds, then opening the copied SNT file with Notepad/Notepad++ and changing the sound names to those of my custom OGG files. But when I try going back into the game and opening my custom story, it still plays the original files.

I searched the forums before posting, but all I could find was this thread, which is for changing the sounds for all custom stories/the game itself: http://www.frictionalgames.com/forum/thread-6060.html

Here's my edited SNT file (the one in my custom story's sounds folder):

Code:
<SOUNDENTITY>
  <SOUNDS>
      <Main>
          <Sound File="newhurt_pant1" />
      </Main>
  </SOUNDS>
  <PROPERTIES Volume="0.5" MinDistance="1" MaxDistance="10" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>