OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Hit_Sqd_Maximus 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.
-
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.
// -= 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
-
One of the addons uses a config.bin instead of a config.cpp, what do I do in this case?
-
I don't know..
I've never needed to use or mess with a config.bin... :-\
Asmo
-
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? :-\
-
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 ;)