Home   Help Search Login Register  

Author Topic: config cpp  (Read 964 times)

0 Members and 1 Guest are viewing this topic.

Spliff air

  • Guest
config cpp
« on: 07 Aug 2003, 02:30:56 »
can someone make me a config cpp for my map

Waterman

  • Guest
Re:config cpp
« Reply #1 on: 07 Aug 2003, 18:55:24 »
You should try using the search facility.  Anyway...

Code: [Select]
// Midway
// Made with New World config.cpp creator by Marksman
// beta version

#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

#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 Midway
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"Midway"};
      requiredVersion = 1.30;
   };
};
class CfgVehicles{};
class CfgSurfaces
{
   class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
   class DefaultWorld {};
   class  Midway: DefaultWorld
   {
      access=3;
      description="Midway";
      icon="\Midway\Midway.paa";
      worldName="\Midway\Midway.wrp";
      plateFormat="ML$ - #####";
      plateLetters="ABCDEGHIKLMNOPRSTVXZ";
      startTime="7:30";
      startDate="10/4/82";
      startWeather=0.400000;
      startFog=0.000000;
      forecastWeather=0.400000;
      forecastFog=0.000000;
      seagullPos[]={8897,4349,100};
      ilsPosition[]={6824.36,8773.72,15.00};
      ilsDirection[]={0,0.080000,-1};
      ilsTaxiIn[]={};
      ilsTaxiOff[]={};
      centerPosition[]={9735,3964,0};
      class Sounds
      {
         sounds[]={};
      };
      class Animation
      {
         vehicles[]={};
      };
      class Names
      {
           
               
      };
   };
};
class CfgWorldList
{
   class  Midway{};
};

Try that for a basic config.ccp, but change the word "midway" for the name of your island.  Should work...

Waterman. :)