Welcome Guest ( Log In / Register ) |
Quick Lists Top RatedTutorials Living World Map G… Ultimate beginner'… Arrow scaling bug… Raising Heroes max… Creating an asset.… Proper Fire Arrow… Simple Structure B… Making a simple Ma… Quick and easy sno… Making patrols nea… Mods The Dwarf Holds The Peloponnesian… RJ - RotWK The Elven Alliance… Helm's Deep Last H… The Elven Alliance Special Extended E… Kings of the West… RC Mod The Wars of Arda Downloads BFME1 1.06 Widescr… Enhanced W3D Impor… Fudge's Map Pack LotR/BfME HD Logos Osgiliath Shellmap Crystals Of Ancien… 2v1 Wold The forests of Dru… Converted BFME2 an… ROTWK animations f… |
||||||||||||||||||||||||||||||||||||
Register and log in to move these advertisements down Adding new videos ingame
Palantir videos by Phil The videos shown in the Palantir are a bit special. In addition to the regular video frames they hold a second set of frames for the alpha channel, which controls the transparency of the different video areas. This is done to "crop" the video to a circular shape so the edges aren't visible outside the Palantir. It was previously believed that this type of video required encoding with the VP61 codec, which unfortunately Siberian_GRemlin's VP6 Builder does not support, and was thus impossible. However, this is not true anymore. With the Palantir Video Converter you can encode a video with regular VP60, convert it to EA VP6 and then inject the alpha channel frames required for the Palantir. Requirements In order to inject the alpha channel frames you will need a video in the dimensions of 224 x 224 pixels, exported with VP60 and converted to EA's VP6 format with the VP6 Builder. See page 3 for the general procedure. If your video doesn't happen to come in the size of 224 x 224 pixels, you can use VirtualDub to crop and resize it for you. Do the following before you save it as AVI: 1. Select Video -> Filters... 2. Press the Add... button in the dialog box 3. Pick null transform and with that selected in the filters list, press Cropping... 4. In the cropping interface, crop the video to a perfect square. Usually the source video will be wider than it will be high so you will need to adjust the X1 Offset and X2 Offset in the top left and top right. Press OK when you are done. 5. Back in the filters list, Add... another filter, this time resize 6. Enter 224 as the new width/height. Make sure the Aspect ratio is set to Same as source. 7. Close the filters list with OK You can now follow the instructions on page 3 and page 4 to export the video with VP60 compression and convert it to the EA VP6 file format. Using the Palantir Video Converter Make sure you have downloaded the Palantir Video Converter and extract the program to the same folder as your VP6 file. Let's say I put them in C:\Users\Phil\BFME Modding\MyMod. The program does not have a graphical interface; you will have to use the command prompt to run it. Navigate to the folder and run the program:
where video.vp6 is the name of your VP6 file and video_with_alpha.vp6 is the desired file name for your final version with alpha channel. If the desired file already exists, it will ask whether you want to overwrite that file or not. The program should print a few statistics when started and a success message shortly thereafter. The conversion shouldn't take more than a couple of seconds. Your new Palantir video should now be comfortably sitting in that directory. You can include it in your mod like any other video. Uses in BFME Campaign/map events The most obvious use for this will be adding new videos to campaign maps. You can of course also replace existing Palantir movies in the vanilla campaign, although there is probably little benefit in doing so except for testing purposes. The triggers for these video events are done with map scripts in WorldBuilder. All you need coding-wise is an appropriate entry in video.ini:
Special Powers You can also use it as Palantir video played during a Special Power. In SpecialPower.ini you can simply add the name of your video block from video.ini:
Result: Links / Downloads
CommentsDisplay order: Newest first Shadowleak - Sunday August 12, 2012 - 9:06 i can't create the audio.dat... {AE}Manveru - Monday July 5, 2010 - 13:13 "as well as selecting the VP6 0 format when encoding to ensure that the alpha is supported" DIGI_Byte (Team Chamber Member) - Monday June 1, 2009 - 12:04 Is it me or does the number 4 not exsist? Nazgûl (Team Chamber Member) - Saturday July 21, 2007 - 14:46 AWESOME!!! Thank you! This has now made S.E.E. 10 times more appealing at start up =) Sulherokhh (Team Chamber Member) - Tuesday June 19, 2007 - 9:31 That's the kind of tutorial i love. Thank you guys for sharing this with us!! Bart (Administrator) - Monday June 18, 2007 - 11:27 pff, command line isn't hard at all...pussy :p Rob38 (Team Chamber Member) - Sunday June 17, 2007 - 19:34 Great tutorial! I'm going to be making my own videos for my mod, so thanks for the information on it. I didn't think that it would be this complicated! |
||||||||||||||||||||||||||||||||||||
"One site to rule them all, one site to find them, © All Rights Reserved Eric Edwards ©2013. |