OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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:
-
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
-
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.
-
I think your thinking about Music, sound plays over the top of each other, i think... :-\
8)PEACE
-
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))? ;)
-
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?
-
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
-
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.
- Find chant1.lip and make a copy. Call it something else (eg. chant2).
- Now in your description.ext, specify a new sound, using "chant2.ogg" (note: the sound won't be in your sound folder, just the .lip file. This is how it should be)
- Use say "chant2" on each of your guys sounding off, except for the leader (who can say "chant1", the one with the sound file)
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 ;)
-
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!
-
aaaah Sui - that works a treat - and i already thought of putting the guy in the middle ;)
cheers.