Home   Help Search Login Register  

Author Topic: lip synch  (Read 1459 times)

0 Members and 1 Guest are viewing this topic.

Stonge

  • Guest
lip synch
« on: 15 Jan 2004, 06:34:28 »
How do I get lip synch to work?

PsyWarrior

  • Guest
Re:lip synch
« Reply #1 on: 16 Jan 2004, 12:07:11 »
Greetings Stonge

You can:

-1. Download and install the Wav2Lip program from BIS
-2. Drag your .wav (it must be a .wav file) file over the Wav2Lip icon
-3. This will create a .lip file in the same folder as your .wav file.After converting your .wav file to .ogg, place them BOTH in the sound folder of your mission. When a soldier is ordered to say that soundfile, he will automatically lipsync to it.

So if you have hello.wav, after putting it through Wav2Lip, you will have hello.wav and hello.lip. After converting, you should have hello.ogg and hello.lip, which is then usable in OFP.

Also note that searching the forum may yeald quicker results. I believe that this question has been answered several times before.

-Supr. Cmdr. PsyWarrior
-Psychic Productions.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:lip synch
« Reply #2 on: 21 Jan 2004, 03:37:50 »
If you have Windows XP (and possibly some other OSs) wavetolip.exe must be in your root directory (c:) otherwise it won't work.
Plenty of reviewed ArmA missions for you to play

Stonge

  • Guest
Re:lip synch
« Reply #3 on: 01 Feb 2004, 06:04:29 »
Well, I put the .lip files in my missionname\Sound folder, but nothing happens.  The sound files are working, however.  I am using windows 98 second edition and i saved the .wav file as a 16-bit mono.
« Last Edit: 01 Feb 2004, 06:09:53 by Stonge »

Pokletu

  • Guest
Re:lip synch
« Reply #4 on: 06 Feb 2004, 02:21:53 »
 :'(
Okay, I've had success, also after a whole lot of tries, so that I have both a .lip and a .ogg.  How do I get a particular character to say it now?

I've done searches, but the results are very convoluted.  They always seem to refer to getting them in game-readable format, rather than telling a soldier, 'get out, talk'....

I've found the places in the editor where people talk, like when Victor gets the motorcycle from his friend in "Invasion", but it just shows a script reference.  I can't code(BOY, have I tried)!!

The Cinematic website is down, so.....

Help??
 :-[

PsyWarrior

  • Guest
Re:lip synch
« Reply #5 on: 07 Feb 2004, 18:59:17 »
Greetings,

I'm afraid you have to use scripting commands for units to say stuff, but don't panic. This command should sort you out.

-First, make sure the editor is in 'advanced' mode.

-Then give the unit you want to speak a name (like Bob or something). Put this in the 'Name' box in the 'Edit unit' dialog.

-Next, create a trigger. Set it to go off when you want the unit to speak.

-In the 'On Activation' box in the trigger put the following

Bob say "hello.ogg"

Replace 'Bob' with whatever you called your unit, and 'hello.ogg' with whatever your audio file is called.

You might not need the .ogg at the end of the file name. It's been a while since I did this, and my memory fails me...  ::)

When the trigger goes off, your bob (or whatever) unit will say the audio file. Or you'll get an error and I've messed up somwhere along the way.  :-\

I hope this is helpful to you,

-Supr. Cmdr. PsyWarrior
-Psychic Productions

P.S. I know scripting seems daunting at first - it took me a while to get into it - but make the effort to learn. Sit down with a copy of Johann Gustafson's scripting tutorial (spelling not garunteed), and be determined to learn some basic script. Simple commands like 'titleText' and 'hint' can improve your missions no end. Good luck! :thumbsup:
« Last Edit: 07 Feb 2004, 19:00:06 by PsyWarrior »

Stonge

  • Guest
Re:lip synch
« Reply #6 on: 07 Feb 2004, 19:23:26 »
I know how to make the sound files work, it's the lip synch that Im having trouble with.  Where do I place .lip files so tyhat they will work?  ???

deaddog

  • Guest
Re:lip synch
« Reply #7 on: 07 Feb 2004, 20:08:27 »
I wish more folks would actually read other peoples replies.

From PsyWarrior's first reply:
Quote
3. This will create a .lip file in the same folder as your .wav file.After converting your .wav file to .ogg, place them BOTH in the sound folder of your mission. When a soldier is ordered to say that soundfile, he will automatically lipsync to it.

Perhaps this is a little confusing.  Put the .lip file and the .ogg file in the sound folder.

Stonge

  • Guest
Re:lip synch
« Reply #8 on: 08 Feb 2004, 01:39:11 »
I wish more people would read my replies.  In postd a reply responding to psywarrior's advice saying that this did not work!  Deaddog, you raise a fair point, but please try to read all the replies before telling me I don't know how to read ;).

PsyWarrior

  • Guest
Re:lip synch
« Reply #9 on: 09 Feb 2004, 12:58:49 »
Okay, calm, people...  ;D

We need a little more info. How are you getting the unit to say the audio? What command are you using?

AFAIK, you have to use the
unit say "audiofile.ogg"
command to get the unit to lipsync. Using sideRadio or any other channels won't sync, I believe.

-Supr. Cmdr. PsyWarrior
-Psychic Productions
« Last Edit: 09 Feb 2004, 12:59:20 by PsyWarrior »

Stonge

  • Guest
Re:lip synch
« Reply #10 on: 10 Feb 2004, 01:07:53 »
Thanks alot, I finally figured it out.  I was using the playsound command to activate the sound file, and I didn't evenrealize it until just now.  Thanks for the help everyone! ;D ;D ;D