Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / add a intro movie ???

Author
Message
biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 18th Feb 2010 18:13
hi,

can you please tell me how to add a intro movie to my game?

regards

don't ask untill tried everything
mgarand
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: The Netherlands
Posted: 18th Feb 2010 18:35 Edited at: 18th Feb 2010 18:35
hey,

First you really should use the search button, i found the answer in 1 second. lol even you signature said it

http://forum.thegamecreators.com/?m=forum_view&t=153129&b=21



Creativity is inventing, experimenting, growing, taking risks, breaking rules, making mistakes, and having fun.
biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 19th Feb 2010 00:07
oke, thanks and sorry XD

don't ask untill tried everything
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 26th Feb 2010 04:50 Edited at: 7th Apr 2010 21:13
@ biohazardNL,

I'll attempt to answer for you and hope it gives you a start. There are a few steps first to get you to understand where to look.

This assumes you already know how to record a movie scene from in your game, such as using FRAPS to record your in-game scene.

First off when you click on File>Build Game, you will see a few tabs. The Game Project Settings tab contains a field Project. Here is where you can name your project. By default, if I recall correctly, is set to mygame.fpg. When you give a new name, the fpg file is created, along with a folder. It will be located in the following directory:

\The Game Creators\FPS Creator\Files\Languagebank\English\Gamebank

Note: I did not put c:\program files in front as I am not certain what structure you use, but I trust you understand what I mean.

So in the folder I mentioned you will notice the fpg file and there is a folder that relates to the fpg file. If I name my project File Test.fpg, there will be a test folder. In that test folder, I will find the following files:

gameover.fpi
gamewon.fpi
loadingpage.fpi
setuplevel.fpi
titlepage.fpi

These files have specific functions to the game building process. Now we can get you pointed to adding an intro video.

If you want an intro video play before you load a new game, edit the loadingpage.fpi and place this line in just below the ;Script:


:state=0:video=videobank\<path & filename.extension to your video>

So for example, my loadingpage.fpi looks like the following:

;Script
:state=0:video=videobank\ww2_bf\ww2_bf_cutscene01.wmv
:state=0:music=audiobank\ww2\music\l_briefing_2.wav

So when the player clicks on New Game, the video I specified plays.

If you need further help, feel free to e-mail me and I can send you some screenshots and help you out.

Cheers

Mike

The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 26th Feb 2010 23:59
Cool!

biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 2nd Mar 2010 07:13
cool thanks man. I use game cover for the intro but now I can play before a level thanks man.

ps. sorry for my english

don't ask untill tried everything
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 3rd Mar 2010 00:27
No problem. Anytime.

Cheers

Mike

biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 6th Apr 2010 16:58
I used your script but I get a error

Failed to open video stream

wich option do I need to use as video

AVI
WMV
FLV
MP4

???

regards Team Biohazard,

don't ask untill tried everything
defiler
15
Years of Service
User Offline
Joined: 4th Apr 2009
Location: Canada
Posted: 6th Apr 2010 19:44
.AVI is prefered, and for music, i think .wav,.mp3 and .OGG are supported. I cant really try due to something with school and im not allowed on fast computer.

Limitless Box studios current project: Lost Contact
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 7th Apr 2010 03:00
.avi is the only supported video files

.wav and .ogg are the only sound supported files.

biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 7th Apr 2010 14:50
thanks gamer X,

but do you also know the needed configuration?
because I use full HD footage

don't ask untill tried everything
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 7th Apr 2010 20:10
Quote: ".avi is the only supported video files"


Our demo uses wmv for it's intro and credits movie and we have no issues.

Cheers

Mike

biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 7th Apr 2010 20:12
Quote: "Quote: ".avi is the only supported video files"

Our demo uses wmv for it's intro and credits movie and we have no issues.

Cheers

Mike"


but what configuration did you used XD
if I don't know the config.

don't ask untill tried everything
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 7th Apr 2010 20:22
Quote: "Our demo uses wmv for it's intro and credits movie and we have no issues."


didn't know that, it has always been .avi only responses from forum members that i can remember.

Quote: "but what configuration did you used XD
if I don't know the config."


I just throw it into windows movie maker and use it's settings.

biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 7th Apr 2010 20:25
Quote: "I just throw it into windows movie maker and use it's settings."


as far as I know windows movie maker only exports WMV

don't ask untill tried everything
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 7th Apr 2010 21:09 Edited at: 7th Apr 2010 21:12
Quote: "didn't know that, it has always been .avi only responses from forum members that i can remember."


Well we used wmv in our WW2- Germany's Uprising

Quote: "as far as I know windows movie maker only exports WMV"


That's exactly how we did our intro and credits. We used Fraps to make the scene inside FPSC, then imported it into Movie Maker. When it was done, we put it in the videobank folder, and the rest I outlines previously for what/where to put in the corresponding ini file.

Windows Movie Maker will allow you to publish the output as AVI. When you select Publish Movie, select My computer to publish, point to the folder and give file name, click next. In the section Choosing Settings, you can select More settings and the drop down has a few different output types, AVI included.

Cheers

Mike

biohazardNL
15
Years of Service
User Offline
Joined: 26th Oct 2009
Location: netherlands
Posted: 8th Apr 2010 07:49
I tried to add .avi and .wmv from windows movie maker live but it won't work

don't ask untill tried everything
The Storyteller 01
15
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 18th Apr 2010 00:20
I dont want to steal the thread but i am working on an intro movie too and found nothing about a maximum size - is there one?

In case you find my grammar and spelling weird ---> native German speaker ^^
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 18th Apr 2010 09:02 Edited at: 18th Apr 2010 09:03
Quote: "I dont want to steal the thread but i am working on an intro movie too and found nothing about a maximum size - is there one?"


When I recorded the cutscene in our WW2 game in AVI, it was 1 GB in size to start. We imported it into Windows Movie Maker and after some tweaking of the output settings, we have it down to 26 MB in size. We sometimes use Blaze Media Pro to convert our recordings and shrink the size down.

I am uncertain if or what the size limit on a video would be.

- BlackFox

Login to post a reply

Server time is: 2024-11-24 23:39:58
Your offset time is: 2024-11-24 23:39:58