Jump to content
Sign in to follow this  
3rd-mef

Backpack Base Config

Recommended Posts

evening guys,

 

i'm having a problem trying to adjust my faction: whenever i try to launch my arma 3 with the faction it keeps saying that i have an undefefined base class B_BergenC_Base

 

it says so on the second backpack in my config.cpp but this is exactly the same as backpack 1 ..

 

someone please check my work for a sec and see if you can find the error.

 

http://prntscr.com/90w4cm

 

http://prntscr.com/90w4n9

 

Greetings.

 

 

Share this post


Link to post
Share on other sites

Aloha, having trouble lol? hmm, looks okay, that's weird..

 

I have in my config for the "compact backpacks"

B_AssaultPack_Base

this is my backpack config for "compact backpacks and it works fine

class CfgVehicles {

		class B_Kitbag_Base;
		class B_AssaultPack_Base;
		class B_AssaultPack_mcamo;
		class Bag_Base;
};

class Ranger_Compact_Olive: B_AssaultPack_Base {
	
		scope = 2;
		author = "retexbyHawaiian";
		displayName = "[75th] Assault Pack Olive";
		picture = "\ranger_backpacks\ui\compact_olive.paa";
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"ranger_backpacks\data\compact_olive_co.paa"};
		maximumLoad = 160;
		mass = 20;
	};

Share this post


Link to post
Share on other sites

 

Aloha, having trouble lol? hmm, looks okay, that's weird..

 

I have in my config for the "compact backpacks"

B_AssaultPack_Base

this is my backpack config for "compact backpacks and it works fine

class CfgVehicles {

		class B_Kitbag_Base;
		class B_AssaultPack_Base;
		class B_AssaultPack_mcamo;
		class Bag_Base;
};

class Ranger_Compact_Olive: B_AssaultPack_Base {
	
		scope = 2;
		author = "retexbyHawaiian";
		displayName = "[75th] Assault Pack Olive";
		picture = "\ranger_backpacks\ui\compact_olive.paa";
		hiddenSelections[] = {"camo"};
		hiddenSelectionsTextures[] = {"ranger_backpacks\data\compact_olive_co.paa"};
		maximumLoad = 160;
		mass = 20;
	};

hey hawaiian,

 

tried this now but still receiving the error when launching, even tried to copy over the number 1 : was not working , then tried to delete the nubmer 2 backpack and then it gave the error on the number 1 backpack...

 

this is the error i keep receiving :

 

http://prntscr.com/90z0ma

Share this post


Link to post
Share on other sites

wow, that's weird..hmm not sure what it could be brother, maybe re-write the entire array again without copying/pasting anything? It seems maybe the config is corrupted? 

 

edit: maybe take into consideration of making a seperate pbo for the backpacks? that might help, just a secondary suggestion as to what I do for most of my equipment... I noticed you're using the " / *extern* /" classes also.... I've never used that array before

Share this post


Link to post
Share on other sites

class B_BergenC_Base

Wrong classname, try this instead :

class B_Bergen_Base;
  • Like 1

Share this post


Link to post
Share on other sites

 

Wrong classname, try this instead :

class B_Bergen_Base;

 

didn't work either

 

still getting the undefined base class.... strange thing is that if i take a look at the unmodified config it is listed the exact same as the modified version

Share this post


Link to post
Share on other sites

hey hawaiian,

 

tried this now but still receiving the error when launching, even tried to copy over the number 1 : was not working , then tried to delete the nubmer 2 backpack and then it gave the error on the number 1 backpack...

 

this is the error i keep receiving :

 

http://prntscr.com/90z0ma

The cfgVehicles class is closed before backpacks are defined; they should be in cfgVehicles. Not sure what the problem of the problem with Bergen might be without seeing the whole config, though.

Share this post


Link to post
Share on other sites

The cfgVehicles class is closed before backpacks are defined; they should be in cfgVehicles. Not sure what the problem of the problem with Bergen might be without seeing the whole config, though.

 

i can upload the whole config without a problem .. point is it's 5768 lines xD

 

but i'll upload it and sent you a PM with the config

Share this post


Link to post
Share on other sites

For others: the original problem is solved, the allowedSlots property has to be written as allowedSlots[], since it's an array. Otherwise, curly brackets mess up the config structure.

  • Like 2

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  

×