PDA

View Full Version : Editor place objects cause - config class missing



.kju [PvPscene]
Apr 12 2008, 08:04
Quote[/b] ]ca\buildings\kasna.p3d: house, config class missing
ca\misc\heli_h.p3d: vehicle, config class missing
freya\p3d\hein_hangar.p3d: house, config class missing

We tried to define a config for them. Didn't help. Any ideas?

Linker Split
Apr 12 2008, 18:18
are you sure m8? I've just added the class to configure the models, binarized and get no errors in the log file.

For example you got an object called "Q_house1.p3d" then you define it in the model.cfg (no skeleton) as default:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgModels
{
class Default;
class Q_house1&#58; Default{};
};[/QUOTE]

then add the class both in the cfgpatches:
class CfgPatches
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{
class Q_houses
{
units&#91;&#93; = {&#34;Q_house1&#34;};
};
};[/QUOTE]

and finally in cfgVehicles:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgVehicles
{
blablabla...
};[/QUOTE]

.kju [PvPscene]
Apr 12 2008, 18:37
DeanosBeano already told me about it. Thanks Linker Split http://forums.bistudio.com/oldsmileys/smile_o.gif
We will try and see if it helps&#33;

Linker Split
Apr 12 2008, 18:56
and he also told me how to solve this problem... he is good http://forums.bistudio.com/oldsmileys/wink_o.gif

the-f
Apr 14 2008, 18:48
At the first attempt to solve this problem we did not add the object to the cfg models. Maybe that was the problem.