SOLVED: Vox present but speech files not playing.

Started by Slasher, Tue 27/08/2013 22:28:58

Previous topic - Next topic

Slasher

Hi

I'v hit a problem scenerio:

I started a game with voice but later decided not to have voice so I took out all the voice numbers.

Anyhow, i thought I would add a narrative bit and added a voice number. It failed to work so I deleted the Vox and rebuilt the game and a new Vox was compiled (new Vox file visible). However, it seems it is not registering the speech files like it used to and will not play any of the speech and voice/text controls do not show up in the CP.

Any ideas?

cheers






Lewis

Let's get the obvious things out of the way first...

1. Are your speech audio files definitely in the game/Speech folder?

2. Do your speech audio files definitely use the nomenclature: first four letters of character name, line number? (eg. CHAR1, CHAR2, CHAR3 etc)

3. Are you definitely calling a speech file by using &1, &2, &3 etc? And does the line you're calling definitely correspond to the correct file?

4. You haven't turned down the speech volume by accident?
Returning to AGS after a hiatus. Co-director of Richard & Alice and The Charnel House Trilogy.

Slasher

H Lewis,

1: Yes
2: Yes
3: Yes
4: Not to my knowledge



Crimson Wizard

#3
Quote from: slasher on Tue 27/08/2013 22:28:58However, it seems it is not registering the speech files like it used to and will not play any of the speech and voice/text controls do not show up in the CP.

I presume you are using logic similar to Default template, where they hid those controls under following condition:
Code: ags

  if (!IsSpeechVoxAvailable()) { 
    // If there is no speech-vox file, and therefore no speech,
    // disable all the controls related with speech.
    lblVoice.Visible = false;  
    btnVoice.Visible = false;  
    sldVoice.Visible = false;
  }

If that is true, than it means that IsSpeechVoxAvailable() returns false.
There are two reasons why it may do so:
1) the vox is not found;
2) the voice is turned off in the setup.

E: also, I think, it is possible if you disable digital sounds in setup.

Lewis

Returning to AGS after a hiatus. Co-director of Richard & Alice and The Charnel House Trilogy.

Slasher

#5
Hi Crimson/Lewis

QuoteI presume you are using logic similar to Default template, where they hid those controls under following condition:
Yes, and it is correct.

1) Vox is in compiled folder.
2) Voice has not been turned off.

EDIT I know my eyesight is failing but this is ridiculous and 'I don't believeeeeeeeeeeeeeeeee it' (laugh)
As Crimson pointed out: I did turn voice pack off in the setup

All back to normal.

Thanks and Sorry guys..



SMF spam blocked by CleanTalk