Home   Help Search Login Register  

Author Topic: ca\misc\piskoviste.p3d: house, config class missing  (Read 3867 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
ca\misc\piskoviste.p3d: house, config class missing
« on: 26 Nov 2010, 14:28:51 »
Only two errors in the RPT:
Code: [Select]
ca\misc\piskoviste.p3d: house, config class missing
ca\misc\houpacka.p3d: house, config class missing
I have searched the BI forums and only found the FDF Podagorsk thread where the author says he could not fix it.

Any ideas?
urp!

Offline Gnat

  • Addons Depot
  • Moderator
  • *****
  • I Bite!
    • Gnats
Re: ca\misc\piskoviste.p3d: house, config class missing
« Reply #1 on: 26 Nov 2010, 15:38:19 »
do you have a CONFIG.BIN and/or a CONFIG.CPP file in your P/CA/Misc directory?

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: ca\misc\piskoviste.p3d: house, config class missing
« Reply #2 on: 26 Nov 2010, 16:13:47 »
ooops. this should have been posted in the arma2 section. please move.

gnat. yes there is. the island i am asking this for is ovaron. it had a tonne of errors in its RPT so i opened it up and found that commander'85 had pbo'd the ca config folder from his name space. i removed this and repbo'd and now all is fine except for the errors above.
« Last Edit: 26 Nov 2010, 16:16:34 by Mr.Peanut »
urp!

Offline DeanosBeano

  • Addons Depot Staff
  • *****
  • SirDeanosbeano bstowed on me by sui ;)
    • Fraghaus
Re: ca\misc\piskoviste.p3d: house, config class missing
« Reply #3 on: 27 Nov 2010, 16:23:48 »

 this appears because of so many reasons , its impossible to fix usually  unles your the Terrain maker .
 Known reasons to me are :

   by ensuring you have all the CA and subfolders  folders unbinned correctly on your pdrive and Config cpp`s unbinned , in addition

and this is the major  fix , your Required addons section in cfgpatches  in your terrain .cpp has the correct classes listed .

 In addtion you can write a new config for the p3d in your terrain.cpp by adding a cfgvehicles section andthis will work (not tried for BIS binned p3ds but works for mlods being made by terrain user).

 One day i hope to sytematically take notes , but as always these things take so damn long to figure out , your way behind and simply want to move on.

  I always believed that some models are simply not configged as anything , i dont know how BIS escape this error , best way is to get an all in one config and search the p3d name that erroroing , if its not there then make a class for it, if it is there  ,find the cfgpatch header for which the p3d resides and add this to your required addons.

I love ofp

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: ca\misc\piskoviste.p3d: house, config class missing
« Reply #4 on: 28 Nov 2010, 08:44:34 »
As it says, it is not defined in configs.

You need two parts:

a) a config

Code: [Select]
class CfgVehicles
{
class House;
class LAND_piskoviste: House//LAND_P3DNAME
{
displayName = "piskoviste";
Armor = 10000;
destrType = "DestructNo";
model = "\ca\misc\piskoviste";//YOURADDONPATH
scope = 1;
vehicleClass = "Structures";
};
};

b) model.cfg next to the p3d

Code: [Select]
class CfgModels
{
class Default
{
sections[] = {};
sectionsInherit = "";
};
class piskoviste: Default{};
};

So as Icebreakr hinted, you need to put the p3d into a custom addon and adapt the path to your new location.
« Last Edit: 29 Nov 2010, 11:45:41 by kju »

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: ca\misc\piskoviste.p3d: house, config class missing
« Reply #5 on: 28 Nov 2010, 22:05:42 »
okay. many thanks.
urp!