Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
MarkSheppard

Making units "talk" in animation

Recommended Posts

...but I'm looking for an animation that works when they're sitting down, so I can have them do something in tune with a titletext and PLAIN DOWN action; to have a professional looking mission cutscene with talking.

Share this post


Link to post
Share on other sites

I've put together the following simple script that makes a unit "talk", and then stop; however, it only works when the person is standing up, and not seated in a vehicle.

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

//This turns on the "talking" animation

UNITNAME switchmove "EffectStandTalk"

//Short time delay

~0.1

//Places the Talk Text on the bottom of the screen

TitleText ["Talk Talk Talk", "plain down"]

//Midlevel time delay to represent him talking

~8

TitleText ["Talk Talk Talk", "plain down"]

~8

//This effect turns off the talking animation and returns him to default state

UNITNAME switchmove "null"

//This signals the end of the script to OFP

Exit

Share this post


Link to post
Share on other sites

Hmm I may have something here.

Basically, I took an original BI file from the '85 campaign, and turned down it's sound big time; so that you don't hear anything when it plays; but kept it's original LIP file.

Teh Talk.lip and Talk.ogg combo only take up 19 kb space, and you can re-use them as many times as you want....

Like for example...

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

MAN1 say "Talk"

TitleText ["Hey Kozzie, what's up?", "plain down"]

~1.5

MAN1 say "Talk"

~2.5

MAN2 say "Talk"

TitleText ["Not Much.", "plain down"]

Basically, repeating the same empty "talk" soundfile as many times as you need to represent long sentences....

What do you guys think?

Share this post


Link to post
Share on other sites

hey nice... I've been wanting a way to do that ...nice trick, so then one won't have to make a wav2lip type of file then to get say a long strech of talking to work?  I'm new to this part of stuff. I'll go try your idea

I can unpbo if have to, but where would the .lip file be located in or at?  thanks! ah the 85 campaign ... okay gonna go try it, but if you got any additional tips for the rookie in me thanks!

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  

×