Hey, I just saw something wacky on [RDH]Zerted's site!!
Hidden/Spoiler:
How did he do that? Can someone please explain!
EDIT: I mean the flythrough!
Re: What the...
Posted: Mon Feb 02, 2009 3:32 am
by bhawkgoalie10
by the looks of it - magic.
haha idk hes one amazing modder tho
Re: What the...
Posted: Mon Feb 02, 2009 3:38 am
by Maveritchell
It's part of the new shell he made; you can use this feature in the 1.3 patch.
Re: What the...
Posted: Mon Feb 02, 2009 3:49 am
by spaceyavin
How do you add the flythrough then? Where do you put the files? Or do you use the glorious Resource Hacker?
Plz tell me, I saw nothing about this on the Custom Movies Research thread.
Re: What the...
Posted: Mon Feb 02, 2009 10:03 pm
by Master_Ben
Hidden/Spoiler:
[quote="In the v1.3 documentation, Zerted"]How To Make A Preview Video:
Video Suggestions:
-Keep it short
-Keep its file size small
-There is no audio, so don't include any
-Don't expect any viewers to be able to read any ingame text
-The video will be displayed in a box of 150 by 150 (pixels?)
-There is a one second fade in and a one second fade out. If you do not want the fading, use 'preview-loop' instead of 'preview'
-The video loops until another map is selected
-If you can create the two video formats, both pre-movie.mvs and pre-moviepal.mvs should be used
Tools Needed:
-A video recorder such as Taksi (free), Fraps (trial), XFire (free), webcam, etc...
-RAD Game Tools (free): http://www.radgametools.com/binkhcwb.htm
-SWBF2 UnOfficial v1.3 patch (so you can see your video ingame)
Assumptions:
1) You have SWBF2 and its mod tools installed
2) You have done some modding before and you sort-of know what you are doing
3) You know how to pick your own video capture/recorder tool
4) You have a map you want to add a preview video to (this example uses a map named PVE, so whenever you see PVE or pve, replace it with your map's code)
5) Your map has had its 'Common' munged at least once
6) You are not using the PAL version of the game. If you are, pre-movie.mvs should be pre-moviepal.mvs. I think that is the only change (can't test it as don't have the PAL version).
7) You have the Custom Era shell installed or a mod which includes it installed.
Setup:
1) Have SWBF2 installed
2) Have the SWBF2 mod tools installed
4) Install RAD Game Tools
Create the video:
1) Start Battlefront and load your map
2) Start your video capture tool and create whatever video you want to make
Convert the video:
0) Note: the following values are only suggested values. They may be changed for each video. The goal is to make the video as small as possible without losing too much graphically quality
1) Open the RAD Video Tools
2) Select your video and click 'Bink it!'
3) Set 'Compress to data rate (bytes)' to 750000
4) Select the radio button 'multiple of the overall data rate:' and use 3.0
5) Set 'Scaling compression' to 'No scalling'
6) Set 'How many frames to preview during bandwidth allocation' to 12
7) Set the width to 150 and the height to 150
8] Set the contrast to 8
9) Set the 'Smooth %' to 3
10) Check 'De-interlace'
11) When you are done changing the settings, click 'Blink' to convert your video
12) Wait for the tool to finish converting your video.
Munge the video:
1) Move and rename your bik video to data_PVE/Shell/movies/PC/preview.bik
2) Create a movie list text file called pre-movie.mlst in /data_PVE/Shell/movies/PC. When munged, this file will turn into the pre-movie.mvs, which contains your preview movie embedded inside.
3) In pre-movie.mlst, type in the path to your video. Example: ..\..\Shell\movies\PC\preview.bik
4) Optional step (prevents a munge error): Create shell.req in data_PVE/Shell
5) Optional step (prevents a munge error): In shell.req, add:
ucft{}
6) Run VisualMunge for you map
7) Click 'Unselect All'
8] Check 'Shell'
9) Click 'Munge'
10) When the munge has finished, you will find your new pre-movie.mvs in data_PVE/_LVL_PC/Movies
Add the video:
1) Pick a location for your movie file. It can be placed anywere, but the recommended location is GameData/addon/PVE/data/_LVL_PC/movies
2) Copy your munged video (pre-movie.mvs) to this location
3) Open the addme.lua (data_PVE/addme/addme.lua) file from your mod map
4) Around line 23 is the line that you edit to change your map's game modes. Edit this line to include the movie file, the movie name, and 'dnldable = 1' (dnldable is optional). An expanded example is shown below. Its important to note that the 'movieFile' does include the file name of the video, but does not include its '.mvs' extension or the 'pal' part for PAL users. Also, the 'movieName' is the name you used in movies.mcfg's MovieProperties() Name variable:
5) Run VisualMunge for you map
6) Click 'Unselect All'
7) Click 'Munge'
Viewing your video in SWBF2 (v1.3):
1) Start the game
2) Go to the IA or MP map selection screen
3) Click on your map
4) Watch the preview video box for your video
[/quote]
Re: What the...
Posted: Mon Feb 02, 2009 10:08 pm
by computergeek
All of that can be found in the documentation folder of the 1.3 patch
Re: What the...
Posted: Mon Feb 02, 2009 10:54 pm
by [RDH]Zerted
spaceyavin wrote:...do you use the glorious Resource Hacker?...
Everything I've done has been through the use of the resources from the mod tools and related documentation. I have never used any type of hex editor or such tools.
The code to do that is the same for the code that shows the little preview movies, just not limited to the little box. You can read the documentation from the v1.3 patch r117 (which appears to be posted above) to learn how to create the preview videos. Basically, if you take the code everyone has come up with when attempting to get custom movies ingame and use it in the shell, it works fine. There is one change needed in the shell.req, but the v1.3 patch has that built in and that change should be documented in that Custom Movie Research topic.
Sadly, I have still not been able to recover my lost v1.3 patch source files. I do still have one more partition to rescan...
Re: What the...
Posted: Tue Feb 03, 2009 3:08 am
by spaceyavin
On the website, it says that you have to pay for this 'RAD Game Tools'.
Is there any alternative program for creating this format of video?
EDIT: I meant video format, sorry, I am not good at englesh
Re: What the...
Posted: Tue Feb 03, 2009 10:03 am
by [RDH]Zerted
Its only $6000 USD. Isn't your mod worth that much to you
I know. I've used that before. It was fun to play around with.
Re: What the...
Posted: Fri Feb 06, 2009 3:58 am
by spaceyavin
I think that this thread can be locked since I now know how to do what I'd asked for earlier this month, thank you for helping me everybody. --out of breath after saying the longest sentence ever--