OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Messiah on 02 Sep 2002, 22:25:03

Title: Multiple uints using one lip file?
Post by: Messiah on 02 Sep 2002, 22:25:03
ok  - ive got a USMC squad doing a drilling chant

now - i have one guy who actually says the chant - but hes also the only one who moves his lips...

now is it possible to only assign the sound to one guy, but the corresponding lip file to a group of 12 men?

cheers

:thumbsup:
Title: Re:Multiple uints using one lip file?
Post by: Gameer_77 on 02 Sep 2002, 23:16:42
I don't think so, but you could have a work around:

Make an empty .ogg, and save it as, say, chant2. Then make a copy of the .lip file and rename it to chant2. Then make one guy say chant1 or whatever the first one is called and the rest chant2. They will all move theyre lips but won't speak.

 8)PEACE
Title: Re:Multiple uints using one lip file?
Post by: Messiah on 02 Sep 2002, 23:29:06
thats what i was thinking - but wont playing a new sound stop the other one?  - the one i want to play?

hmmm, or if i start all the chanting people first THEN play the actual sound then that may work... let me see.
Title: Re:Multiple uints using one lip file?
Post by: Gameer_77 on 03 Sep 2002, 15:11:08
I think your thinking about Music, sound plays over the top of each other, i think... :-\

 8)PEACE
Title: Re:Multiple uints using one lip file?
Post by: Sui on 03 Sep 2002, 15:27:10
You can use the same sound more than once in a description.ext... So I suppose you could use the same .lip file. The disadvantage would be that you'd get the same sound with it...

What you could do is have the same sound, defined more than once (use different names) at a different pitch.

Then you call make all the soldiers say these duplicate sounds... so you'd get them chanting the same sound file, at different pitchs. It should sound just like they're really sounding off, especially if you script it so they don't all say it at the same time (~ (random 0.2))? ;)
Title: Re:Multiple uints using one lip file?
Post by: Messiah on 03 Sep 2002, 18:30:20
hmmmm

yeah true - but the actual file is a recorded sound off - so it already sounds like multiple units chanting it.... so if multple units chant a sound of multiple units chanting a soound off - then its gonna get crazy...

catch my drift?

are you sure ther is no other way?
Title: Re:Multiple uints using one lip file?
Post by: Gameer_77 on 03 Sep 2002, 21:48:34
So i take it the making a new sound file didn't work, no? :-\

Hmmm...What about just making a new bit in the description.ext but with the volume down on it? Then make the shy units use that one? You can still use the same sound file.

 8)PEACE
Title: Re:Multiple uints using one lip file?
Post by: Sui on 04 Sep 2002, 06:33:48
Oh I see now Messy... ;D

I thought it was a recording of just one guy saying whatever...

Use Gamer's method, with a few differences.

So what you'll end up with, is one guy actually making noise (saying chant1) and everyone else just mouthing (saying chant2).
If you wanted to be really clever, you could have the guy saying chant1 in the middle of your group, so it sounded more like the group was saying it ;)
Title: Re:Multiple uints using one lip file?
Post by: Cedaie on 04 Sep 2002, 10:11:30
Chant.sqs

_Units this select 0
_Units this select 1
_Units this select 2
_Units this select 3
_Units this select 4
_Units this select 5
_Units this select 6

_units say "chant1"

playsound "Chant"
~0.2
playsound "Chant"
~0.2
playsound "Chant"
~0.2
playsound "Chant"
~0.2
playsound "Chant"
~0.2
playsound "Chant"
~0.2


Players init field: [q,w,e,r,t,y] exec "chant.sqs"

LOL!!!
Its unique!, aha!
Title: Re:Multiple uints using one lip file?
Post by: Messiah on 04 Sep 2002, 10:59:49
aaaah Sui - that works a treat - and i already thought of putting the guy in the middle  ;)

cheers.