Game Development Community

Sound Files

by J L · in Combat Starter Kit · 12/08/2008 (1:39 pm) · 4 replies

I changed the SAW sound to a different one and it wont work unless I change it to rifle1.ogg.

Is the sound files defined in more then one place ?

#1
12/09/2008 (8:11 pm)
Did you change the filename in the audioProfile or the name of the audioProfile itself? If you changed the name of the audioProfile then you will also need to change the appropriate state sound in the weapon image.
#2
12/09/2008 (8:54 pm)
Ok i will check on that. Weapon image you mean as in the model itself ?
#3
12/09/2008 (11:13 pm)
Long as we are discussing sound files. I actually purchesed a chain gun sound package. If it happens to be the same package tribes bought way back when I do not know. What I do know is that I wiped every questionable sound out of this kit when the questions first arose and replaced everything.

The weapon sounds are called in the specific weapon cs.
#4
12/10/2008 (12:24 am)
@Ashley: that clarifies things about the chaingun sounds - sorry about the confusion. I'll try to reduce my zeal for asking questions in the future.

@Jason: the weaponImage datablock is part of the weapon script. It contains the state system (ready, fire, reload, etc) for the weapon. It's in this state system that you can specify certain sounds for differing states. An audioProfile is a sound datablock that contains information about the sound to be played. The sound that you specify in the state system must already exist as an audioProfile.