Results 1 to 7 of 7

Thread: MAPPING : How to add a background sound in a custom map.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts

    Post MAPPING : How to add a background sound in a custom map.

    Hey friends,
    In this tutorial i'm going to show you how to put a background sound in your custom map.
    To start we're going to open the mp_mapname.gsc file.
    It should be something like this

    Code:
    main()
    {
    	maps\mp\_load::main();
    }
    here we're going to set our sound so that when the map will start the sound'll be called from here.

    so we need to put some codes in it.

    Code:
    main()
    {
    	maps\mp\_load::main();
    
            ambientPlay("ambient_background_sound");
    }
    so now we need to make some folders and in those folders we'll put our sound and its settings.
    so on your desktop make folder 'sound' and 'soundaliases'
    In the sound folder make another folder 'ambient' and put your sound file (the sound you want to be played on your map) in there.
    and in soundaliases folder make a text document and name it background_sound.csv (you can rename it to anything)
    in the background_sound.csv file all you need is this code

    Code:
    name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage
    
    
    #Ambiance
    ambient_background_sound,,ambient/yoursoundname.mp3,0.63,,,,,,,local,streamed,,looping,,mp_yourmapname
    sound and soundaliases should be in the iwd file
    so guys thats it for the background music
    hope it helps..

  2. The Following 3 Users Say Thank You to Killer.Pro For This Useful Post:

    EvoloZz (20th December 2012),kubislav23 (21st February 2016),kung foo man (3rd September 2012)

Posting Permissions

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