PDA

View Full Version : Bulldozer and ofp crashing



Nathanz
Jul 7 2004, 17:44
Well I got bored and just took a few pictures of my ofpr box with my digicam then made a basic box in o2, then applied the textures, then went to view it in bulldozer and the thing crashes. So I .pbo the addon and go to try it ingame, only to find ofp crashes without any error message.

Config:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class CfgPatches
{
class SGN_Resis
{
units&#91;&#93; = {SGN_Resis};
weapons&#91;&#93; = {};
requiredVersion = 1.85;
};
};

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 SGN_Resis&#58; TargetGrenade
*** *** *** ***{
*** *** *** *** *** *** ***vehicleClass=&#34;SGN - Objects&#34;;
*** *** *** *** *** *** *** ***destrType=DestructBuilding;
*** *** *** *** *** *** ***model=&#34;&#92;SGN_Resistance&#92;SGN_model&#34;;
*** *** *** *** *** *** ***armor=100;
*** *** *** *** *** *** ***cost=100;
*** *** *** *** *** *** ***displayName=&#34;Resistance Box&#34;;
*** *** *** *** *** *** ***accuracy=0.7;
*** *** *** *** };


};[/QUOTE]

Gordy
Jul 7 2004, 18:03
Textures must be incorrect. Nothing to do with config. Got it myself few times.

oyman
Jul 7 2004, 18:10
ya make sure they are in 128*128 256*256 and so on

Nathanz
Jul 7 2004, 19:42
There in 512*768 and 128*768

TheRedBaron
Jul 7 2004, 20:01
maybe try 256*512 for both of them and on the smaller one strech it and the correct the aspect ratio

oyman
Jul 7 2004, 20:32
There in 512*768 and 128*768
ya thats your problem ofp doesnt accept 768

make em 512*512 and 128*512
or 1024

Nathanz
Jul 9 2004, 09:51
Ah, resizing the textures worked.

Thanks guys http://forums.bistudio.com/oldsmileys/wink_o.gif