Results 1 to 5 of 5

Thread: Custom Sound

  1. #1

    Custom Sound

    Hey, I've mad quite lot of missions with custom sounds although I've hit a odd snag I cant really figure out, I have a 28sec Ogg sound file that I play and it works fine in game.. but it only plays for 4 sec ? how do I make it play the Full sound ? and also in the triggers how do I make it to play the sound repeated but only say 280 sec or 500sec when the trigger is activated ?

  2. #2
    Anyone know ? trying fixing it but. it just seems to only play 4 sec ?

  3. #3
    First Sergeant
    Join Date
    Oct 30 2009
    Location
    Brisbane, Australia
    Posts
    980
    Quote Originally Posted by Gh0st AACF View Post
    Anyone know ? trying fixing it but. it just seems to only play 4 sec ?
    Well since no-one else chipped in I might try.

    playsound http://community.bistudio.com/wiki/playSound
    playmusic http://community.bistudio.com/wiki/playMusic
    say http://community.bistudio.com/wiki/say
    say2d http://community.bistudio.com/wiki/say2D
    say3d http://community.bistudio.com/wiki/say3D
    etc

    ...are all ways of playing sound and each works a little differently. Playmusic for instance requires you to specify how long the sound is.

    You didn't specify which you used, which makes it hard to help you.

    FWIW I've had no problems playing 10 minute longs oggs with say3d, to simulate them coming out of a car stereo.

  4. #4
    I believe say and say3D is the same, except say3D won't be played during cutscenes or intros etc.
    Regards
    Carl Gustaffa - left this game due becoming Steam Exclusive

  5. #5
    Oh my bad sorry, I have a addaction command on a Car, just for testing purposes, and I have it linked to a script, that has playSound "siren" I got in the game and click it, and It does work... but like I said before only 4 sec ?, I also tried a more simple way by just putting in a trigger and making it activate for anyone and putting the playSound "siren" they do work I hear the siren but only goes for 4sec, I got this sound from Youtube converter, and then used Audacity to cut it and convert it to a .ogg ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •