Author Topic: Packaged a sound pack wrong  (Read 858 times)

Well, I've done everything right as far as I can tell, but the sounds aren't in game.

Code: (server.cs) [Select]
datablock AudioProfile(soldier_youWillNotBeMissed_Sound)
{
filename = "./soldier_youWillNotBeMissed.wav";
description = AudioClosest3d;
preload = true;
};

datablock AudioProfile(soldier_youAllFail_Sound : Soldier_youAllFail_Sound)
{
filename = "./soldier_YouAllFail.wav";
};

datablock AudioProfile(soldier_whatIwannase_Sound : soldier_whatIwannase_Sound)
{
filename = "./soldier_whatIwannase.wav";
};

datablock AudioProfile(soldier_weFail_Sound : soldier_weFail_Sound)
{
filename = "./soldier_weFail.wav";
};

datablock AudioProfile(soldier_spy_Sound : soldier_spy_Sound)
{
filename = "./soldier_spy.wav";
};

datablock AudioProfile(soldier_moveOut_Sound : soldier_moveOut_Sound)
{
filename = "./soldier_moveOut";
};

datablock AudioProfile(soldier_incoming_Sound : soldier_incoming_Sound)
{
filename = "./soldier_incoming.wav";
};

datablock AudioProfile(soldier_help!_Sound : soldier_help!_Sound)
{
filename = "./soldier_help!.wav";
};

datablock AudioProfile(soldier_happyLaugh_Sound : soldier_happyLaugh_Sound)
{
filename = "./soldier_happyLaugh.wav";
};

datablock AudioProfile(soldier_goodWork_Sound : soldier_goodWork_Sound)
{
filename = "./soldier_goodWork.wav";
};

datablock AudioProfile(soldier_fire_Sound : soldier_fire_Sound)
{
filename = "./soldier_fire.wav";
};

datablock AudioProfile(soldier_evilLaugh_Sound : soldier_evilLaugh_Sound)
{
filename = "./soldier_evilLaugh.wav";
};

datablock AudioProfile(soldier_CHARGE!_Sound : soldier_CHARGE!_Sound)
{
filename = "./soldier_CHARGE!.wav";
};

datablock AudioProfile(soldier_Booyah_Sound : soldier_Booyah_Sound)
{
filename = "./soldier_Booyah.wav";
};

datablock AudioProfile(soldier_boo_Sound : soldier_boo_Sound)
{
filename = "./soldier_boo.wav";
};


Code: (description.txt) [Select]
Title: TF2 Soldiers
Author: Captain Kickass/Sebster 105 and ValvE
TF2 Soldier sounds.

Please note I have tried changing preload from true/false.

The file size is 1.44 MB is that changes anything.

You need to inherit from soldier_youWillNotBeMissed_So und. You're trying to inherit from datablocks as you make them which doesn't make any sense and will result in the sounds not being created.

Ok... What do I need to change?

datablock AudioProfile(soldier_youAllFail_Sound : Soldier_youAllFail_Sound)
{
   filename = "./soldier_YouAllFail.wav";
};


The blue is the name of your datablock, the red is the datablock you're inheriting properties from. All of your sounds are like that, but they should be inheriting from solider_youWillNotBeMissed_so und.

Ah.
Edit: I've done that, and it still didn't work, I've fiddled with the preload, and still nothing
« Last Edit: April 10, 2010, 09:55:14 PM by Sebster 105 »

Check the console.log for any errors that occur when your add-on loads.

Something wrong with line 38

Edit:
Code: [Select]
datablock AudioProfile(soldier_help!_Sound : soldier_youWillNotBeMissed_Sound)I don't see any problems there, unless Torque doesn't like !'s
« Last Edit: April 11, 2010, 02:31:39 PM by Sebster 105 »

I don't see any problems there, unless Torque doesn't like !'s
I'd be willing to bet that's the problem.

I'd be willing to bet that's the problem.
K.
Edit: Yup.


:D
« Last Edit: April 11, 2010, 08:22:51 PM by Sebster 105 »