Jump to content
Sign in to follow this  
ladie from hell

Looking For "All in ONE OFP model config"

Recommended Posts

Good to you all

I am looking for a default all in one o2 model config to make a Config with house, building, static objects in an all in one.

I have the o2 PDF files of how to make said models and such, but when I try to add "house,building, etc .. " I get errors now that could be that I have some text wrong ( would not be the first time ).

#define TEast0

#define TWest1

#define TGuerrila2

#define TCivilian3

#define TsideUnknown4

#define Tenemy5

#define TFriendly6

#define TLogic7

#define true1

#define false0

#define private0

#define protected1

#define public2

#define WeaponNoSlot0// dummy weapons

#define WeaponSlotPrimary1// primary weapons

#define WeaponSlotSecondary16// secondary weapons

#define WeaponSlotHandGun2// HandGun

#define WeaponSlotHandGunItem32// HandGun magazines

#define WeaponSlotItem256// items

#define WeaponSlotBinocular4096// binocular

#define WeaponHardMounted65536

#define CanSeeRadar 1

#define CanSeeEye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

////////////////////////////////////////////////////////////////////////////////

class CfgPatches

{

class "name of folder"

{

units[] =

{

"name of House model",

"name of Building model",

"name of Static model",

"name of man/vehicle model",

};

requiredVersion=1.85;

requiredAddons[]= {BIS_Resistance};

};

};

class CfgSounds

{

class dor_open

{

name="Door sound";

sound[]={"\name of folder\dor_open.wss",1.000000,1.000000};

titles[]={};

};

class dor_close

{

name="Door sound";

sound[]={"\name of folder\dor_close.wss",1.000000,1.000000};

titles[]={};

};

};

class CfgVehicles

{

class All{};

class Thing: All {};

class AllVehicles : All{};

class Land : AllVehicles{};

class Static : Land {};

class Building : Static {};

class NonStrategic : Building {};

class Fence : NonStrategic {};

class WireFence: Fence {};

class House: NonStrategic {};

class ViewTower2: House{};

//////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////

class name of House model: House

{

model = "\name of folder\name of House model.p3d";

armor = 50000;

scope = 2;

mapSize=25;

vehicleClass = "where model can be found in mission editor";

displayName = "name of House model in Mission editor";

ladders[]={{"start","end"}, {"start2","end2"}, {"start3","end3"}, {"start4","end4"}};

};

class name of Building model: House

{

model = "\name of folder\name of Building model.p3d";

armor = 50000;

scope = 2;

mapSize=25;

vehicleClass = "where model can be found in mission editor";

displayName = "name of Building model in Mission editor";

};

class name of Static model: House

{

model = "\name of folder\name of Static model.p3d";

armor = 50000;

scope = 2;

mapSize=25;

vehicleClass = "where model can be found in mission editor";

displayName = "name of Static model in Mission editor";

};

class name of man/vehicle model: House

{

model = "\name of folder\name of man/vehicle model.p3d";

armor = 50000;

scope = 2;

mapSize=25;

vehicleClass = "where model can be found in mission editor";

displayName = "name of man/vehicle model in Mission editor";

(And what ever else is needed for man/vehicle units such as weapons, ammo etc .. )

};

};

};

//////////////////////////////////////////////////////////

Thanks.

LFH

Share this post


Link to post
Share on other sites

From a quick glance, there seems to be an unnecessary comma at the end of CfgPatches:

class CfgPatches

{

class "name of folder"

{

units[] =

{

"name of House model",

"name of Building model",

"name of Static model",

"name of man/vehicle model",

};

Remove the colored bit.

Otherwise it seems fine to me. If you get any more errors, it'd be the best if you posted the exact error message here to pinpoint the fault(s).

Share this post


Link to post
Share on other sites
From a quick glance, there seems to be an unnecessary comma at the end of CfgPatches:

Remove the colored bit.

Otherwise it seems fine to me. If you get any more errors, it'd be the best if you posted the exact error message here to pinpoint the fault(s).

thanks will do

Yes that fixed the #2 thing I was looking for.

Edited by ladie from hell
UPDATED

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×