Machinima Austria
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.

OFP Lipsync

Nach unten

OFP Lipsync Empty OFP Lipsync

Beitrag von Admin Do Aug 25, 2011 9:10 pm

Leider nur mal in Englisch:
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.


If you have Windows XP (and possibly some other OSs) wavetolip.exe must be in your root directory (c:) otherwise it won't work.


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... OFP Lipsync Rolleyes

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!
Quelle

Admin
Admin

Anzahl der Beiträge : 311
Anmeldedatum : 10.06.11

https://machinima-austria.forumieren.net

Nach oben Nach unten

Nach oben


 
Befugnisse in diesem Forum
Sie können in diesem Forum nicht antworten