OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started 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:
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 :)
-
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.
-
Thanks :)
I'll try that.