Jump to content
Sign in to follow this  
csj

No entry 'bin'\houseBase.coefInside

Recommended Posts

Quote[/b] ]No entry 'bin\config.bin/CfgVehicles/houseBase.coefInside'

I am getting this error pop up when using my building model in editor and would like to know how to get rid of it (correct the problem).

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">//Buildings

class Thing;

class Building : Thing {};

class Strategic : Building {};

class NonStrategic: Building {class DestructionEffects;};

class HouseBase: Building {}; //class coefInside;

class Land_VASICore;

class House : HouseBase {class DestructionEffects;};

class Ruins;

class Church: NonStrategic {class DestructionEffects;};

class CSJ_buildings : House

{

scope = private;

vehicleClass = "CSJ_BuildingsClass";

// coefInside = 0;

// coefInsideHeur = 0.3;

dammageHalf[] = {};

dammageFull[] = {};

};

Share this post


Link to post
Share on other sites

class Building is not inherited from class Thing.

So, class Building : Thing {}; is wrong.

class Thing inherits from class All....

class Building inherits from class Static which inherits from class All.

Planck

Share this post


Link to post
Share on other sites

@Planck, thanks for reply.

Quote[/b] ]So,  class Building : Thing {};  is wrong.

Damn and I had everything working bar the error.

Now back to my origional problem which is

out of 6 buildings that inherit from CSJ_buildings

only 2 are recognised in game as buildings with pathways etc,

you can order AI to moveto building positions.

The other 4 are not recognised in game.

They are visible and have geo lods, roadwys etc

but you can not order AI to moveto the building position and the door animations do not work.

Share this post


Link to post
Share on other sites

You could try renaming your classes by adding Land_ onto the start, I know this works for .wrp placed objects.

Planck

Share this post


Link to post
Share on other sites
Quote[/b] ]You could try renaming your classes by adding Land_ onto the start

No different - unfortunately. confused_o.gif

Share this post


Link to post
Share on other sites

I'm stumped then, why not show the config, someone might spot a mistook.

Planck

Share this post


Link to post
Share on other sites

A couple have had a quick look at it with no real solutions.

One thing I have noticed is the buildings and only the buildings with the problem in game all have this Warning: in the model .log

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Warning: UV coordinate on point 870 is too big UV(-158.683151, 2.065734) - the UV compression may produce inaccurate results

obviously the point references are different.

Could be the problem - don't know why but could be confused_o.gif

What does it mean or more so how can I fix it ?

Share this post


Link to post
Share on other sites

Is there a reason for so many inheritance classes listed instead of only the needed?

Try

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class House;

class CSJ_buildings: House

{

scope = private;

vehicleClass = "CSJ_BuildingsClass";

// coefInside = 0;

// coefInsideHeur = 0.3;

dammageHalf[] = {};

dammageFull[] = {};

};

Share this post


Link to post
Share on other sites
Quote[/b] ]only 2 are recognised in game as buildings with pathways etc,

you can order AI to moveto building positions.

The other 4 are not recognised in game.

They are visible and have geo lods, roadwys etc

but you can not order AI to moveto the building position and the door animations do not work.

Do they have "class=house" or "class=building" (no spaces!wink_o.gif in the named properties of the geom lod? This may be a requirement for paths to function properly...

Share this post


Link to post
Share on other sites

@Rastavovich

The reason is because it wasn't working.

@General Barron

I had class house in most Geo's.

I have set my lods as per norm with sample mods given to us.

Sending model folder to interested parties.

Probably something small that I have overlooked but it's really getting to that annoying stage banghead.gif

thanks for help

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  

×