Home   Help Search Login Register  

Author Topic: config problems  (Read 1306 times)

0 Members and 1 Guest are viewing this topic.

AnarCHy

  • Guest
config problems
« on: 30 Dec 2004, 07:59:35 »
I have made a small config for testing purposes, which of course wont work
island is 256 cells
i used nogova and eden textures

class CfgPatches {
   class ERCland {
      units[] = {};
      worlds[] = {ERCland};
   };
};
class CfgWorlds {
   class DefaultWorld {};
   class Intro : DefaultWorld {};
   class ERCland : Intro {
      description = "ERC Island";
      icon = "\ERCland\dunes.paa";
      worldName = "\ERCland\ercaa.wrp";

      class Names {
         class Fenton
         {
         name="Fenton"
         position[]={1000,1000};
         };
      };

   };
};
class CfgWorldList {
   class ERCland {};
};



what it does is i can start up the game alright, open the worlds list, but when i click on ERC Island it loads to its fullest, stops for about 10 seconds, then crashes? !

someone please offer some help?
« Last Edit: 30 Dec 2004, 08:00:56 by AnarCHy »

Unnamed

  • Guest
Re:config problems
« Reply #1 on: 30 Dec 2004, 08:54:18 »
Try changing the worldname to ERCland.wrp, and renaming your original wrp. The wrp  needs to be the same as the class name.
« Last Edit: 30 Dec 2004, 08:55:18 by Unnamed »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:config problems
« Reply #2 on: 30 Dec 2004, 20:16:30 »
Hmmmmm........try this one:

Code: [Select]
// ERCLand

#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


class CfgPatches
{
   class ERCland
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"ercaa"};
      requiredVersion = 1.30;
   };
};
class CfgVehicles{};
class CfgSurfaces
{
   class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
   class DefaultWorld {};
   class  ercaa: DefaultWorld
   {
      access=3;
      description="ERC Island";
      icon="ERCland\dunes.paa";
      worldName="\ERCland\ercaa.wrp";
      plateFormat="ER$ - #####";
      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[]={0,0,0};
      ilsDirection[]={0,0.080000,1};
      ilsTaxiIn[]={};
      ilsTaxiOff[]={};
      centerPosition[]={9735,3964,0};
      class Sounds
      {
         sounds[]={};
      };
      class Animation
      {
         vehicles[]={};
      };
      class Names
      {
               class Fenton
               {
                  name="Fenton"
                  position[]={1000,1000};
               };
            };
   };
};
class CfgWorldList
{
   class  ercaa{};
};


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