Custom unit VO [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Custom unit VO [Solved]

Post by LitFam »

Is there a tutorial on how to import custom VO sounds like death, hurt, spawn sounds, and battle chatter?
Last edited by LitFam on Tue Aug 01, 2017 7:20 pm, edited 1 time in total.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Custom unit VO

Post 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]
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Re: Custom unit VO

Post by LitFam »

ah, thank you DEVISS now my mod is complete! :yes:
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Custom unit VO [SOLVED]

Post by Marth8880 »

Worth noting that death and pain sounds need to be sound effects, whereas all other VO need to be sound streams.
LitFam
Sergeant Major
Sergeant Major
Posts: 234
Joined: Sat Feb 04, 2017 5:52 pm
Games I'm Playing :: SWBF II 2005
xbox live or psn: No gamertag set
Location: Milky Way, Solar System, Earth, Antarctica

Re: Custom unit VO [Solved]

Post by LitFam »

Marth could you explain more please? What do you mean by streams?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Custom unit VO [Solved]

Post 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.
Post Reply