OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: marshmanguy on 26 Jun 2005, 06:41:31

Title: Making a menu video
Post by: marshmanguy on 26 Jun 2005, 06:41:31
I'm trying my hand at camera scripting and would like to use what I produce as a video for the main menu.  The videos I am refering to are those that go on in the background of the main menu, you know, the burnt out jeep and bodies for the desert island, the boat on malden, the base on everon, the random people on Nogova, the attack on the Lolisse also on Malden.  I'm making one for the desert island but I have no idea what to do with the mission (which is all cutscene) that I have made to make it show up as a main menu video.  Also, how do I loop a camera sequence so it'll never end?
Title: Re:Making a menu video
Post by: bedges on 26 Jun 2005, 08:01:52
the second question is pretty easy - create a #marker at the top of the camera script (after the camera is created but before the first camera command) and at the end of the script use goto "marker".

the first question... i seem to recall that there are anims for each island. island makers usually create them to show off their efforts, and they go in a separate folder - not entirely sure on that one  :-\
Title: Re:Making a menu video
Post by: Planck on 26 Jun 2005, 11:08:40
Q1
The intro animations for all the standard islands are held in the anims.pbo, which is in the Dta folder.

Unless you wish to unpack this pbo and add your intro and then repack it (not recommended) and also edit the game config.bin to add your intro anim to the list for this island (also not recommended), then the only other way I can see is maybe by using a mod folder, this may remove use of the standard anims from all the other islands unless you include them in your anim.pbo as well.


Planck
Title: Re:Making a menu video
Post by: sim on 26 Jun 2005, 17:15:29
It would be a lot easier to do it for a custom made island, that way you wouldn't have to mess about with any pbos. Just replace the anim file the author did for his island.
Title: Re:Making a menu video
Post by: marshmanguy on 26 Jun 2005, 17:19:11
What's the coding look like for the marker thing to make it loop indeffinately?
I'm already using a mod that replaced the old BIS animations, if I put all the old anims in the file for that along with my new one, would that work?
Title: Re:Making a menu video
Post by: qqqqqq on 26 Jun 2005, 19:37:55
Try sticking the anim folder in your Addons folder.   Might work.    IIRC it must be an Intro, not a Mission.

In the script

#start
blah blah
goto "start"

Use Amalfi's pbo decryptor 1.5 to unpbo the anims.pbo and see how BIS did it.
Title: Re:Making a menu video
Post by: Frumbasjt on 01 Jul 2005, 13:42:02
I just DePBO'd the anims.pbo file and changed desert island with my anim, and after that maked a pbo from it. You can do the same with Nogova, or whatever island u want. It's not that hard