-
Content Count
19 -
Joined
-
Last visited
-
Days Won
1
TimBob12 last won the day on January 26 2011
TimBob12 had the most liked content!
Community Reputation
5 NeutralAbout TimBob12
-
Rank
Jedi Apprentice
- Birthday 07/14/1996
Contact Methods
-
MSN
timbob12@live.co.uk
-
Website URL
http://www.christ4teens.cz.cc
Profile Information
-
Gender
Male
-
Location
Dantooine
-
Interests
Modding, gaming, programming and general geeky stuff!
Recent Profile Visitors
10,843 profile views
-
The files have to be mono I think although this may only be for using the LipSynchEditor.
-
Released a patch that allows you to play Tatooine Job Office with BOS:SR hurray
-
-
Lip Syncing (the easy way) This tutorial will show you how to make custom Lip Synching with custom Voice Overs without the need for complicated Mod Prefixes etc. I advise you read through the installation of the CSLU Toolkit below before visiting the site. Tools you will need -Microphone / Voice Actor -Audacity - http://audacity.sourceforge.net/ -Lip Synch Editor - http://www.starwarsknights.com/tools.php#de -CSLU Toolkit - DropBox Link -DLGEditor - http://www.starwarsknights.com/tools.php#de -Notepad Installations Download the Audacity Installer and install Download the ZIP file containing the LipSynchEditor and unzip it. The CSLU Toolkit provides some extra work to install. Visit the above link and enter your email and you will be sent a download link. Download the installer and run it. Select Typical Install and accept the default options. Then go and get a cup of tea while you wait for it to download and extract. Download the ZIP file containing the DLGEditor and unzip it. Notepad comes with windows. Writing Dialogue For writing dialogue here is an excellent tutorial https://web.archive.org/web/20150925104635/http://www.lucasforums.com/showthread.php?t=180845 Although we will be focussing on two specific things which will be covered later. Make sure you have all of your dialogue written out and then take each individual line and put it in a text file. You can name it whatever you like but I normally use the NPC tag and then a 2 digit number e.g. Hello, How are you today? - commoner01.txt I'm fine thank you - commoner02.txt It just helps distinguish between files. Recording Now plug in your microphone and start up Audacity. Hold the microphone to your mouth and then press the record button and say the first line. You may find it is too quiet and that you need to use the Amplify Effect in the Effects Menu. Then use the drop down menu on the audio channel and select Mono. Then select File, Export and save it as the same name as the corresponding line in the text file for example commoner01.wav would be the sound file for Hello, How are you today? - commoner01.txt Record every line individually and put them in a folder with the .txt files. Make sure that there is no punctuation other than full stops, commas, question marks and exclamation marks as this is all it supports. Lip Synching To acheive custom lip synching you need to use the CSLU Toolkit to create a .phn file that can be read by the LipSynchEditor. To do this open Notepad and type the name of your wav file, followed by a space and the name of your text file. Continue this on the next line for each sound and text file. For example commoner01.wav commoner01.txt commoner02.wav commoner02.txt commoner03.wav commoner03.txt and this can be continued on. Save this as list.txt Next go into the LipSynchEditor folder you extracted earlier, then into Extras and then into Importing. There should be a file named makephn.tcl in there. This will need to be in the same folder as your voice overs, your text files with the words and your list file The next step is slightly different depending on your operating system. Windows XP: Click on Start -> Run and type "cmd" (minus the quotes) and hit enter. Vista/7: Click on the Windows Logo and run a search for "cmd"(minus the quotes) and click on the result that says either cmd or command. (I can't remember which it is as I have XP) You will now need to use some commands to navigate to the directory in which you saved all your files and the makephn.tcl script. The three commands are: dir - lists the contents of the current directory. cd *name of directory* - moves into the *name of directory* cd.. - Moves to the previous directory. For example I made the directory on my desktop and my default start location is C:\Documents and Settings\Tim So I would need to use the command dir cd Desktop cd Voice Overs The dir command is not necessary it just helps to find the names of some folders. You will then need to run the script makephn.tcl that you put in that folder and put list.txt after it. For example: makephn.tcl list.txt would be all you need to type. It will then think about for a bit and then if it is successful it will pop up with a little box that has nothing in. This means it is done and you can close it. If it comes up with an error double check that your sound file is MONO and that there is no excess punctuation in your text files. If you now check your folder there should be a lot of .phn files which are what we need hurrah. Now start up the Lip Synch Editor and click File, Import Phn. Hold down Control and select all of your phn files. This should come up Then click File, Save All and save your .lip files. Now open DLGEditor and click on one of your lines and find the VO_ResRef field. In here type the name of your .lip file without the .lip bit. Then tick the box that says sound exists. You will now need to put the .lip file in the .MOD for the module or in a seperate .MOD for voice overs it doesn't really matter. Then the .WAV needs to go into the StreamWaves Folder for K1 or StreamVoice for K2, NOT INSIDE ANY FOLDERS. HUZZAH you are done. It will work. Hope this works. Any questions, I will endeavour to answer them. If I missed anything or it doesn't make sense then please tell me and i will correct it. Thanks for reading. TB12
-
-
New Populate Function submitted and awaiting approval http://www.lucasforums.com/showthread.php?t=207029
-
File Name: Populate Function File Submitter: TimBob12 File Submitted: 02 Apr 2011 File Updated: 13 Apr 2011 File Category: Mods TSLRCM Compatible: Yes This script will allow you to easily populate an area using random number generation based on your specifications. It eliminates the need to find countless co-ordinates. You only need to find four co-ordinates to populate an area with as many NPCs as you like. (The engine really hates it if you go over 120). You can also choose whether to set them to walk randomly or not. You can use your own waypoints. I reccommend using this function in an on enter script. ----------------------------- Installation and use ----------------------------- You need to place the "populate.nss" script in your K2 Override. (This will probably work with K1 but I cannot confirm that). To use the function add the line #include "populate" at the beginning of your script. Then you will need to lay an imaginary square over the area where you want to spawn in. Then find the co-ordinates of the four corners using D3's Whereami armband. Write down what you get and work out the smallest X value and the largest X Value and then do the same with the Y Co-ordinates. Then include this in the main function of your script. Populate(0, 0, 0, 0, 0, Tag); ^ ^ ^ ^ ^ ^ Amount xMin xMax yMin yMax Tag Amount = The number of NPCs of the specified tag to spawn. xMin = The smallest X value xMax = The largest X Value yMin = The smallest Y Value yMax = The largest Y Value Tag = The tag of the NPC you want to spawn. ----------------------------- Use and distribution ----------------------------- Feel free to use this in any mod at all. If you wish to modify the script then feel free to but LEAVE THE RANDOM NUMBER GENERATION FUNCTION IN TACT. It was not created by me and is essential to the smooth running of the populate function. If you modify the script and want to distribute it then please contact me first through either Holowan Labs or Deadly Stream - TimBob12 or by email - timbothompson@gmail.com. If you do redistribute then you will be required to credit bead-v for the creation of the random number generation script. ----------------------------- Extra's ----------------------------- There is an additional random generation script that was created by bead-v and, unlike the in game function, it supports negative numbers making it perfect for location generation. ----------------------------- Credits ----------------------------- The populate function and example script were created by me, TimBob12 and the random number generation script was created by bead-v. I'd also like to thank everyone who helped in the creation of this function specifically: Darth Insidious Varsity Puppet Bead-V ----------------------------- A Final Note ----------------------------- I hope this eases your Module Creation and you enjoy using this. Click here to download this file
-
-
Version 2.81
749 downloads
This script will allow you to easily populate an area using random number generation based on your specifications. It eliminates the need to find countless co-ordinates. You only need to find four co-ordinates to populate an area with as many NPCs as you like. (The engine really hates it if you go over 120). You can also choose whether to set them to walk randomly or not. You can use your own waypoints. I reccommend using this function in an on enter script. ----------------------------- Installation and use ----------------------------- You need to place the "populate.nss" script in your K2 Override. (This will probably work with K1 but I cannot confirm that). To use the function add the line #include "populate" at the beginning of your script. Then you will need to lay an imaginary square over the area where you want to spawn in. Then find the co-ordinates of the four corners using D3's Whereami armband. Write down what you get and work out the smallest X value and the largest X Value and then do the same with the Y Co-ordinates. Then include this in the main function of your script. Populate(0, 0, 0, 0, 0, Tag); ^ ^ ^ ^ ^ ^ Amount xMin xMax yMin yMax Tag Amount = The number of NPCs of the specified tag to spawn. xMin = The smallest X value xMax = The largest X Value yMin = The smallest Y Value yMax = The largest Y Value Tag = The tag of the NPC you want to spawn. ----------------------------- Use and distribution ----------------------------- Feel free to use this in any mod at all. If you wish to modify the script then feel free to but LEAVE THE RANDOM NUMBER GENERATION FUNCTION IN TACT. It was not created by me and is essential to the smooth running of the populate function. If you modify the script and want to distribute it then please contact me first through either Holowan Labs or Deadly Stream - TimBob12 or by email - timbothompson@gmail.com. If you do redistribute then you will be required to credit bead-v for the creation of the random number generation script. ----------------------------- Extra's ----------------------------- There is an additional random generation script that was created by bead-v and, unlike the in game function, it supports negative numbers making it perfect for location generation. ----------------------------- Credits ----------------------------- The populate function and example script were created by me, TimBob12 and the random number generation script was created by bead-v. I'd also like to thank everyone who helped in the creation of this function specifically: Darth Insidious Varsity Puppet Bead-V ----------------------------- A Final Note ----------------------------- I hope this eases your Module Creation and you enjoy using this.