OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: xero on 20 Apr 2003, 23:32:45
-
Hi all,
I'm having a problem getting my map into the game...
I had one island that I was working on, and I managed to get it into the game with a .wrp and a .cpp file in a .pbo, but then I started work on a new map (screenshots coming soon I hope).
I used the same .cpp with the names edited and I removed the first map from the addons folder, tried again and again to get it to work but to no avail.
I've come to the conclusion that the .wrp file must be the problem, my question is what are the common reasons for problems such as mine? It's probably something simple but I just can't work it out. :-[
Thanks for any help or possible solutions you can come up with, it'll be greatly appriciated by me and my team. ;)
-
I used the same .cpp with the names edited and I removed the first map from the addons folder, tried again and again to get it to work but to no avail.
What exactly happens?
do you get an error message?
Crash to desktop?
or does the island just not show on your list in the editor?
-
The map simply doesn't show in the mission editor screen where you select islands.
-
try to change the name of wrp and make changes too in cpp,config and paa too, it make some sort of register marking like one name one wrp file i did have same problem and just did fix it that way
greetings:pertti49
-
Just a basic config for you to have a look at :)
#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 IraqiAirbase
{
units[] = {};
weapons[] = {};
worlds[] = {"IraqiAirbase"};
requiredVersion = 1.30;
};
};
class CfgVehicles{};
class CfgSurfaces
{
class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
class DefaultWorld {};
class IraqiAirbase: DefaultWorld
{
access=3;
description="IraqiAirbase";
icon="\IraqiAirbase\OPGWCLogo.paa";
worldName="\IraqiAirbase\IraqiAirbase.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[]={0,0,0};
ilsDirection[]={0,0.080000,1};
ilsTaxiIn[]={};
ilsTaxiOff[]={};
centerPosition[]={9735,3964,0};
class Sounds
{
sounds[]={};
};
class Animation
{
vehicles[]={};
};
class Names
{
class Alas
{
name="Al-Asad Airbase";
position[]={1355,4885,50};
};
};
};
};
class CfgWorldList
{
class IraqiAirbase{};
};
-
Thanks for the help guys :)
I renamed it and used that cpp as a template and it worked, I think it may juts have been a silly problem with the naming of folders/files. Sorry to have wated your time.
Now some bug fixing :'(