Rocky Posted July 21, 2020 Share Posted July 21, 2020 So a typical line of code for sound is like this <Sound IgorId = "153" File = "a_woodpecker.wav" Volume = "1.00" MinPeriod = "6.000000" MaxPeriod = "8.000000" Height = "7.01" MaxPlays = "-1" DisableProp = "1" Grounded = "1" Pos = "-113.86;-76.20;35.43;"> The variables look like this IgorID = ?? File = wav file name, no path Volume = ?? MinPeriod = ?? MaxPeriod = ?? Height = ?? MaxPlays = ?? DisableProp = ?? Grounded = ?? Pos = "26.23;-174.15;9.21;" x,y,z 1 Quote Link to comment Share on other sites More sharing options...
ApexMods Posted July 21, 2020 Share Posted July 21, 2020 You will need to place new sounds through the Igor game editor, otherwise there may arise script ID conflicts when just manually adding them in mission files. That’s why there are IgorIDs for each entry. The File name is sufficient here, because sound files also need to be added to e.g. the effects.xml sound database. Volume allows individual adjustment to how loud the sound is played. Min an MaxPeriod set min and max pause between repeated playbacks (-1 sets infinite looping). Height is the physical height (meters) of placement, e.g. to put a bird sound atop a tree, a flyover plane hundreds of meters up, etc. MaxPlays limits amount of repetitions (usually not necessary or advisable). DisableProp turns off 3d propagation. Grounded (0/1) sets whether Height (see above) is in relation to the ground at location of placement or an absolute value. Pos defines the 3d coordinates of the sound origin. All these are generated automatically and easily adjustable in Igor. 1 Quote Link to comment Share on other sites More sharing options...
Rocky Posted July 21, 2020 Author Share Posted July 21, 2020 Okay I'll try and place a custom sound in a mission. 1 Quote Link to comment Share on other sites More sharing options...
ApexMods Posted July 21, 2020 Share Posted July 21, 2020 And another new Ghost Recon modder is born. I love it. 😊 1 Quote Link to comment Share on other sites More sharing options...
Rocky Posted July 21, 2020 Author Share Posted July 21, 2020 Sounds are amazing, place any sound at any location and height, and even make the sound a line rather than a single point - plus many more options. Pretty cool stuff. 1 1 Quote Link to comment Share on other sites More sharing options...
ApexMods Posted July 21, 2020 Share Posted July 21, 2020 You can also make them move about. 🙂 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.