Making Video Play Before Main Menu
Edit the titlepage.fpi file....
(C:/program files/fps creator x10/files/languagebank/English/gamebank/mygame)
Add the following line of code to the begining of state=0
:state=0:video=videobank\moviename.avi
Make sure the video file itself is contained within {Documents} FPSC X10 Files/videobank folder.
Playing a Video Before a level loads
Here is what the code looks like for a typical level loading Page
;AIScript from Wizard
;Header
desc = Loading Page Wizard
;Script
:state=0:music=audiobank\music\common\Bel.wav
:state=0:backdrop=gamecore\backdrops\Basic\background.jpg
:state=0:hudreset,hudx=50,hudy=50,hudimage=languagebank\english\gamecore\backdrops\basic\loading.png,hudmake=display
:state=0:hudreset,hudx=50,hudy=95,hudimage=gamecore\huds\loadingbarbox.png,hudmake=display
:state=0:hudreset,hudx=50,hudy=95,hudimage=gamecore\huds\loadingbar.png,hudhide=1,hudtype=1,hudmake=internal
:state=0:state=1
Here is how it should look to get it to play a video before loading a level... (This changes to the loading file must be made after building the full game or demo for release)
;AIScript from Wizard
;Header
desc = Loading Page Wizard
;Script
:state=0:video=videobank\videoname.avi,state=1
:state=1:music=audiobank\music\common\Bel.wav
:state=1:backdrop=gamecore\backdrops\Basic\background.jpg
:state=1:hudreset,hudx=50,hudy=50,hudimage=languagebank\english\gamecore\backdrops\basic\loading.png,hudmake=display
:state=1:hudreset,hudx=50,hudy=95,hudimage=gamecore\huds\loadingbarbox.png,hudmake=display
:state=1:hudreset,hudx=50,hudy=95,hudimage=gamecore\huds\loadingbar.png,hudhide=1,hudtype=1,hudmake=internal
:state=1:state=2
Hope this helps,
Squalker