ItsMods

Full Version: Adding sounds to SP weapons (in multiplayer)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
(07-09-2011, 16:45)4FunPlayin Wrote: [ -> ]Save it in ANSI format, and then remove the '?'s. I assume you saved in unicode, I did that.

thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
wont work for me. i dont get any errors or anything but it just dont make any sound
hate to bump an old thread, but playing with Cyborg's AI mod still, when i purchase something from the store, his included zmb_cha_ching sound works, here's the file:

mymod.csv thats in the <modname>\soundaliases folder

Code:
name,file,template,loadspec,secondary,group,vol_min,vol_max,team_vol_mod,dist_min,dist_max,dist_reverb_max,volume_falloff_curve,reverb_falloff_curve,volume_min_falloff_curve,reverb_min_falloff_curve,limit_count,limit_type,entity_limit_count,entity_limit_type,pitch_min,pitch_max,team_pitch_mod,min_priority,max_priority,min_priority_threshold,max_priority_threshold,spatialized,type,loop,randomize_type,probability,start_delay,reverb_send,duck,pan,center_send,envelop_min,envelop_max,envelop_percentage,occlusion_level,occlusion_wet_dry,is_big,distance_lpf,move_type,move_time,real_delay,subtitle,mature,doppler,futz,context_type,context_value,compression,timescale,music,fade_in,fade_out,pc_format,pause,stop_on_death,bus,snapshot
# Purchasing,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
zmb_cha_ching,evt\zombie_global\purchase\accept,,,,event,97,97,,50,350,600,curve3,curve2,,,,,,,0,0,,25,50,0.25,1,3d,,,,,,,,,,50,150,92,0.4,,,,,,,,,,,,,,,,,,,,,,ambience
zmb_no_cha_ching,evt\zombie_global\purchase\deny,,,,event,97,97,,50,350,600,curve3,curve2,,,,,,,0,0,,25,50,0.25,1,3d,,,,,,,,,,50,150,92,0.4,,,,,,,,,,,,,,,,,,,,,,ambience

these same lines of code are also included in the <mymodname>\soundaliases\zones\mymod.all.csv file

i compile, get the following:

Code:
Fastfile 1 of 1, "mod": [ver. 473] process...
ERROR: unable to load file 'soundaliases/zones/mymod.english.csv'
ERROR: aliases failed to load
ERROR: unable to load file 'soundaliases/zones/radverb/mymod.radverb.csv'
ERROR: radverb failed to load for zone mymod
ERROR: unable to load file 'soundaliases/zones/snapshot/mymod.snapshot.csv'
ERROR: snapshot failed to load for zone mymod
PIMP (enabled)

choose to ignore anyway, and can play the mod, and i get the cha-ching sound when i purchase from the store.

so I want to add sound to my mod, i go find the cmn_animals.csv file in the call of duty black ops\raw\soundaliases folder and copy the following code:

Code:
aml_chicken_step,,,,,ambience,85,85,,50,1000,,curve3,curve2,,,8,priority,4,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_wing_small,aml\chicken\wing_flap_small,,,,ambience,97,97,,150,1000,,curve3,curve2,,,5,priority,1,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_wing_large,aml\chicken\wing_flap_large,,,,ambience,97,97,,150,1000,,curve3,curve2,,,5,priority,1,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_cluck,aml\chicken\cluck,,,,ambience,96,98,,150,1000,,curve3,curve2,,,5,priority,1,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_death,aml\chicken\death,evt_3d,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

paste it into the mymod.csv and mymod.all.csv (as indicated above) so they look like this:


Code:
name,file,template,loadspec,secondary,group,vol_min,vol_max,team_vol_mod,dist_min,dist_max,dist_reverb_max,volume_falloff_curve,reverb_falloff_curve,volume_min_falloff_curve,reverb_min_falloff_curve,limit_count,limit_type,entity_limit_count,entity_limit_type,pitch_min,pitch_max,team_pitch_mod,min_priority,max_priority,min_priority_threshold,max_priority_threshold,spatialized,type,loop,randomize_type,probability,start_delay,reverb_send,duck,pan,center_send,envelop_min,envelop_max,envelop_percentage,occlusion_level,occlusion_wet_dry,is_big,distance_lpf,move_type,move_time,real_delay,subtitle,mature,doppler,futz,context_type,context_value,compression,timescale,music,fade_in,fade_out,pc_format,pause,stop_on_death,bus,snapshot
# Purchasing,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
zmb_cha_ching,evt\zombie_global\purchase\accept,,,,event,97,97,,50,350,600,curve3,curve2,,,,,,,0,0,,25,50,0.25,1,3d,,,,,,,,,,50,150,92,0.4,,,,,,,,,,,,,,,,,,,,,,ambience
zmb_no_cha_ching,evt\zombie_global\purchase\deny,,,,event,97,97,,50,350,600,curve3,curve2,,,,,,,0,0,,25,50,0.25,1,3d,,,,,,,,,,50,150,92,0.4,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_step,,,,,ambience,85,85,,50,1000,,curve3,curve2,,,8,priority,4,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_wing_small,aml\chicken\wing_flap_small,,,,ambience,97,97,,150,1000,,curve3,curve2,,,5,priority,1,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_wing_large,aml\chicken\wing_flap_large,,,,ambience,97,97,,150,1000,,curve3,curve2,,,5,priority,1,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_cluck,aml\chicken\cluck,,,,ambience,96,98,,150,1000,,curve3,curve2,,,5,priority,1,reject,-186,186,,10,25,0.25,1,3d,,,pitch,,,96,,,,,,,0.5,,,,,,,,,,,,,,,,,,,,,,ambience
aml_chicken_death,aml\chicken\death,evt_3d,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

compile, and now the purchase cha_ching sound NOR the added chicken sound work..

and oddly enough, when I remove the lines I added and just revert back to what it was and recompile, the cha_ching fails to work again.

I'm using regular windows notepad and saving as ANSI txt files..
gah this is frustrating.
.
is it maybe not working because the chicken cluck sound is an ambient worldsound and not a weapon sound?>
[deleted]
Pages: 1 2 3 4 5 6