OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Jahve on 09 Jul 2003, 12:17:25
-
Im working on an island with WRPedit, because I'm unable to import it into Visitor and if i theoretically was able to, i wouldnt because then all my objects and textures ive placed would be lost.
This island is called "Norvegia" and is a re-make of desert island, dividing it into two halfs connected by a res bridge and has trees, buildings, roads, an aiport, you name it. I've tried really hard now to get it working ingame, and I'm almost convinced my config.cpp is right and working, but when the RECEIVEING bit is done loading, the game crashes to desktop and gives no error messages.. WHATS WRONG!??? :'( I desperately need help with this, as I've been working really hard on it :'( Please help me!
Edit: This is NOT a config.cpp problem. It is a .wrp file problem.
-
hmm...I tried to help you, but I couldn't find anything wrong in the config :-\ Though, I ain't any good with config.cpp, so I think you should post the config here so ppl like Planck and SelectThis can see it ;) Maybe they'll find something that fucks things up...
Garcia
-
allright.. Here it goes:
class CfgPatches
{
class JahNorvegia
{
units[] = {};
weapons[] = {};
worlds[] = {"JahNorvegia"};
requiredVersion = 1.90;
};
};
class CfgWorldList
{
access=1
class JahNorvegia {};
};
class CfgWorlds
{
class DefaultWorld {};
class Eden: DefaultWorld {};
class JahNorvegia: Eden
{
access=3;
plateFormat="ER$ ## - ##";
plateLetters="ABCDEFHIKLMOPRSTVXYZ";
worldName="\JahNorvegia\nor.wrp";
description="Norvegia";
icon="_training.paa";
startTime="8:30";
startDate="30/4/84";
startWeather=0.300000;
startFog=0.000000;
forecastWeather=0.300000;
forecastFog=0.000000;
seagullPos[]={10738,8509};
class Sounds
{
sounds[]={};
};
class Animation
{
vehicles[]={};
};
class Names {};
};
};
-
The cpp should work. One thing I don't know about is having access CfgWorldList. And atleast this line:
worlds[] = {"JahNorvegia"};
can go w/o quotes.
I once got my island crashing after the receiving, it's made with visitor. The problem was solved after optimizing object registry if I remember correctly.
-
Well i've established now that its something wrong with my wrp file.. dunno what..
-
hmm sounds silly perhaps but how do you name your pbo,
nor.pbo or JahNorvegia.pbo ?
-
JahNorvegia.pbo
-
Sry for being so blind: smack this below seagullpos
centerPosition[]={5931,6747,0};
or any pos whatsoever, just that it is there. I think ::)
that seagullpos might be out of the map anyways, and aint needed.
-
I found one or two little errors, try this one:
class CfgPatches
{
class JahNorvegia
{
units[] = {};
weapons[] = {};
worlds[] = {"JahNorvegia"};
requiredVersion = 1.90;
};
};
class CfgWorlds
{
class DefaultWorld {};
class JahNorvegia: DefaultWorld
{
access=3;
description="Norvegia";
icon="_training.paa";
worldName="\JahNorvegia\nor.wrp";
plateFormat="ER$ ## - ##";
plateLetters="ABCDEFHIKLMOPRSTVXYZ";
startTime="8:30";
startDate="30/4/84";
startWeather=0.300000;
startFog=0.000000;
forecastWeather=0.300000;
forecastFog=0.000000;
seagullPos[]={10738,8509,100};
centerPosition[]={9735,3964,0};
class Sounds
{
sounds[]={};
};
class Animation
{
vehicles[]={};
};
class Names {};
{
};
};
};
class CfgWorldList
{
class JahNorvegia {};
};
Planck
-
I tried, no success. It is NOT a config.cpp problem, but must be something with the wrp file.. :(
-
Throw your wrp file my way and I will have a look.
mcnicoll7@yahoo.com
Planck