Addons & Mods Depot > OFP - Addons & Mods General

Problem with re-textured vehicle

(1/1)

1stJemHadar:
Hi.

I have a slight problem with a jeep that I've retextured. The game thinks it's a Civilian human :-[
As far as I understand, this is a problem, or rather, an error made by mee in the "config.cpp" file. My guess is that this is where the problem lies:


--- Quote ---class CfgVehicles
{
   class All{};
   class AllVehicles:All{};
   class Land:AllVehicles{};
   class Man:Land{};
   class Soldier:Man{};
   class Civilian:Soldier{};

   class Jeep_Swedish_Police:Civilian

--- End quote ---
The only problem is, I don't know what to write instead. Any help is highly appritiated.

Thanks in advance :)

SEAL84:
try replacing that section with this:

class CfgVehicles
{
     class All {};
     class AllVehicles: All {};
     class Land: AllVehicles {};
     class LandVehicle: Land {};
     class Car: LandVehicle {};
     class Jeep : Car {};
     class class Jeep_Swedish_Police: Jeep
     {

That might do it...just getting into this myself though.

1stJemHadar:
Thanks :)
I'll try that.

Navigation

[0] Message Index

Go to full version