Tutorial 005: Voice Samples Part 2

Note: this tutorial is for version 0.2130 or higher
Following the previous part (you can find it here Link) all the voice samples are now ready to be added to the game.

To do that, there are two ways.
The first is to use the Data02 file. (this method is compatible to versions of the game below the 0.2130)
You can find it here: (game folder)/ System/ Data02.txt

Opening the file you may find something like this:

[Header]
NumTauntVoices = 2[TV_1_TauntType_MissileFire]
NumTauntMessenges= 6

1_Taunt_Text = “<>”
1_Taunt_SoundFile = “tv_fox2.ogg”
1_Taunt_PlayTime = “2.0”

2_Taunt_Text = “<>”
2_Taunt_SoundFile = “tv_fox2fox2.ogg”
2_Taunt_PlayTime = “3.0”

A quick explanation of the fields:

NumTauntVoices = is the number of voices (actors) available.
In the game, an AI unit will randomly pick one of the voices available.

[TV_1_TauntType_MissileFire]
It is structured as: [TV_(voice indx)_TauntType_(Situation)]

The situations currently available are:
[MissileFire]
[HitTarget]
[TargetDestroyed]
[WasHit]
[WasDestroyed]
[LockOn]
[MissileMiss]
[CriticalDamage]
[MissionClear]
[MissionFail]
[EnterAdrenalineMode]
[StartEvasion]
[EvasionSuccessful]
[FireGun]
[Respawn]
[WasHitByGun]

Below the situation title you can find this:
NumTauntMessenges= defines the number of lines available for this situation.

#_Taunt_Text = the written text that appears displayed
#_Taunt_SoundFile = the name of the sound file
#_Taunt_PlayTime = the amount of time the written text appears displayed, it is recommended to last at least one more second than the length of the sound.

If you want to add a new voice, add the value in this field “NumTauntVoices”
And then create the [TV_2_TauntType_MissileFire] with the respective number of lines and repeat the same step for the other situations.

As for the audio files, place them in this folder: (game folder)/media/ audio/Voices

This is one of the ways available to add the voice to the game; however, this is not the best if you want to share your voice with the community.

For that, there is a second way.

First, check if the game has these folders: (game folder)/ Objects/Voices/Pilots/

Then create a new folder with the name of the new voice.
Let’s use as an example “PilotA”

Inside the folder create an ini file with the same name. (PilotA.ini)

In that ini file add these fields:

[PV_TauntType_MissileFire]
NumTauntMessenges=1_Taunt_Text =
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_HitTarget]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_TargetDestroyed]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_WasHit]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_WasDestroyed]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_LockOn]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_MissileMiss]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_CriticalDamage]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_MissionClear]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_MissionFail]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_EnterAdrenalineMode]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_StartEvasion]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_EvasionSuccessful]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_FireGun]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_Respawn]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

[PV_TauntType_WasHitByGun]
NumTauntMessenges=

1_Taunt_Text = “”
1_Taunt_SoundFile = “”
1_Taunt_PlayTime = “0.0”

Use this text as a template. The fields of method are similar to the first one, the biggest differences is that the title for each situation a little different and it method only allows one voice per file.

And a final note, the best advantage of this is that you can place all the audio files in the same folder as the ini, making it more organized if you want to share the with the community.

Advertisements

Posted on November 9, 2012, in Uncategorized. Bookmark the permalink. 1 Comment.

  1. Hi there!
    I follow now this game since it´s early beginning and i must say:
    This is a game what i have waiting for!
    Totally modable, much content, and even has a Skirmish mode to play your own Scenarios alone (i really hated the fact that in the last Ace Combat on only can play Campaign for Singleplayers, cause i don´t play online).
    But now i have a question! I really hate it when you must use the mouse in all the menus, but when you are in flight mode the mouse is just not the right “Thing” to fly those jets. What i mean do you plan to add in “Xinput” (Xbox 360 Controller)? And when not, can you make it, so that we can use the Arrowkeys from the keyboard and not just the mouse? Remember, i talk about the menus!
    I hope you understand what i mean. Thank you so much for a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: