Home   Help Search Login Register  

Author Topic: Multiple addons in one .pbo  (Read 1487 times)

0 Members and 1 Guest are viewing this topic.

Hit_Sqd_Maximus

  • Guest
Multiple addons in one .pbo
« on: 29 May 2003, 23:43:05 »
Say I download several different addons from a website. What needs to be done to get them all into one pbo?

They are all objects to be used in wrp edit if that makes any difference.

asmodeus

  • Guest
Re:Multiple addons in one .pbo
« Reply #1 on: 30 May 2003, 00:22:54 »
Well, you'd have to:

1.  Get permission from the Author/Authors
2.  Unpbo the addons
3.  Take all the config.cpp's and edit them into one


Here's an example config.cpp from the OFPEC blood pack.  It uses 4 different .p3d's in the same .pbo.  

Code: [Select]
// -= Blood Effects =-

// -= concept/particles by Igor Drukov

// -= scripting by snYpir

// -= models/textures by Asmodeus

class CfgPatches
{
   class OFPEC_Blood
   {
      units[] = {ASM_Bldsplat,ASM_Bldchnk,ASM_Bldchnk2,ASM_Bldchnk3};
      weapons[] = {};
      requiredVersion = 1.90;
   };
};

class CfgVehicles
{
   class All {};
   class Static: All {};
   class Building: Static {};
   class NonStrategic: Building {};
   class TargetTraining: NonStrategic {};
   class TargetGrenade: TargetTraining {};

   class ASM_Bldsplat: TargetGrenade
   {
      model="\OFPEC_Blood\ASM_Bldsplat";
      armor=20000;
      scope=2;
      displayName="Blood: Splat";
   };

   class ASM_Bldchnk: TargetGrenade
   {
      model="\OFPEC_Blood\ASM_Bldchnk";
      armor=20000;
      scope=2;
      displayName="Blood: Glob 1";
   };

   class ASM_Bldchnk2: TargetGrenade
   {
      model="\OFPEC_Blood\ASM_Bldchnk2";
      armor=20000;
      scope=2;
      displayName="Blood: Glob 2";
   };

   class ASM_Bldchnk3: TargetGrenade
   {
      model="\OFPEC_Blood\ASM_Bldchnk3";
      armor=20000;
      scope=2;
      displayName="Blood: Glob 3";
   };
};

Good luck!

Asmo

Hit_Sqd_Maximus

  • Guest
Re:Multiple addons in one .pbo
« Reply #2 on: 30 May 2003, 01:57:50 »
One of the addons uses a config.bin instead of a config.cpp, what do I do in this case?

asmodeus

  • Guest
Re:Multiple addons in one .pbo
« Reply #3 on: 30 May 2003, 02:28:13 »
I don't know..

I've never needed to use or mess with a config.bin...   :-\

Asmo

Hit_Sqd_Maximus

  • Guest
Re:Multiple addons in one .pbo
« Reply #4 on: 30 May 2003, 07:10:20 »
Ah well, Its way over my head anyway  ::)


How does this look? I was told Havana was a mix of both really old and new buildings, so I made it that way in my island. Think this is a good idea?  :-\

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Multiple addons in one .pbo
« Reply #5 on: 01 Jun 2003, 20:10:23 »
so, yer making an island or what.

Well, one thing is important then... remember that the AI soldiers need pretty broad ways if they shall be able to run in between alleys & houses, so be sure to have at least, say some 3-7 meters between each building... and don't put yer houses too close to the road - or cars won't be able to drive thru town.  :P ;)