Results 1 to 7 of 7

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

  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)

  3. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    another tutorial by prokiler, really nice

    i wanna add, that serveradmins need to copy the files in every custom-map-/soundaliases/-folder to there own fs_game without making them in an .iwd-file

    this way, a server can have unlimited maps (all in /main).

  4. #3
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    yes true

  5. #4
    Corporal STAUFFi's Avatar
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    269
    Thanks
    106
    Thanked 128 Times in 83 Posts

  6. #5
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    lol german xD i watched his tutorials when i was beginner...he made good tutorials

  7. #6
    Corporal STAUFFi's Avatar
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    269
    Thanks
    106
    Thanked 128 Times in 83 Posts
    ye and copy this tutorial for K~ ^^

  8. #7
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    Not really . . . i did everything myself i am good enough for these small scriptings now xD i can do this my eyes closed & btw i showed easy steps so don't compare mine with his tutorial xD

  9. The Following User Says Thank You to Killer.Pro For This Useful Post:

    kung foo man (4th 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
  •