Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My problems
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#91
RE: My problems

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

Trying is the first step to success.
10-21-2012, 09:53 AM
Find
rammstein1999 Offline
Junior Member

Posts: 2
Threads: 1
Joined: Oct 2012
Reputation: 0
#92
RE: My problems

You should use this code:


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


But why fade it 2 seconds? (that 2.0f = for fade in sound)
10-21-2012, 11:31 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#93
RE: My problems

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

Trying is the first step to success.
10-21-2012, 01:25 PM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#94
RE: My problems

However, it should be like this:

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

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-21-2012, 01:30 PM
Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#95
RE: My problems

But my sound is custom , so how do i play it?
10-21-2012, 05:35 PM
Website Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#96
RE: My problems

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.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
10-21-2012, 05:40 PM
Website Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#97
RE: My problems

(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?
(This post was last modified: 10-21-2012, 05:57 PM by naseem142.)
10-21-2012, 05:51 PM
Website Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#98
RE: My problems

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

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

I help people when i'm bored :U


Typing Speed: 74 Words per minute
10-23-2012, 05:34 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#99
RE: My problems

(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

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-23-2012, 05:44 PM
Find
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
RE: My problems

(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

I help people when i'm bored :U


Typing Speed: 74 Words per minute
10-23-2012, 05:45 PM
Website Find




Users browsing this thread: 2 Guest(s)