Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Does COD2 support .mp3 weapon sounds?

  1. #1
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts

    Does COD2 support .mp3 weapon sounds?

    Hello guys.

    Last time i wanted to convert .wav weapons sounds to .mp3. I know COD2 supports .mp3 files but even i compiled the .wav file, i got error about invalid file or corrupt file. I tried to compile with all bit rates, and it doesnt matter.I used Sony vegas and WAV MP3 converter. I remember i was converting .wav files to .mp3 and it work (it just was mod sounds no weapon). Any suggestions or tips? Thanks you.

    P.S: I'm converting .wav to .mp3, beaucose .mp3 size is smaller than .wav (I'm on 1.0 so that mean a lot).

    Edit:

    .csv file

    PHP 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"
    ,,,,,,,,,,,,,,,,,,,,,,,
    "#RPK",,,,,,,,,,,,,,,,,,,,,,,
    "weap_rpk_fire",,"weapons/rpk/rpk_fire.mp3","0.66","0.71","wpnai","0.98","1.03",35,8400,"weapon",,,,"0.7",,,,,"weapon2",,,,
    "weap_rpk_fire_plr",1,"weapons/rpk/rpk_fire.mp3","0.9","0.95","wpnplyr",1,"1.1",500000,,"local",,6,,"0.85",,,,,,,,,"0.2"
    "weap_rpk_fire_plr"
    ,2,"weapons/rpk/rpk_fire.mp3","0.85","0.9","wpnplyr","0.9","1.2",500000,,"local",,,,"0.85",,,,,,,,,"0.2" 
    Errors:
    Click image for larger version. 

Name:	Bez tytułu.png 
Views:	50 
Size:	303.3 KB 
ID:	124

    My .mp3 file and original .wav file
    http://myextreme.pl/robson/attatch.zip
    Last edited by RobsoN; 31st January 2013 at 12:29.

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    Instead of:
    Code:
    "weap_rpk_fire",,"weapons/rpk/rpk_fire.mp3","0.66","0.71","wpnai","0.98","1.03",35,8400,"weapon",,,,"0.7",,,,,"weapon2",,,, 
    try:
    Code:
    
    "weap_rpk_fire",,"sound/weapons/rpk/rpk_fire.mp3","0.66","0.71","wpnai","0.98","1.03",35,8400,"weapon",,,,"0.7",,,,,"weapon2",,,, 
    (missed the "sound/...")
    timescale 0.01

  3. #3
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    The 'sound' folder is automaticly added by cod2. I got error like: ERROR: Sound file 'sound/sound/weapons/...' Not Found

    sound folder duplicate, so that is not the problem .

  4. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    128 cbr is supported

    Any other bitrate or vbr is not officially iirc

  5. The Following 2 Users Say Thank You to IzNoGoD For This Useful Post:

    kung foo man (31st January 2013),RobsoN (31st January 2013)

  6. #5
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    IzNoGod YOu mean, I can only convert to .mp3 128 bit rate to be supported by cod2?. Thanks for reply.

    Edit: Oh, im sorry. I didn't know anything about "iirc , vbr or cbr" I'll check it out.
    Last edited by RobsoN; 31st January 2013 at 17:14.

  7. #6
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    iirc = if i recall correctly
    cbr = constant bit rate
    vbr = variable bit rate

  8. #7
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    How can I convert to CBR 128 br? My settings (alive wav mp3 converter)
    Click image for larger version. 

Name:	Przechwytywanie.PNG 
Views:	38 
Size:	22.0 KB 
ID:	125

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

    kung foo man (31st January 2013)

  10. #8
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    Weird, I replaced just alias name with my emp sound and it works. Just when i fire full auto, i hear only the last shoot. It's weird, doesnt works with weapons.
    "emp_sound",,"weapons/m4a1/m4a1_fire.mp3",1,1,,,,1000000,,"local","streamed", ,,,,,,,,,,,

  11. #9
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    Well, if the channel is "" (none) i got the error. If i do "streamed" i havent got any errors, but the fire sound is not correct. One shoot stops previous shoot.

  12. #10
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    let it be wav instead mp3.. too much work to do.. Lazyness powah!

Posting Permissions

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