Jump to content

- - - - -

Adding (.LUG) Sounds Files To Custom Sets!!!

movies game set lug sound tutorial listen effect feet inf msh

  • Please log in to reply
No replies to this topic

#1 sexymaria


    Senior Member

  • Members
  • 244 posts

Posted 11 June 2017 - 08:30 PM

Adding (.LUG) Files to Your New Set
(.LUG) files provide background ambiance and background noise, sound effects, the atmosphere of a set or a facility. They are found in your Movies Data\Audio\Atmosphere folder. Each one has the same name as the set or facility to which it belongs. Logic says that all we need do to get sound on a CUSTOM set is to make a copy of an existing (.LUG) file and rename the copy to that of our new set.... WRONG!!!!!!!!!!!!
That doesn't work. But why? WTH! 
The first place to look is in the extrainfo file, Data/Meshes/Extrainfo. These files are sister files to many of TheMovies 3D objects. They provide switches and calls for the game to use, and some of them is the sound feet make when walking on a set. Somebody walking in a corridor set will make metal foot step sounds. Someone on the beach will make feet of sand sounds. And where else would the game have a chance to know what sound to play during the scenes? 
Hopefully it would be in the (.INF) file.
For the tropical beach set, this file is called 'set_beach.inf'.
And it is called that to mirror the name of the 3D model found in it's parent folder (data/meshes) that ends with a (.MSH... set_beach.msh).
If this file is missing from a custom set (and many people can download custom sets from 8eyedbaby and find that they do not), then people will not make any sound while walking. They also can not move or remove a set from the studio lot after it has been built. To solve this, just copy any (.INF) file from any set, say the stage, and rename it to the custom set, place it in the data/meshes/extrainfo folder, fire up the game and put a builder on the custom set that is no longer needed and watch it get blown away.
Yes, this file is important. So I opened it with a HEX editor but did not find any (.LUG) reference. It would have to be (.LUG) because the lug has the same name as the set. If the sound file was more general, like ALLSETS then yes more detailed search would be required. But each set has it's own (.LUG) file so this file has to be called somehow. You would think that just having the same name as the set would be all that is required. But not to be.
While I had the HEX editor open, I peeked into the (.MSH) file. I did see the "Room" objects. These are where actors place there feet and because of the sister (.INF) file begin to make noise. But so what? It still has nothing to do with (.LUG) files. If I wanted to I could have changed the name from wood to sand, and also do the same in the (.INF) file so that people walking inside the living room set would suddenly be making sand sounds as they walked. Some other time. We are searching for ANY lug reference.
My last recourse is to look inside the set_beach.lug file itself. I didn't expect much but what the hey. Of course these HEX editors have a search function. But they are completely useless to me. Two different programs with useless search functions. They are only searching for hexadecimals? Horse hockey!
No matter, I have a secret weapon. Notepad. Yes NotePad isn't the program to view or edit MOST files. But when it sees a file name, it list it as the name appears in windows folders. And has a more functional search feature. And Presto!
What is this? A file name!!! Bingo! It could be for something else. Perhaps. Let's test it!
First extract with MED (MoviesEditor) these files:
set_beach.ini (data/set folder)
set_beach.msh (data/mesh folder)
set_beach.inf (data/meshes/extrainfo folder)
Rename those set_beac9.ini
Open set_beac9.ini with notepad and change this to say the new mesh name:
Save it. Now we want to have this (.LUG) sound appear with this new throw away test set called beac9.
I believe that all of the audio portion of the game is not packed away inside the (.PAK) files.
Go to the ...Lionhead Studios Ltd\The Movies\Data\Audio\Atmosphere folder and make a copy of the set_beach.lug file, rename this copy to set_beac9.lug.
Lastly I used a HEX editor to make an adjustment to this new set_beac9.lug file. I opened it with a typical HEX editor and went down to the very bottom until I found the only line with the word SET_ in it. SET_BEACH_0. Changed it to know my new set's name which made it now say set_beac9_0. Saved it. Always remembering to never save over the original content but to always save with a new name. You only have one set_beach.lug file since they are not packed inside the (.PAK) files.
All done. New set, new INI telling the game there is a new set. Extrainfo file. New LUG file, all with the same custom name set_beac9. Let's test it.
Holy Toledo! That worked. You can see that in scene two, which was without the new sound, the feet still made sand walking sounds due to the extrainfo file being there.

  • Rocco and lefty2000 like this


Also tagged with one or more of these keywords: movies game, set, lug, sound, tutorial, listen, effect, feet, inf, msh

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users