OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: AnarCHy 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?
-
Try changing the worldname to ERCland.wrp, and renaming your original wrp. The wrp needs to be the same as the class name.
-
Hmmmmm........try this one:
// 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