Jump to content
Sign in to follow this  
Pasi

Second Object don´t have Geometry ?

Recommended Posts

Hello guys :)

 

I have a problem with my second Object in my Addon... the first Object have a Geometry but the second not.

i dont understand it and i have made the same LOD as the first Object...

can anyone look over my model.cfg and config pls ?

 

config

class CfgPatches
{
	class PSNL
	{
	units[] = {"PSNL","PSNL_tex2"};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {};
	};
	
	class PSNL2
	{
	units[] = {"PSNL2"};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {};
	};
	
};

class CfgVehicles
{
	class Static;
	class PSNL : Static
	{
		scope = 2;
		model = "\PSNL\schild1.p3d";
		displayName = "Schild 1";
		vehicleClass = "small_items";
		
	};
	
	class PSNL2 : Static
	{
		scope = 2;
		model = "\PSNL\schild2.p3d";
		displayName = "Schild NEU";
		vehicleClass = "small_items";
		
	};
	
	class PSNL_tex2 : PSNL
	{
	  displayName = "Schild 2";
	  hiddenSelections[] = {"colour"};
	  hiddenSelectionsTextures[] = {"\PSNL\testnew_co.paa"};
	};
};

model

class CfgSkeletons
{
	class Default
	{
		isDiscrete = 1;
		skeletonInherit = "";
		skeletonBones[] = {};
	};
	
	class PSNL_Skeleton: Default
	{
		skeletonBones[]=
		{
			"colour",""
		};
	};
	
		class PSNL2_Skeleton: Default
	{
		skeletonBones[]=
		{
			"colour",""
		};
	};
};

class CfgModels
{
	class schild1
	{
		skeletonName="PSNL_Skeleton";
		sections[]={"colour"};
		sectionsInherit="";
	};
	
	class schild2
	{
		skeletonName="PSNL2_Skeleton";
		sections[]={"colour"};
		sectionsInherit="";
	};
};

Share this post


Link to post
Share on other sites

Does your GEO Lod meet the properties of Bohemia?

  • Object must be named ComponentXX (where XX is a consecutive number between 01 and 99).
  • Must have 'Mass' (Alt-M).
  • Must be closed and convex. Always validate your Geometry LOD. (Validating Geometries).
  • It must be smaller then the size limit.

https://community.bistudio.com/wiki/LOD#Geometry

 

I think Geometry is not effected by modelcfg or config

  • Like 2

Share this post


Link to post
Share on other sites

thank you i must create the Components :) thank you all

Share this post


Link to post
Share on other sites

thank you i must create the Components :) thank you all

 

Go into the Geom LOD, then on the menu select Structure --> Topology --> Find Components and it will do that for you.

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  

×