Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Intro?  (Read 1338 times)

0 Members and 1 Guest are viewing this topic.

Offline Gielovic

  • Contributing Member
  • **
Intro?
« 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?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Intro?
« Reply #1 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
I know a little about a lot, and a lot about a little.

Offline Gielovic

  • Contributing Member
  • **
Re:Intro?
« Reply #2 on: 31 Mar 2003, 17:47:24 »
Oke thanks,
I Yourislandname_anim a .pbo file or not?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Intro?
« Reply #3 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
I know a little about a lot, and a lot about a little.