Frictional Games Forum (read-only)
My problems - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: My problems (/thread-18769.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


RE: My problems - FlawlessHappiness - 10-21-2012

Eh... you cannot play .ogg files with that func.. You can only play .snt files Smile


RE: My problems - rammstein1999 - 10-21-2012

You should use this code:


Code:
PlaySoundAtEntity( "Scream1" , "Scream1.snt", "Deadbody_1" , 2.0f, false);


But why fade it 2 seconds? (that 2.0f = for fade in sound)


RE: My problems - FlawlessHappiness - 10-21-2012

I don't think Scream1.snt is a sound, unless it's custom


RE: My problems - The chaser - 10-21-2012

However, it should be like this:

PlaySoundAtEntity( "Scream1" , "Whateverthesoundis.snt", "Deadbody_1" , 2.0f, false);


RE: My problems - naseem142 - 10-21-2012

But my sound is custom , so how do i play it?


RE: My problems - Robby - 10-21-2012

You're going to need a custom .snt file.

How I do it? I take an .snt file from Amnesia, rename it so it matches the name of the sound I have, then inside it, I edit the soundfile name (otherwise, it'll play the sound effect it originally was copied from), and that's it.


RE: My problems - naseem142 - 10-21-2012

(10-21-2012, 05:40 PM)Nemet Robert Wrote: You're going to need a custom .snt file.

How I do it? I take an .snt file from Amnesia, rename it so it matches the name of the sound I have, then inside it, I edit the soundfile name (otherwise, it'll play the sound effect it originally was copied from), and that's it.
Oh okay , that's simple. Big Grin

EDIT: Everything worked perfectly.

Inside the .snt file you can choose how loud is the sound with volume.
Is there a max number or something like that?


RE: My problems - naseem142 - 10-23-2012

How can i make spaces in the readable journal?
Like This:

Hello,
<=========== that space
Go kill that cow


RE: My problems - The chaser - 10-23-2012

(10-23-2012, 05:34 PM)naseem142 Wrote: How can i make spaces in the readable journal?
Like This:

Hello,
<=========== that space
Go kill that cow
You can add spaces with [br]. It results useful when making credits Wink


RE: My problems - naseem142 - 10-23-2012

(10-23-2012, 05:44 PM)The chaser Wrote:
(10-23-2012, 05:34 PM)naseem142 Wrote: How can i make spaces in the readable journal?
Like This:

Hello,
<=========== that space
Go kill that cow
You can add spaces with [br]. It results useful when making credits Wink


Danke. Big Grin