OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Gielovic on 26 Mar 2003, 14:50:08

Title: Intro?
Post by: Gielovic on 26 Mar 2003, 14:50:08
I've a question, I know you can make an intro for your island, so when you stop editing you get a nice view of your own made land. But, Where can you place them and what do you need to type in the config.cpp so OFP uses it?
And does the intro need an end1,2 or something?
Title: Re:Intro?
Post by: Planck on 26 Mar 2003, 22:52:41
The mission.sqm that is your Intro is placed in a folder called .............intro.yourislandname.

This folder will be inside another called .........yourislandname_anims.

The whole thing is placed in your Addons folder.

You need to add a lint to the Config.cpp thus:



class CfgWorlds
{
   class DefaultWorld {};
   class  yourislandname: DefaultWorld
   {
   access=3;
   description="yourislandname";
   icon="\yourislandname\youislandname.paa";
   cutscenes[]={"..\ADDONS\yourislandname_anims\intro"};
   etc
   etc

The line you need to add is the one beginning......cutscenes


Hope I got all that right.


Planck
Title: Re:Intro?
Post by: Gielovic on 31 Mar 2003, 17:47:24
Oke thanks,
I Yourislandname_anim a .pbo file or not?
Title: Re:Intro?
Post by: Planck on 31 Mar 2003, 20:27:19
The text I used..........'yourislandname'.....represents the name of your island.

So if your island is called Cyprus........it would be Cyprus_anim...etc etc.

And no you dont need to PBO it.

Using 'Cyprus' as an example the folder structure will be thus:

Cyprus_anims (folder)
   Intro.Cyprus (folder)
      mission.sqm (the intro file)

The Cyprus_anims folder will then be put into your Addons folder.


Planck