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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating sounds?
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#3
RE: Greating sounds?

(07-06-2012, 11:14 PM)FastHunteR Wrote: You should use:

AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates);

and:

PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);

FadeInSound could work too, but you don't want the grunt sound to be faded in, don't you?

If you need help at making a grunt sound only(normally it will choose the brute) refer to this page where I cleared it up:
http://www.frictionalgames.com/forum/thr...age-7.html
(first post at that page is explanation + PlayMusic, and second post is for PlaySoundAtEntity)
____________________________________________________________________________________

Yeah i guess the sound should be there instantly and not just be faded in, i see your point on that one.

So as understand, i just need an entity to combine the sound with?

CURRENT PROJECT:
A Fathers Secret == Just started
07-06-2012, 11:22 PM
Find


Messages In This Thread
Creating sounds? - by Lizard - 07-06-2012, 10:44 PM
RE: Greating sounds? - by Cruzore - 07-06-2012, 11:14 PM
RE: Greating sounds? - by Lizard - 07-06-2012, 11:22 PM
RE: Creating sounds? - by Cruzore - 07-06-2012, 11:25 PM
RE: Creating sounds? - by Lizard - 07-06-2012, 11:39 PM
RE: Creating sounds? - by Cruzore - 07-06-2012, 11:41 PM
RE: Creating sounds? - by Lizard - 07-06-2012, 11:43 PM



Users browsing this thread: 1 Guest(s)