PDA

View Full Version : PBO crashes arma



ibuleave
Sep 21 2007, 19:28
Hi all
ive made a box with a geometry LOD ive textured it in face properties i can preview it with bulldog. ive got a simple class for it
but when i create a pbo with O2 and open arma game i can use map edit and see my box there and place it.But as soon as i launch the game crashes hard.any one have any ideas about this or how to use a debuger. thanks i got a great new consept for the game i just want to be able top import some thing basic first
Thanks For any help on this
p.s i have modded before just need a few tips for arma.

Messiah
Sep 21 2007, 19:33
sounds like either a duff config, or a model error, either one will cause a crash. ArmA will generate an error report in its rpt file, located here:

C:\Documents and Settings\YOURNAME\My Documents\BIS Core Engine

ibuleave
Sep 21 2007, 19:37
thanks for the quick reply mate ill check that out and get back
http://forums.bistudio.com/oldsmileys/wink_o.gif

ibuleave
Sep 21 2007, 19:58
I cant seem to find a log for arma any where on the pc
is there a defonate procedure i need to folow to export or normalize normals im well stuck lol

Messiah
Sep 21 2007, 21:06
search for:

arma.rpt

it should be somewhere on your pc, and it should be at the location I gave. To get a basic model ingame, you don't need to bother with any sort of binarizing - such a process is reserved pretty much as a last step for efficiency of the pbo. In testing, its fairly pointless, and at any rate, it won't solve your problem.

ibuleave
Sep 22 2007, 10:23
Ok thanks
It was in C:\Documents and Settings\Administrator\Local Settings\Application Data\ArmA (hidden folder) http://forums.bistudio.com/oldsmileys/icon_rolleyes.gif
any way this is the error i got from my model.
Warning Message: Cannot open object data3d\nbox.p3d
w:\c\Poseidon\lib\Shape\shape.cpp(8232) : No geometry and no shape
w:\c\Poseidon\lib\Shape\shape.cpp(8232) : No geometry and no shape
ive looked in O2 now and i see creat shape when my model is selected.not sure if this has any thing to do with it.
chears for any help

MehMan
Sep 22 2007, 10:44
Give us some screens from O2 and post the config please.

VXR
Sep 22 2007, 12:41
Ok thanks
It was in C:\Documents and Settings\Administrator\Local Settings\Application Data\ArmA (hidden folder) http://forums.bistudio.com/oldsmileys/icon_rolleyes.gif
any way this is the error i got from my model.
Warning Message: Cannot open object data3d\nbox.p3d
w:\c\Poseidon\lib\Shape\shape.cpp(8232) : No geometry and no shape
w:\c\Poseidon\lib\Shape\shape.cpp(8232) : No geometry and no shape
ive looked in O2 now and i see creat shape when my model is selected.not sure if this has any thing to do with it.
chears for any help
Did you make a Geometry lod?

Take a look at the example models and see whats missing on yours.

ibuleave
Sep 22 2007, 15:02
Yes i have made a geo lod a rectangle inside my model im using my ship model now insted of the creat but i have a screen shot.
points 1766, faces 2050, geo lod mass 200.000.
http://wintershall-estate.com/ship.gif
And this is the class file im using but this is simply to get the model in ill be adding anims and proxy/s later
<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;nbox&#34;;
armor=20000;
scope=2;
displayName=&#34;My Ship&#34;;
}
}[/QUOTE]
Much thanks again

ibuleave
Sep 23 2007, 11:58
Sorry to bump the post guys
If my model opens up in bulldozer mode it should be ok in the game right?
so it must be the config file if not that the lod&#39;s in the model not being named right or some thing along thoes lines
ive been playing about changing the class into a ship.
ive got the class for the ship icon ok my path to the model is
model="&#92;ca&#92;bicarrier&#92;carrier.p3d"; ive tryed difrent paths to
its saying it cant open the model not that it cant find it.
is there some where i can find the correct way to name the lods?
Thanks again guys for all your help

MehMan
Sep 23 2007, 12:10
Hmm, tried changing the LOD 0.000 to 1.000?

Also, try copying one of the default configs first and just rename a couple of things and change the model path.

Also:

class Crate: TargetGrenade
{
model="nbox";
armor=20000;
scope=2;
displayName="My Ship";
}
}

This is how it should go:

model="&#92;nameofyourpbo&#92;nbox";

This is probably your problem.

ibuleave
Sep 23 2007, 13:45
thanks MehMan
that hasnt seem to of done it though the name of my p3d in pbo is carrier so path is
model="&#92;ca&#92;bicarrier&#92;carrier";
or
model="&#92;bicarrier&#92;carrier";
ive changed the lod 0.00 to 1.00 but still the same error
i have now copied the model created a view geo and a geo lod
and a pasted it then squarized to get my lod then scaled up my model so now i have all lods in place and looking good
still no succses lol Im using o2 personal edition to save as p3d and BinPBO personal edition to pack.
this is verry odd

ibuleave
Sep 23 2007, 16:52
Problem Soved

thanks every one for your help&#33;&#33;&#33; http://forums.bistudio.com/oldsmileys/biggrin_o.gif

DMarkwick
Sep 25 2007, 14:01
Problem Soved
How? http://forums.bistudio.com/oldsmileys/smile_o.gif

TRexian
May 26 2008, 01:30
Problem Soved

thanks every one for your help&#33;&#33;&#33; http://forums.bistudio.com/oldsmileys/biggrin_o.gif
Bump. http://forums.bistudio.com/oldsmileys/smile_o.gif

Yeah, how? http://forums.bistudio.com/oldsmileys/smile_o.gif

I *think* have a paths problem in my config, but I can&#39;t figure it out. http://forums.bistudio.com/oldsmileys/smile_o.gif

Also - more info on checking a model without binarizing it? I mean, just drop the model/config into the addons folder or what? http://forums.bistudio.com/oldsmileys/biggrin_o.gif