Page 1 of 1
Own hurt/death sound did not work.
Posted: Wed Jun 24, 2015 1:56 pm
by DrDrSheldonLeeCooper
Hello I tried to add for my unit a death and a hurt sound.
But the sounds does not appear ingame.
musicconfig :
cis_inf_default_trandoshan :
Re: Own hurt/death sound did not work.
Posted: Thu Jun 25, 2015 12:34 am
by Marth8880
DrDrSheldonLeeCooper wrote:Code: Select all
SoundProperties()
{
Name("Trandoshan_hurt");
Group("cis_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(1.0);
SampleList()
{
Sample(TrandoshanHurt1", 0.33);
Sample(TrandoshanHurt2", 0.33);
Sample(TrandoshanHurt3", 0.33);
}
}
SoundProperties()
{
Name("Trandoshan_death");
Group("cis_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(1.0);
SampleList()
{
Sample(TrandoshanDeath", 0.33);
}
}
Both properties' PlayInterval is set to 0. It won't work if it's set to 0, so set it to 1.0.
More information regarding PlayInterval:
Re: Own hurt/death sound did not work.
Posted: Thu Jun 25, 2015 7:45 am
by DrDrSheldonLeeCooper
It didn´t work.
I see that the Magnaguard from the Tuskencamp assets has PlayInterval = "0.0" too.
SoundProperties()
{
Name("magna_hurt");
Group("cis_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(1.0);
SampleList()
{
Sample("magna_hurt", 0.33);
}
}
Re: Own hurt/death sound did not work.
Posted: Thu Jun 25, 2015 10:44 am
by AceMastermind
I'm not an audio guy, but try this:
Re: Own hurt/death sound did not work.
Posted: Thu Jun 25, 2015 11:22 am
by DrDrSheldonLeeCooper
I don´t have a sound file which is called "Trandoshan_hurt".
The name of the Sound I created is "Trandoshan_hurt" and it includes my 3 samples ( Sample(TrandoshanHurt1", 0.33); Sample(TrandoshanHurt2", 0.33 Sample(TrandoshanHurt3", 0.33); )
TrandoshanHurt1,2,3 is only the name of the 3 wavesound files I have. Hope you understand me,I can´t explain it good
But you said you are not an audio guy so thank you that you tried to help me.

Re: Own hurt/death sound did not work.
Posted: Fri Jun 26, 2015 2:11 am
by Marth8880
LOL, I just realized you're missing quotation marks in each Sample line!
For example, this:
should look more like this:
So yeah, fix that in each Sample line, and also, make sure your PlayInterval isn't set to 0!
Re: Own hurt/death sound did not work.
Posted: Fri Jun 26, 2015 3:02 am
by DrDrSheldonLeeCooper
Thank you,I didn't saw that.
I will fix that when I'm home.