Regarding the file collection routine... Why is this in the source?
if file exist("videobank\storyvideo.avi")=1
addfiletocollection("videobank\storyvideo.avi")
endif
Why would you reference a useless video to be copied into a build? Why is it that custom videos used in a script calling the "makevideotexture" command never copy, on some systems the above mentioned video copies while other systems do not copy it at all?
Just like the skybox issue, is there no way to get the source to copy what is *called upon* for a build? If I assign a script for a dynamic console that has player interaction and it resides in the "scriptbank\NFM\GAME" folder, it copies the exact folder and script(s). Same is said when entities and segments are used- the folder(s) and file(s) copy to the built in the exact structure.
Yet when using the "makevideotexture", none of the videos required are copied over to the build, except the top-most video in my videobank folder. Again, we have to manually copy missing media. The same is said of the "video" command.
For example, in my "titlepage.fpi", I have the following videos defined on buttons:
;AIScript from Wizard
;Header
desc = Title Page Wizard V103
;Script
:state=0:music=audiobank\music\generic\title.wav
:state=0:hudreset,hudx=50,hudy=10,hudimage=languagebank\english\gamecore\backdrops\basic\gamemenu.tga,hudmake=display
:state=0:hudreset,hudx=50,hudy=45,hudimage=languagebank\english\gamecore\backdrops\basic\newgame.tga,hudtype=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=55,hudimage=languagebank\english\gamecore\backdrops\basic\loadgame.tga,hudtype=2,hudmake=button
:state=0:hudreset,hudx=50,hudy=65,hudimage=languagebank\english\gamecore\backdrops\basic\exitgame.tga,hudtype=5,hudmake=button
:state=0:hudreset,hudx=50,hudy=90,hudimage=languagebank\english\gamecore\backdrops\ancient_tombs1\at1_intro.jpg,hudtype=6,hudmake=button
:state=0:hudreset,hudx=95,hudy=90,hudimage=languagebank\english\gamecore\backdrops\ancient_tombs1\at1_credits.jpg,hudtype=7,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\pointer.tga,hudmake=pointer
:state=0:state=2
:state=2:backdrop=gamecore\backdrops\Basic\background.jpg
:state=2,hudselectionmade=1:destroy
:state=2,hudselectionmade=5:quitgame,destroy
:state=2,hudselectionmade=2:loadgame
:state=2,hudselectionmade=6:video=videobank\ancient_tombs1\00-at1-intro.wmv
:state=2,hudselectionmade=7:video=videobank\ancient_tombs1\00-at1-credits.wmv
When I do a build, only the video "00-at1-intro.wmv" copies to the build (videobank\ancient_tombs1\00-at1-intro.wmv" is the exact structure in the build). If I point to any other folder containing videos, only the above copies since it is the top-most folder and video. Manually copy them in the structure they should be and no problem. I've tested this in both my source (v1.17) and in v1.20 (r760).
If this is going to be completed and pushed out as a finished release, then I can rewrite the collection routine to suit our needs. It would be nice if this can be looked at before hand as it seems that some media copies while other media does not, which becomes time consuming when prepping for a final release.
There's no problem that can't be solved without applying a little scripting.