Jump to content
Sign in to follow this  
warpuppy

Getting Units to talk

Recommended Posts

Good Day All

I have read most of the posts on how to get a speech file into Arma which i have followed and done

In my mission folder i have a file called Sound

I have a description.ext file ( i used Chopse)

The Description file lookslike this at the moment

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgSounds

{

  sounds[] =

      {

        v1,

      };

 

  class v1

 

  {

      name = "v1";

      sound[] = {"\sound\v1.ogg",db +40, 1.0};

      titles[] = {   };

  };

 

};

In the sound file i have a v1 lip file and v1 ogg file

When i go into the game and put a unit with some way points and in the activation field i put Unit1 say "v1"

Nothing Happens no sound nothing

Could somebody please help me and point me in the right direction

I have noticed that in the wapoint if i go to effects and then to sound i can see the v1 but still nothing is happening

Thanks in advance

Share this post


Link to post
Share on other sites

i think spoken sounds that work with say command must be mono @ 16 or 8000 khz or you wont hear them, its been a while but there are definatley some parameters you must follow with sounds.

Share this post


Link to post
Share on other sites

I have tried using the settings that you have recommend but still no luck

Share this post


Link to post
Share on other sites

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgSounds

{

sounds[] = { "v1"};

class v1

{

name = "v1";

sound[] = {"v1.ogg", 10, 1.0};

titles[] = { };

};

};

try that i dont htink you need the \sound\ pieces because its already done with class, i dont know but the above works for me.

Share this post


Link to post
Share on other sites

@ deanosbeano

Thnks for the response i have tried using your code and still i get no sound no talking

I am using the following programs

Create the Wav file in GoldWave - then save

then use dmbWaveConvertor - then save file as ogg

then use ofp sound lab to create - lipp file

I dont why or what i am doing wrong

Share this post


Link to post
Share on other sites

hmm strange

all i can suggest is

1 make sure sound is mono for say and correct khz

2 make sure lipfile is same name as soundfile

3 make sure there is a unit1

i think even if no sound the unit lips should move

and finally some sounds will not be heard or even play if there is a second sound playing at same time , like gun firing or missile firing.

Share this post


Link to post
Share on other sites

Try removing the quotes around "/sound/v1.ogg". I noticed CHOPSE makes those (I guess needed for OFP), but when I tried adding sounds I noticed that if you have them there they won't work. Won't go baloney on you (since they're named correctly, the name = "v1" is good), but they won't play either since they can't be found.

Here's a working sound-thing from an uncomplete mission using...er...Mr.Murray (?)'s artillery :

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgSounds

{

sounds[] = {Funk,Ari,patrolnosight,callingartillery,adjusttarget};

class Funk {name="Funk";sound[]={\sound\funk.ogg,db+20,1.0};titles[] = {};

};

class Ari {name="Ari";sound[]={\sound\ari.ogg,db+30,1.0};titles[] = {};

};

class patrolnosight

{name = "patrolnosight";sound[] ={\sound\patrolnosight.ogg, db + 30, 1.0};

// Sound title text (set to no text)

titles[] = {0, ""};

};

class callingartillery

{name = "callingartillery";sound[] ={\sound\callingartillery.ogg, db + 30, 1.0};

// Sound title text (set to no text)

titles[] = {0, ""};

};

class adjusttarget

{name = "adjusttarget";sound[] ={\sound\adjusttarget.ogg, db + 30, 1.0};

// Sound title text (set to no text)

titles[] = {0, ""};

};

};

Maybe that can give you some hints! Good luck.

Regards,

Wolfrug

Share this post


Link to post
Share on other sites

it was in my version the quotes appear ). i think his original hasnt got them. it works for me, but he should try yur code agreed.

also and when we iliminate the possible we are left with the impossible.

are you sure your audio volumes in options are all turned up

music radio etc ? smile_o.gif

Share this post


Link to post
Share on other sites

Gents

THANK YOU BOTH !!! I cant beleive i got working at last !

I am ever so gratefull to you both and when i finally get to realease my sp mission i will both give you the credit

Once again Thanks

yay.gifnotworthy.gifnotworthy.gif

The problem was my script

Share this post


Link to post
Share on other sites

Hey Guy's,

just another question i don't think i should open a new thread for that so i post it here.

I try to give Sound's (Voices) only to special persons in a Script.

So i have a Script activated by 12 Soldiers (p1,p2,p3 - p12) now i tryed <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">say player "Voice" and <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">(units player select 1) say ["Voice",5] but all players play the Sound so what do i have to do to let only for example p1 and p7 play the Voice?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×