Assigning sounds to parts

A place to discuss user-created Allegiance music, soundfiles, chatpacks, and other audio-related content.
Post Reply
Compellor
Posts: 994
Joined: Fri Jul 06, 2007 12:56 am
Location: Columbus, OH

Post by Compellor »

In ICE, you can assign sounds to parts for various actions, such as firing weapons. However, you assign a number, not a file name, and the associated file names aren't obvious to me. How can I determine what sound goes with which number, and how can I add a new sound, such as for a new weapon?
Any job worth doing with a laser is worth doing with many, many lasers. -Khrima
Beyond a shadow of a doubt if you don't watch them like a hawk they will stack their collective balls off - MrChaos on Alleg players
Imago
Posts: 1440
Joined: Tue Sep 23, 2003 7:00 am
Location: Minneapolis, MN
Contact:

Post by Imago »

The number is a Sound ID. The sound ID's are in artwork/sounddef.mdl

you will first need to create object of your new sound for example:

machineGun1ShotSound = GainSound(SFXGain, PrioritySound(-1.5, ThreeDSound(100, ImportWave("machinegun1"))));

then you need to add that variable to the soundList = [

(2, machineGun1ShotSound),

...

]

where 2 is the Sound ID.
Image

These bugs haven't been fixed yet because don't have any developers interested in fixing them up. --Tigereye
Imago's stupid-sensor is supersensitive. --RealPandemonium
The art is managing the flow of the drama to achieve the desired results. --Big_Beta_Tester
joeld wrote:But we’ve been amazed at the level to which some of the Allegiance fans have remained hard-core.
Post Reply