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?
Cruzore Offline
Senior Member

Posts: 301
Threads: 2
Joined: Jun 2012
Reputation: 37
#2
RE: Greating sounds?

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)

Think, before you speak Google, before you post
(This post was last modified: 07-06-2012, 11:15 PM by Cruzore.)
07-06-2012, 11:14 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)