Advertisement

Author Topic: Problem with re-textured vehicle  (Read 537 times)

0 Members and 1 Guest are viewing this topic.

1stJemHadar

  • Guest
Problem with re-textured vehicle
« 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 :)

SEAL84

  • Guest
Re:Problem with re-textured vehicle
« Reply #1 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.

1stJemHadar

  • Guest
Re:Problem with re-textured vehicle
« Reply #2 on: 22 Aug 2002, 20:34:34 »
Thanks :)
I'll try that.