The 3rd Age

The Elven LegacY MoD

The Elven LegacY MoD

This mod for bfme 1 Mod based on Elvestar 5.5

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Adding new videos ingame

Avatar of ched

ched

Category: Other
Level: Intermediate
Created: Sunday June 17, 2007 - 6:23
Updated: Sunday October 20, 2013 - 3:29
Views: 10939
Summary: Convert videos from or to VP6, and learn how to add them ingame.

Rating

Staff says

4.6

Members say

4.4

Average

4.5/5.0

15 votes

Page 1 2 3 4 5 6 7
Open Data/INI/video.ini, where we added the block referring to your video earlier.

Editing hardcoded videos


This is where the videos are named to be later used in the code. While certain videos can be coded for use directly (such as Palantir Movies for Special Powers), others are just hardcoded to play at certain times, such as the
EALogo at the beginning.

To give you an idea, we'll replace the existing opening cinematic.

Find « Opening_Game_Cinematic » and replace the line that says « Filename = 242 » with « Filename = yourvideo ». For example, I have : « Filename = MyVideo».

              
Code

Video Opening_Game_Cinematic ; not changing the VideoName, so that the engine uses mine
Filename = MyVideo ; Opening Game Cinematic
Comment = "This is the Opening Game Cinematic"
End


Now, when you will open the game, it will play your video. Notice however that the audio is still that of the old video.

Open Data/INI/speech.ini, and replace the existing DialogEvent with yours.
Note that the DialogEvent needs to refer to the video filename, and not to the video's name in video.ini
If your video is called MyVideo.vp6, then your DialogEvent needs to be the following :

              
Code

DialogEvent MyVideo ; = Video Filename
Filename = MyCustomAudio.mp3 ; any silly name you can come up with
SubmixSlider = Movie
Volume = MOVIE_VOLUME
End


To find whether a video is hardcoded, or just coded, search the INI folder for the video.ini reference. If it's absent, chances are that it's hardcoded.


There are others examples scattered around the INI, but I leave it up to you to find them :-)

Links / Downloads

 HitsAdded
Palantir Video Converter2283February 20, 2011 - 7:16
VP6 Tools Package2835June 17, 2007 - 14:25

Comments

Display order: Newest first

Shadowleak - Sunday August 12, 2012 - 9:06

i can't create the audio.dat...
i start SoundeXchange from the VP6 Tools Package and select my mp3-file as input
then i select the output...
then i click on Create
BUT nothing changes... perhaps the button is "dead"^^

can someone help me?
thanks :)

{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"

Don't you mean VP6 1 for alpha? If I'm not mistaken (and correct me if I am), VP6 0 is the one that doesn't support alpha, that's why palantir videos use VP6 1.

DIGI_Byte (Team Chamber Member) - Monday June 1, 2009 - 12:04

Is it me or does the number 4 not exsist?

page 4 is missing

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!

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
12:55:31