Welcome, Guest Thursday 24th April 2014, 06:50:47
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: Problem with re-textured vehicle  (Read 499 times)
0 Members and 1 Guest are viewing this topic.
1stJemHadar
Guest
« on: 22 Aug 2002, 16:55:31 »

Hi.

I have a slight problem with a jeep that I've retextured. The game thinks it's a Civilian human Embarrassed
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 Smiley
Logged
SEAL84
Guest
« Reply #1 on: 22 Aug 2002, 18: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.
Logged
1stJemHadar
Guest
« Reply #2 on: 22 Aug 2002, 19:34:34 »

Thanks Smiley
I'll try that.
Logged
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: