Results 1 to 5 of 5

Thread: Sound Help

  1. #1
    Ok im making a campaign called the "The Kolgujev Project"

    Its based around a zombie theme, anyways..

    I need some help becuase i have a sound file called airraid1.ogg

    Im wondering how i can loop this file when it plays so its constant and when the player gets near the town it fades louder and when the player gets further away from the town it fades out.

    Im not very good in the sound department.

    MattXR ( MxR )

    Check out my Twitter BIS Fans and Sub!
    -- MRKCCO Twitter --


  2. #2
    You have to add it to OFP as sound and not as music. I think as "sounds / anonymous". If you add it as your voice, it works similarly as music. There is a sound tut I think of OFPEC. There it's written nicely.
    For the repeating sound, add a neverending loop script:


    #loop
    play zombiesound
    ~lengthOfSound
    goto "loop"

    This isn't 100% precise, but hope it helps.

  3. #3
    Captain MattXR's Avatar
    Join Date
    Jan 17 2005
    Location
    United Kingdom
    Posts
    6,027
    Author of the Thread
    ok i found this

    "If you want the music to come out of the radio or anything else you should make your ogg file with
    the same specs as you do for sound, then we place a radio in the editor and write:

    this exec "music.sqs" and now we'll write a music.sqs file.
    So lets say that the length of your music file is 1:20, so you'll write in the notepad like"
    this:

    Quote Originally Posted by [b
    Quote[/b] ]
    #loop
    _this say "name of your song"
    ~120 -
    ;//the actual length of the song, we use it if you want the song to loop over
    goto "loop"
    but it doesnt work, could anyone help me..




  4. #4

  5. #5
    Also, you should try out the sound if it even works. Put a trigger, and from effects choose your sound. If you do not hear it, the problem is elsewhere.

Posting Permissions

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