Home   Help Search Login Register  

Author Topic: CONFIG HELP!!!  (Read 1126 times)

0 Members and 1 Guest are viewing this topic.

loner

  • Guest
CONFIG HELP!!!
« on: 20 Nov 2004, 17:36:25 »
Code: [Select]
// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

// type scope
#define private 0
#define protected 1
#define public 2

#define WeaponNoSlot            0// dummy weapons
#define WeaponSlotPrimary      1// primary weapons
#define WeaponSlotSecondary   16// secondary weapons
#define WeaponSlotItem         256// items
#define WeaponSlotBinocular   4096// binocular
#define WeaponHardMounted      65536

class CfgPatches
{
   class grinch
   {
      units[] = {grinch};
      weapons[] = {};
      requiredVersion = 1.01;
   };
};
class CfgVehicles
{
   class All{};
   class AllVehicles : All{};
   class Land : AllVehicles{};
   class Man : Land{};
   class Soldier : Man{};
   class SoldierWB : Soldier{};
   class Santa : SoldierWB{
      side=3
      displayName="grinch";
                model="\grinch\grinch.p3d";
      weapons[]={};
      magazines[]={};
};

isnt working WHY!?!!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:CONFIG HELP!!!
« Reply #1 on: 20 Nov 2004, 18:10:05 »
The cfgPatches section thinks your pbo file is called grinch.pbo

It also thinks your object class is grinch, but from your cfgVehicles section it is called Santa

You are also missing an extra '};' at the end of the cfgVehicles section.

You might also need to have a cfgModels section as well.


Planck
I know a little about a lot, and a lot about a little.

loner

  • Guest
Re:CONFIG HELP!!!
« Reply #2 on: 20 Nov 2004, 18:47:52 »
I  Fixed it no problums ;D
thanx for the response though!