Jump to content
Sign in to follow this  
Petar

Game crashes because of addon

Recommended Posts

I used ODOL Explorer to make save the model T72 as MLOD and used O2 to change the path the star texture to FIA so i simply changed the path from data\east_01.pac to data\guer_01.pac then i made the config.Here it is:

// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

// type scope
#define private 0
#define protected 1
#define public 2

class CfgPatches
{
    class petREST72
    {
        units[] = {petREST72};
        weapons[] = {};
        requiredVersion = 1.01;
    };
};

class CfgVehicles
{
class All {};
class AllVehicles: All {};
class Land: AllVehicles {};
class LandVehicle: Land {};
class Tank: LandVehicle {};
class T72: tank {};

class petREST72: T72
{
moder="\ResistanceT72\ResT72";
side=2;
crew="SoldierGCrew";
displayname="T72 (Resistance)";
};
};

However i start Ofp,then place that tank in the editor and hit preview the game crashes.Why is that happening ?

:o

Share this post


Link to post
Share on other sites

Just crashes with out telling you enything?

Find an old tank addon on OFP.info and try to use the config from that, just changing the model path at first to see if you get the same result.

STGN

Share this post


Link to post
Share on other sites

moder="\ResistanceT72\ResT72";

if you want to define moder maybe try writing there any existing one, like Placebo or Rellikki ;)?

simple typo, try

model="\ResistanceT72\ResT72";

also, you have to add cfgModels section to config

good luck ;)

Share this post


Link to post
Share on other sites
moder="\ResistanceT72\ResT72";

if you want to define moder maybe try writing there any existing one, like Placebo or Rellikki ;)?

simple typo, try

model="\ResistanceT72\ResT72";

also, you have to add cfgModels section to config

good luck ;)

Just a simple typo :p

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
Sign in to follow this  

×