Home   Help Search Login Register  

Author Topic: Importing into game  (Read 1165 times)

0 Members and 3 Guests are viewing this topic.

xero

  • Guest
Importing into game
« 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.  ;)

Kaliyuga

  • Guest
Re:Importing into game
« Reply #1 on: 21 Apr 2003, 00:22:21 »
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?


xero

  • Guest
Re:Importing into game
« Reply #2 on: 21 Apr 2003, 00:37:03 »
The map simply doesn't show in the mission editor screen where you select islands.

pertti49

  • Guest
Re:Importing into game
« Reply #3 on: 21 Apr 2003, 03:48:27 »
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

Leone

  • Guest
Re:Importing into game
« Reply #4 on: 21 Apr 2003, 07:52:49 »
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{};
};

xero

  • Guest
Re:Importing into game
« Reply #5 on: 21 Apr 2003, 17:19:37 »
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 :'(