OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: 1stJemHadar on 22 Aug 2002, 17:55:31

Title: Problem with re-textured vehicle
Post by: 1stJemHadar on 22 Aug 2002, 17:55:31
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
The only problem is, I don't know what to write instead. Any help is highly appritiated.

Thanks in advance :)
Title: Re:Problem with re-textured vehicle
Post by: SEAL84 on 22 Aug 2002, 19:09:10
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.
Title: Re:Problem with re-textured vehicle
Post by: 1stJemHadar on 22 Aug 2002, 20:34:34
Thanks :)
I'll try that.