OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: jkivivuori on 13 Jan 2003, 13:37:08

Title: Basic addon question pt.2?
Post by: jkivivuori on 13 Jan 2003, 13:37:08
Greetings from icy finland!   :)

I have this interresting question about nonofficial addons and
installing them in my final "mission.pbo" file.

Like I "add sounds" in "description.ext" -file, is it possible add
nonofficial addons to final "mission.pbo" like shown below?
(i'am using one of "makePBO" tool to buildup "mission.pbo" from my "mission.intro" folder.)


If I make folder called "myaddons" (like "description.ext / music" shows) in "mission.sqm" -file
as shown below.
 



My "description.ext" -file exm:

class CfgMusic
{
      tracks[]={music};

      class music
      {
            name = "";
            sound[] = {\Music\song1.ogg,db+30, 1.0};
      };
class music1
      {
            name = "";
            sound[] = {\music\song2.ogg, db+30, 1.0};
      };
      };


..all in all quite basic stuff today....Thank's to this excellent site!    :D :D :D



My "Mission.sqm" -file exm:     #just a test  ;)


version=11;
class Mission
{
   addOns[]={myaddons};            
#??? i'm so lost ;D

      class myaddons
      {
            name = "";
            addons[] = {\myaddons\nonofficialaddon.pbo};          
#any theoretical way to make this work?
      };



You probably got my point?   :o
Is this possible to make working?

SWORDFISH: ..I'am still trying to solv this..  :D


Thank you Again!!

Highlander.