Jump to content
Sign in to follow this  
ironmentalist

Having issue with config.cpp

Recommended Posts

Hi guys i have a model i wrote a config but when i use addon builder it show "Error code = 1" i discovered that its an error somewhere in the config...but as soon this is my first addon at all if someone more experienced that me could take a look i would be very thankful. here the config:

class CfgPatches

{

class Benghazifourpalaces

{

units[] = {};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[]= {"A3_structures_F"};

};

};

class CfgVehicleClasses

{

class Juoksuhauta

{

displayName="Benghazifourpalaces";

};

};

class CfgVehicles

{

class HouseBase;

class House: HouseBase {};

class Land_VFL_Benghazifourpalaces: House

{

scope = 2;

model = "VFL\VFL_Benghazifourpalaces.p3d";

displayName="Benghazifourpalaces";

VehicleClass = "Juoksuhauta";

destrType = "DestructNo";

};

};

Share this post


Link to post
Share on other sites

Try removing the {} after HouseBase

Or use the HouseBase as the baseclass for you own building

Share this post


Link to post
Share on other sites

it still to tell me "build failed:result code=1"...i ve deleted the{}...what do you mean as use the baseclass for my building?

Share this post


Link to post
Share on other sites

class CfgVehicles

{

class HouseBase;

class Land_VFL_Benghazifourpalaces: HouseBase

{

scope = 2;

model = "VFL\VFL_Benghazifourpalaces.p3d";

displayName="Benghazifourpalaces";

VehicleClass = "Juoksuhauta";

destrType = "DestructNo";

};

};

Share this post


Link to post
Share on other sites

i changed the config as you said but as soon as it still to tell me that "error code=1" i packed it with FileBank it builds the pbo then i put it into the game in a file>addon>VFL_Benghazifourpalaces but it neither shows between the arma 3 possible mods...:/

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  

×