Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Sounds
#1
I've got original extracted SP sounds from the IWD's and I'm trying to add and play them in my MP mod but nothing seems to work. Could any1 give me a hand on how to add them into the mod and make them playable.

It's not a weapon sound (I know how to add those), it's a Jugg Music Song and I'd like it to play next to my vending machine.

Thx for any type of help! U JELLY?
Reply

#2
Yes *it's possible*

Use this great tool by Tom to convert sound to Black Ops codec, it's called Black Ops sound tool
http://tom-crowley.co.uk/downloads/

Then add this to your soundzone csv ( if you did any ).
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
The problem wasnt getting the sounds readable by black ops, but adding it into to game.
Soundzone.csv? I think I might be missing this part, cuz I allready made default_mymod.all and the other 3 needed files.
I got SP guns working with sounds so this part was fine,, but since The Jugg jingle sound doesnt work quite the same way so I can't get it to work. I've tried adding the sound path to the mod.csv, I've tried copying the original soundaliases file with the Jugg jingle flag and playing it with PlayLocalSound but each time i only get bad syntex error.
Reply

#4
Oh, I forgot that Jugger sound was already in game.
PlayLocalSound doesn't exist in Black Ops engine. Use playsound.

I had the same problem, but I made another csv, so I was able to add custom music.

As I remember, I took examples(headers) from zmb_common csv.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
I've changed the PlayLocalSound command to PlaySoundToPlayer, but i still get unknown function. The problem is that the game still doesnt recognise the sound it is supposed to play. Ive added another csv in soundaliases with code:
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

mus_perks_jugganog_jingle,mus\zombie\perksacola\mus_perks_jugganog_jingle.wav,zmb_perks_jingles,zombie_mus_shared,,,94,94,,50,1100,1500,log2,log1,,,,,,,,,,,,,,,,,,,,97,duck_music_3d,,,,,,0.65

and i included in mod.csv both the sound and soundaliases
Code:
sound,mus/zombie/perksacola/mus_perks_jugganog_jingle.wav
sound,zmb_music

I've tried several things like addidng .wav in csv to the sound i want to be imported into the mod or.... I dont even remember Dodgy But I did everything that came up to my mind and nothing seemed to work
I'm really stuck on this thing
Reply

#6
Wrong way, you can't add sounds manually to mod.csv, only zones, i.e
sound,zmb_music

Uhh I did this thing, I got it working, I just took simple line from zmb_common( also headers like I said ) and edited it like
mysound_ingame,blabla, raw/sounds/etc/mysound.wav, balbabla, blabla, raw/sounds/etc/mysound.mp3, raw/sounds/etc/mysound.xm8, blabla, raw/sounds/etc/mysound.wav, blablabla

EVEN if you don't have mp3/xm8 types of this sound, you need to add theirs names in this line.
Also your soundzone csv example is wrong, there's should be another looking line.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#7
WoW I've got it! Thanks for the help!!! I've finally managed to make the mod load the sound (I might have been able to do it earlier but I didn't realise it cuz of the second mistake I made) when compiling it. The second HUGE mistake I was doing was that I kept writing PlaySoundToPlayer("blablbabla",self); ,but the engine in this COD (Im not sure but I think that's how in WaW looked like) doesnt recognise the command. It needs to look like this:
self PlaySound ("blablabla");

Second question: How can I make the sound play in loop in a specific Area? I mean like next to my Vending Machine.
Reply

#8
-.- did you read what I said before in my post? *use playsound*
to play 3d sound use the same command, but without global caller "playsound(sound);", I don't remember if there's another way.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#9
But I want the sound to be played at a specific location in a loop.
PlaySound playes the sound anywhere you are.
PlaysoundAtPosition playes the sound in the location but just once.
PlayLoopSound playes the sound in a loop but you can hear it wherever you are.

So my question is there some kind of way to mix up PlaySoundAtPostion with PlayLoopSound?
There is no such command as "PlayLoopSoundAtPosition" :p
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Reload sounds for WW2 SP Weapons Scuba Steve 0 2,089 07-19-2016, 18:18
Last Post: Scuba Steve
  Help Sounds will not play ingame after multiple attempts. Antlions 7 4,281 05-10-2014, 02:24
Last Post: Antlions
  Help Sounds in zombies mode Antlions 1 2,043 12-31-2013, 21:22
Last Post: JustDoingThisShit
  Custom Fire Sounds in MP Rollonmath42 11 6,605 12-03-2013, 03:28
Last Post: Rollonmath42

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.