Jump to content
Sign in to follow this  
goldenfiver

How can I make my own costum backpack ACE2 compatible?

Recommended Posts

Hi guys,

I was able to create my own custom backpack and get it working ingame. Still, I can't get it to work with ACE2 (it is not recognized as a ruck).

This is (the key part of) my config:

class sample_backpack: USBasicBag

{

scope = 2;

displayName = "basic vest pack";

model = "\pi_backpacks\idf_basic_pack.p3d";

picture = "\CA\weapons_E\Data\icons\backpack_US_ASSAULT_CA.paa";

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

};

};

Share this post


Link to post
Share on other sites

Just have it inherit from an ACE backpack.

eg:

class LoBo_Backpack : ACE_Rucksack

{

scope = 2;

ACE_PackSize = 20250;

ACE_Size = 20251;

ACE_Weight = 1;

displayName = "Template Backpack";

picture = "\x\ace\addons\sys_ruck\data\equip\w_molle_g_ca.paa";

model = "\LoBo_Backpack\Lobo_IDF_Assaultpack1.p3d";

};

class LoBo_Backpack_IDF1 : LoBo_Backpack

{

scope = 2;

displayName = "IDF Assault Backpack 1";

picture = "\x\ace\addons\sys_ruck\data\equip\w_molle_g_ca.paa";

model = "\LoBo_Backpack\Lobo_IDF_Assaultpack1.p3d";

};

Share this post


Link to post
Share on other sites

Thank you, but I still can't get it to work.

class CfgPatches

{

class basic_backpack

{

units[]={};

weapons[]={};

requiredVersion = 1.6;

requiredAddons[]={};

};

};

class CfgVehicles

{

class ACE_Rucksack;

////////////////////////////BAGS/////////////////////////////////

class basic_vest_pack : ACE_Rucksack

{

scope = 2;

ACE_PackSize = 20250;

ACE_Size = 20251;

ACE_Weight = 1;

displayName = "Basic VestPack";

picture = "\x\ace\addons\sys_ruck\data\equip\w_molle_g_ca.pa a";

model = "\pi_backpakcs\basic_vest.p3d";

};

Share this post


Link to post
Share on other sites

What isn't working? post your entire config - also remove any eventhandlers or extended ones that you have and try again.

Share this post


Link to post
Share on other sites
What isn't working? post your entire config - also remove any eventhandlers or extended ones that you have and try again.

This is the entire config. I am getting this when the game starts (it also crashes when I try to play a mission with my addon)

Warning Message: No entry 'bin\config.bin/CfgVehicles/ACE_Rucksack.scope'.

Share this post


Link to post
Share on other sites

Try putting ace_sys_ruck in required addon array eg:

class CfgPatches

{

class basic_backpack

{

units[]={};

weapons[]={};

requiredVersion = 1.6;

requiredAddons[]={"ace_sys_ruck"};

};

};

Share this post


Link to post
Share on other sites

I tried this:

The game still crashes

class CfgPatches {

class pi_backpacks {

units[] = {};

weapons[] = {};

requiredVersion = 1.6;

requiredAddons[] = {"ace_main", "ace_sys_ruck"};

};

};

class CfgWeapons {

class ACE_Rucksack;

class ACE_VTAC_RUSH72;

class ACE_CharliePack;

class ACE_FAST_PackEDC;

class ACE_Rucksack_MOLLE_Green;

class basic_vest_pack : ACE_rucksack {

displayName = "Basic VestPack";

picture = "\x\ace\addons\sys_ruck\data\equip\w_molle_g_ca.pa a";

model = "\pi_backpakcs\basic_pack.p3d";

descriptionShort = "";

};

};

Share this post


Link to post
Share on other sites

To be able to help you should start by reporting the exact error messages and preferably RPT extracts of the error.

Edited by Sickboy

Share this post


Link to post
Share on other sites

Narrowed it down abit.

My game crashed because I tried to play with a soldier that spawns with one of my bags. When I make a ruck-box of them, and pick one of them up, I get this : "Cannot open object" (the bag itself, is invisible, but still functions like the ACE2 bags, since I use a suitable config). However, the bag works fine with the usual arma 2 OA config (without ace 2). Should I change something in my model then?

The basic model : http://www.mediafire.com/?jlisq5csu7bpjwd

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  

×