Jump to content
Sign in to follow this  
ZenWarrior

config.cpp Problem

Recommended Posts

Hey guys,

i want to modify the Item-Slots of the OA Backpacks for my Mission. But i´m stuck with the config.cpp.

I don´t want to make a new addon for that, just want to modify the stats according to my mission.

But the config.cpp doesn´t work.

Here is what i have right now:

#define _ARMA_

class CfgPatches

{

class backpack{

units[] = {};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[] = {};

};

};

class CfgVehicles

{

class Bag_Base_EP1;

class DZ_Patrol_Pack_EP1: Bag_Base_EP1

{

scope = 2;

displayName = "Patrol Pack (coyote)";

picture = "\ca\weapons_e\data\icons\backpack_US_ASSAULT_COYOTE_CA.paa";

icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";

mapsize = 2;

model = "\ca\weapons_e\AmmoBoxes\backpack_us_assault_Coyote.p3d";

transportMaxWeapons = 1;

transportMaxMagazines = 8;

};

class DZ_Assault_Pack_EP1: Bag_Base_EP1

{

scope = 2;

displayName = "Assault Pack (ACU)";

picture = "\ca\weapons_e\data\icons\backpack_US_ASSAULT_CA.paa";

icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";

mapSize = 2;

model = "\ca\weapons_e\AmmoBoxes\backpack_us_assault.p3d";

transportMaxWeapons = 2;

transportMaxMagazines = 12;

};

class DZ_CivilBackpack_EP1: Bag_Base_EP1

{

scope = 2;

displayName = "Czech Backpack";

picture = "\ca\weapons_e\data\icons\backpack_ACR_CA.paa";

icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";

mapsize = 2;

model = "\ca\weapons_e\AmmoBoxes\backpack_acr.p3d";

transportMaxWeapons = 3;

transportMaxMagazines = 16;

};

class DZ_ALICE_Pack_EP1: Bag_Base_EP1

{

scope = 2;

displayName = "ALICE Pack";

picture = "\ca\weapons_e\data\icons\backpack_TK_ALICE_CA.paa";

icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";

mapsize = 2;

model = "\ca\weapons_e\AmmoBoxes\backpack_tk_alice.p3d";

transportMaxWeapons = 4;

transportMaxMagazines = 20;

};

class DZ_Backpack_EP1: Bag_Base_EP1

{

scope = 2;

displayName = "Backpack (coyote)";

picture = "\ca\weapons_e\data\icons\backpack_US_CA.paa";

icon = "\ca\weapons_e\data\icons\mapIcon_backpack_CA.paa";

mapsize = 2;

model = "\ca\weapons_e\AmmoBoxes\backpack_us.p3d";

transportMaxWeapons = 6;

transportMaxMagazines = 24;

};

};

Do i need to include the config.cpp in init.sqf or description.ext??

Or is something missing in the file?

Share this post


Link to post
Share on other sites

config.cpp will not work outside of a addon. You can't change config values only in a mission. You wont get around to create a addon.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×