Author Topic: I need help packaging sounds/I'm having trouble doing so  (Read 1237 times)

Ignore the fact that I'm supposed to be gone and merely help me with a small problem.

my friend is making a spaceship and I want to port some sounds from freelancer to increase atmosphere. I copied the same layout from a default sound mod yet it will not load correctly or crash the game when I try to start with it.

at risk of having it stolen I will instead post only the script and the file names.

Code: [Select]
fire_bolt_long.wav
fire_bolt_med.wav
fire_bolt_micro.wav
fire_bolt_short.wav
fire_capship
fire_capship_forward_gun
fire_countermeasure
fire_cruises_disruptor.wav
fire_dry.wav
fire_gun1_rank1
fire_gun1_rank4
fire_gun2_rank1
fire_gun2_rank2
fire_gun4_rank3
fire_gun6_rank1
fire_gun6_rank4
fire_laser1
fire_laser2
fire_laser3
fire_laser4
fire_laser5
fire_mine_bae
fire_mine_regular
fire_missile_emp
fire_missile_homing
fire_missile_long
fire_missile_regular
fire_missile_short
fire__neutron1
fire_no_capship
fire_no_cruise_disruptor
fire_no_torcreep
fire_no1
fire_particle1
fire_particle2
fire_particle3
fire_particle4
fire_photon1
fire_photon2
fire_placeholder
fire_plasma1
fire_plasma2
fire_plasma3
fire_plasma4
fire_plasma5
fire_pulsar_cannon
fire_pulse1
fire_pulse2
fire_pulse3
fire_pulse4
fire_pulse5
fire_quark
fire_tachyon2
fire_tachyon4
fire_tachyon5
fire_torcreep
fire_turret
fire_turret_dreadnought
l_missile_launch

if the task of fixing is too much of an arduous one then I will happily send to .zip to anyone who thinks they can repair my mistakes

How big is the largest file?


you usually want to add "Sound" after the file name
Code: [Select]
datablock AudioProfile(fire_bolt_longSound)
{
filename = "./fire_bolt_long.wav";
description = AudioClosest3d;
preload = false;
};

you usually want to add "Sound" after the file name
Code: [Select]
datablock AudioProfile(fire_bolt_longSound)
{
filename = "./fire_bolt_long.wav";
description = AudioClosest3d;
preload = false;
};
I've attempted that once already. it yielded no results

Edit: wait, without an underscore. No I haven't.
« Last Edit: January 14, 2012, 07:49:32 PM by Supreme Guy »

Console log of it crashing? It might say if there's a problem with the sounds.

Sounds can't have a stereo channel, which might be an issue.

I've attached my console log.

As far as I can see it just crashes unexpectedly when it tries to load the zip.

I'd really like to get this resolved quickly and easily so can anyone volunteer to download the zip and sort it out?

Try adding this to every sound datablock.
Code: [Select]
description = AudioClosest3d;
preload = false;
From what I know, all sounds need those two lines.

Try adding this to every sound datablock.
Code: [Select]
description = AudioClosest3d;
preload = false;
From what I know, all sounds need those two lines.
since hes parenting all the rest of the sounds from the first one that isn't neccacary

since hes parenting all the rest of the sounds from the first one that isn't neccacary
Didn't see that, lol.