PDA

View Full Version : Error "bin\config.bin\cfgmodels\default.sections"



jens198
Jan 5 2008, 20:22
Hi,

in the lack of tutorials for o2 beginners I revisited brsseb's old modeling lessons (link (http://ofp.gamepark.cz/_hosted/brsseb/tutorials.htm)) and I just finished the first lesson (the good old red crate). It's basicly just a box with two textures. One normal LOD and a geometry LOD. Nothing more. In bulldozer everything looks fine.

If I try to view the crate ingame I get the message:

No entry 'bin\config.bin\CfgModels\Default.sections'

My config.cpp looks like this:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches
{
class Crate
{
units&#91;&#93; = {Crate};
weapons&#91;&#93; = {};
requiredVersion = 1.0;
};
};
class CfgVehicles
{
class All {};
class Static&#58; All {};
class Building&#58; Static {};
class NonStrategic&#58; Building {};
class TargetTraining&#58; NonStrategic {};
class TargetGrenade&#58; TargetTraining {};

class Crate&#58; TargetGrenade
{
model=&#34;&#92;crate&#92;crate&#34;;
armor=20000;
scope=2;
displayName=&#34;Crate&#34;;
}
}[/QUOTE]

Any hints are welcome. If anyone has some links for tuts, please tell me so.

Thanks a lot in advance
Jens

raedor
Jan 5 2008, 20:37
Class loading changed for ArmA.

Thze code shown here only works if the class TragetGrenade is in ArmA, but I doubt that.

</span><table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches
{
class Crate
{
units&#91;&#93; = {Crate};
weapons&#91;&#93; = {};
requiredVersion = 1.0;
};
};
class CfgVehicles
{
class TargetGrenade;
class Crate&#58; TargetGrenade
{
model=&#34;&#92;crate&#92;crate&#34;;
armor=20000;
scope=2;
displayName=&#34;Crate&#34;;
};
};[/QUOTE]<span id='postcolor'>

As this is a quite often discussed topic, I&#39;m closing this thread. You might want to check the biki, see my signature for a link. http://forums.bistudio.com/oldsmileys/smile_o.gif