Jump to content
scottdog62

Problem with class land_xx and now pbo project

Recommended Posts

Hey guys I'm learning Terrain builder and one of the problems I have is class land_xx. and now pbo project doesn't want to work for me anymore.

the problem with class land_xx is I'm unsure where to put it in config.cpp file.
 

this is what came up in pboProject output
 

 

checking config.cpp's for land_xx...
   missing class land_ww2_countryside_house_1_damaged:house
   missing class land_ww2_apteka_ruins:house

 

this is my class land_xx in config

 

 

class house_f; // almost always
class land_WW2_Countryside_house_1_damaged: house_f
{
    model=P:\WW2\Terrains_m\Structures\Buildings_m\WW2_Countryside_house_1_damaged.p3d;
    ..... the rest doesn't matter
};

class house_f; // almost always
class land_WW2_Apteka_ruins: house_f
{
    model=P:\WW2\Terrains_m\Structures\Buildings_m\WW2_Apteka_ruins.p3d;
    ..... the rest doesn't matter
};

 

so I'm really confused as to where that code goes in the config.cpp (I use the default config from the Atlas tutorial sample map.)
 

Now I'm getting a problem with PboProject.
 

 

makepbo failed
configs.pbo not produced due to error<s>
Job<s> completed in 1secs on Mon Oct 10 04:59:23 2016


So not I'm not sure what is causing this problem, it happens even when I paste the default config.cpp back from a backup of my terrain

 

Share this post


Link to post
Share on other sites

Here are the binlogs from PboProject

 

 

This build is licensed to 'Bohemia Interactive a.s.' for use within the scope of the following projects/products: 'All'.
Convert world scottdog\scottdog_stalingrad\scottdog_stalingrad.wrp -> P:\temp\scottdog\scottdog_stalingrad\scottdog_stalingrad.wrp
<world = "scottdog\scottdog_stalingrad\scottdog_stalingrad.wrp">
</world>

Share this post


Link to post
Share on other sites

Think I got that part working, now the problem is pboproject, it won't pack the map, it just puts a config file in the output.

Share this post


Link to post
Share on other sites

Do not put the P: in the model path. Start with just the \

Also don't put "this doesn't matter" because that's not the real config. There may be an error somewhere such as a missing ; that now people can't see because you altered what is actually in your config.

Share this post


Link to post
Share on other sites

ok, Think I'v worked the problem with pboproject, not sure exactly what the prob was, think something to do with my configs folder.

But with help from Kju here's my new config.

https://paste.ubuntu.com/23310938/

But still keep getting missing class land_xx

Here's the bottom output log where i get the problem
.
https://paste.ubuntu.com/23310942/

 

So i can't workout the problem.

Share this post


Link to post
Share on other sites

the short and simple answer is, that bis binarise can't find the config.cpp you have pasted above,, OR, that config has errors.

 

you can quickly establish any 'paramfile' (config, rvmat, bisurf) by lint checking it using either eliteness or rapify -L

 

 

you can force binarise to look in specific folders for this config, via setup->island builds only

 

also take note that if there;s no reason to do so, binarise will NOT rebinarise your wrp. so no matter how much tweaking you do to the config, the old wrp remains (and will be wrong).

 

when you have this sort of issue, always best to use full build to force binarise to regenerate.

 

----

 

btw bis maintain a sticky page for my tools, here:

 

https://forums.bistudio.com/topic/113852-mikeros-dos-tools/

 

you are likely to get a quicker answer from a 'hot topic' that's generally monitored.

 

 

and, for a better understanding of why land classes are essential, and what goes bang

 

https://community.bistudio.com/wiki/The_Land_xx_class

  • Like 1

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

×