OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Blechreiz on 05 Sep 2004, 05:58:36

Title: !!! CONFIG.CPP !! HELP!
Post by: Blechreiz on 05 Sep 2004, 05:58:36
Hi Folks!
My Problem:
When i start my OFP i can see the Island, but when i try to start it it loads much to long and when its loaded my game crashes without saying anything. Plz help me!! I also tried with only x,y,z axis for Names (without x.XXXX, y.YYYY, z.ZZZZ) Replies in german are OK, too! :D


my files are:
config.cpp (see below)
myworld_256.wrp
myworld_256.pos
myworld_256.rrp
gdt_icon.paa

my config.cpp:
class CfgPatches
{
class GDT_Island_Beta
{
  units[] = {};
  weapons[] = {};
  worlds[] = {"GDT Island Beta"};
  requiredVersion =1.92;
};
};
class CfgVehicles{};
class CfgSurfaces
{
class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
class DefaultWorld {};
class GDT_Island_Beta: DefaultWorld
 {
 access=3;
 description="GDT Island (Beta)";
 icon="\GDT_Island_Beta\gdt_icon.paa";
 worldName="\GDT_Island_Beta\myworld_256.wrp";
 plateLetters="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 class Sounds
 {
 sounds[]={};
 };
 class Animation
 {
 vehicles[]={};
 };
 class Names
 {
 class Scorpion_Island
 {
  name="Scorpion Island";
  position[]={2176.6384, 2765.4810, 0};
 };
 class Stooker_Island
 {
  name="Stooker Island";
  position[]={1380.1866, 4328.7031, 0};
 };
 class Schumacher_Island
 {
  name="Schumacher Island";
  position[]={10527.8174, 4981.4551, 0};
 };
 class Mullins_OldTown
 {
  name="Mullins OldTown";
  position[]={4865.8350, 7324.9526, 0};
 };
 class Kuehn_City
 {
  name="Kuehn-City";
  position[]={5062.0562, 7560.5049, 0};
 };
 class Vult_Hill
 {
  name="Vult Hill";
  position[]={5186.9722, 7778.7329, 0};
 };
 class Fusion_Fields
 {
  name="Fusion Fields";
  position[]={5241.8311, 8149.5781, 0};
 };
 class Hector_Airport
 {
  name="Hector Airport";
  position[]={10480.6855, 9328.8877, 0};
 };
 class Desert_Island
 {
  name="Desert Island";
  position[]={4582.7388, 962.9102, 0};
 };
 class Medicus_Mountain
 {
  name="Medicus Mountain";
  position[]={7269.2583, 3600.0803, 0};
};
class Zork_City
{
  name="Zork-City";
  position[]={5704.7178, 6209.9805, 0};
};

 };
};
};
class CfgWorldList
{
class  GDT_Island_Beta{};
};
Title: Re:!!! CONFIG.CPP !! HELP!
Post by: Planck on 05 Sep 2004, 14:39:32
In case you miss my post on the official forums:

Try this:

Change this part:
Code: [Select]
class CfgPatches
{
class GDT_Island_Beta
{
  units[] = {};
  weapons[] = {};
  worlds[] = {"GDT Island Beta"};
  requiredVersion =1.92;
};
};

To this:

Code: [Select]
class CfgPatches
{
class GDT_Island_Beta
{
  units[] = {};
  weapons[] = {};
  worlds[] = {"GDT_Island_Beta"};
  requiredVersion =1.92;
};
};


No spaces see!


Planck
Title: Re:!!! CONFIG.CPP !! HELP!
Post by: Blechreiz on 05 Sep 2004, 23:13:03
oh holy, thx it now works!
Want to play it?
www.silver-clan.de/gdtisland_beta.zip!