Jump to content
Dressi

Config file for a Mailbox

Recommended Posts

Hello guys i need help with making a config file to my mailbox, i have made a texture and a model the only thing i need now is the config file, and i am lost xD. 

 

here is my config file right now, i cant see my object ingame so i think i have done something wrong can someone help :).

 

class CfgPatches
{
class lemondragon_static
{
    units[] = {};
    weapons[] = {};
    requiredVersion = 0.1;
    requiredAddons[] = {};
};
};

class CfgVehicles {    
class Static;
class postkasse : Static {
    scope = 2;
    model = "\DJGigaGaming\Postkasse\objects\postkasse.p3d";
    displayName = "DJGG_Postkasse";
    faction = "Empty";
    vehicleClass = "Small_items";
};
};

Share this post


Link to post
Share on other sites

Try this:

class CfgPatches {
	class DJGG_lemondragon_static {
		units[] = {"DJGG_Postkasse"};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {};
	};
};

class CfgVehicles {   		
	class Items_base_F;
	class DJGG_Postkasse : Items_base_F {
		author = "Dressi";
		scope = 2;
		scopeCurator = 2;
		displayName = "DJGG_Postkasse";
		model = "\DJGigaGaming\Postkasse\objects\postkasse.p3d";
		editorCategory = "EdCat_Furniture";
		editorSubcategory = "EdSubcat_Office";
		destrType = "DestructNo";
	};
};

 

Share this post


Link to post
Share on other sites

thanks for trying to help, but it still doesent work :( same problem, i cant see it ingame

Share this post


Link to post
Share on other sites

Are you using a p:\ drive and have you got an extracted \a3\ folder?

 

Can you open the p3d in Object Builders Buldozer?

 

Pack it into a .pbo with Mikero's pboProject (paid and free versions available):

https://armaservices.maverick-applications.com/Products/MikerosDosTools/

 

View the binlog and report back if there are any errors or warnings.

 

Share this post


Link to post
Share on other sites

13:50:24 Warning Message: Cannot open object djgigagaming\postkasse\postkasse.p3d
13:50:24 djgigagaming\postkasse\postkasse.p3d: No geometry and no visual shape
13:50:24 djgigagaming\postkasse\postkasse.p3d: No geometry and no visual shape
 thats from the last 3 lines in my rpt maybe its this?

Share this post


Link to post
Share on other sites

i dont know what you mean with using a p drive for what? yes i have it to arma 3 tools i think. and yes i can open it in object builder buldozer. and yes it is packed to a .pbo i am using "BinPBo Personal edition" 

Share this post


Link to post
Share on other sites

@UK_Apollo  hello again i have now tried to make a pbo with pbo project, and i get this error:

 

14:40:09: Extensions:
"</texheaders>" 
rapify x64UnicodeVersion 1.76, Dll 6.44 "Config.cpp"

rebuilding DjGigaGaming\Postkasse\Config.cpp.cfgPatches.units[]=...File DjGigaGaming\Postkasse\Config.cpp: config.cpp has externs but no RequiredAddons

rerun with -noisy option to see decode

Share this post


Link to post
Share on other sites

Yes, add the required Addon...

 

class CfgPatches {
	class DJGG_lemondragon_static {
		units[] = {"DJGG_Postkasse"};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"A3_Weapons_F"};
	};
};

class CfgVehicles {   		
	class Items_base_F;
	class DJGG_Postkasse : Items_base_F {
		author = "Dressi";
		scope = 2;
		scopeCurator = 2;
		displayName = "DJGG_Postkasse";
		model = "\DJGigaGaming\Postkasse\objects\postkasse.p3d";
		editorCategory = "EdCat_Furniture";
		editorSubcategory = "EdSubcat_Office";
		destrType = "DestructNo";
	};
};

 

You should have created a P:\ drive using the BIS tools.

Use Mikero's Arma3p to extract the game data to P:\a3\

 

Put your project in the P:\ drive

P:\DJGigaGaming\Postkasse\

 

Your model, postkasse.p3d should have:

1) a resolution (visible) LOD, such as "LOD 1.000" - assign a texture and rvmat

2) a Geometry LOD - find components, assign a mass, closed and convex

 

Add a Shadow LOD to make it look good.

 

Build into a pbo using Mikero's pboProject.

If it builds ok, then check the binlog for warnings.

Share this post


Link to post
Share on other sites

how can i do all that i mean the things with lod, can i do it in object builder?

Share this post


Link to post
Share on other sites

Can you rebuild the pbo using pboProject and 'Full Build' checked.

Then post the binlog text.

 

Alternatively send me the p3d privately and I'll have a look.

Share this post


Link to post
Share on other sites

omg i am so fucking happy right now xD, its working now i tried to build it with the pbo project and it worked, all my other attempes was with binpbo personal edition. so i think the problem was with the pbo packer

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

×