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: 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[] = {"Q_house1"};
};
};[/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!
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
At the first attempt to solve this problem we did not add the object to the cfg models. Maybe that was the problem.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.