OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: loner on 20 Nov 2004, 17:36:25
-
// 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!?!!
-
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 Fixed it no problums ;D
thanx for the response though!