Page 1 of 1

Custom unit VO [Solved]

Posted: Tue Aug 01, 2017 12:23 pm
by LitFam
Is there a tutorial on how to import custom VO sounds like death, hurt, spawn sounds, and battle chatter?

Re: Custom unit VO

Posted: Tue Aug 01, 2017 5:28 pm
by Deviss
LitFam wrote:Is there a tutorial on how to import custom VO sounds like death, hurt, spawn sounds, and battle chatter?
its same than custom weapons sounds, but you must search the specific config from the sound you want change into .snd stock files, here an example:
Hidden/Spoiler:
[code]
SoundProperties()
{
Name("trando_inf_chatter_death");
Group("all_inf_pain_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(0.85);
SampleList()
{
Sample("trandodie1", 0.33);
Sample("trandodie2", 0.33);
Sample("trandodie3", 0.33);
}
}

SoundProperties()
{
Name("trando_inf_chatter_damage");
Group("all_inf_pain_vo");
Inherit("pain_chatter_template");
PlayInterval(0.0);
PlayIntervalDev(0.0);
PlayProbability(0.85);
SampleList()
{
Sample("trandohurt1", 0.33);
Sample("trandohurt2", 0.33);
Sample("trandohurt3", 0.33);
}
}

SoundProperties()
{
Name("trandoshan_command_follow");
Group("all_vo");
Inherit("player_command_template");
SampleList()
{
Sample("trandovofollow", 1.0); // Cover me!
}
}

SoundProperties()
{
Name("trandoshan_response_follow");
Group("all_vo");
Inherit("player_command_template");
SampleList()
{
Sample("trandovofollowresponse", 1.0);
}
}

SoundProperties()
{
Name("trandoshan_command_stopFollow");
Group("all_vo");
Inherit("player_command_template");
SampleList()
{
Sample("trandovostopfollow", 1.0); // You're on your own!
}
}

SoundProperties()
{
Name("trandoshan_response_stopFollow");
Group("all_vo");
Inherit("player_command_template");
SampleList()
{
Sample("trandovostopfollowresponse", 1.0); // good luck
}
}[/code]

Re: Custom unit VO

Posted: Tue Aug 01, 2017 5:36 pm
by LitFam
ah, thank you DEVISS now my mod is complete! :yes:

Re: Custom unit VO [SOLVED]

Posted: Wed Aug 02, 2017 2:24 pm
by Marth8880
Worth noting that death and pain sounds need to be sound effects, whereas all other VO need to be sound streams.

Re: Custom unit VO [Solved]

Posted: Thu Aug 03, 2017 7:41 am
by LitFam
Marth could you explain more please? What do you mean by streams?

Re: Custom unit VO [Solved]

Posted: Thu Aug 03, 2017 1:17 pm
by Marth8880
From http://www.secretsociety.com/forum/down ... 0Guide.txt
Game Sound Streams and Effects
There are two types of sounds in the game, sound streams and sound effects.
Sound streams are read dynamically from disk during the game.
Sound effects are stored in a sound bank that is loaded into memory at game and/or mission runtime.
Sound effects are 3D, meaning they are positional within the world relative to the listener.
VO and Music are 2D, meaning the listener's position is the shell of interface.
2D sounds can be played in game for just the player or everyone in the world depending on the soundhook.
Soundhooks are calls in the various text files that are triggered in code by game events.
Soundhooks call sound properties, which then play sound samples according to the properties defined and designed for a particluar event.