Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 103 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Adding sound to script models
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 Scripting
Posted: Thursday, Jun. 8, 2006 03:58 am
Drakonin writes...
Quote:
How do you set the min/max distance?

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

The 9th and 10th values indicated in red is where you set the min/max distance.

Example: radio1,,ambient/Fire_Med_loop02.wav,0.6,0.6,,,,100,7000,auto,streamed,,looping,,mp_d6day,,,,,,,,
Share |
Tridon
General Member
Since: Jan 25, 2006
Posts: 232
Last: Nov 28, 2010
[view latest posts]
Level 4
Category: CoD2 Scripting
Posted: Thursday, Jun. 8, 2006 04:00 am
Drakonin writes...
Quote:
How do you set the min/max distance?

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

radiochatter,,radio/germanradio1.wav,1,,,,,50,500,auto,streamed,,looping,,

The marked areas are where you adjust them. dist_min is the area around the source where the volume is the same level. dist_max is where you won't hear the sound anymore. 0-50 = max volume, 51-500 = falloff, 501+ = no sound. Play with the two numbers to get it the way you want it to sound.

That darn veef beat me to it again.[machine_gun]

edited on Jun. 8, 2006 12:03 am by Tridon
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»