Home   Help Search Login Register  

Author Topic: How do i bring into game  (Read 1006 times)

0 Members and 1 Guest are viewing this topic.

BHD Mod

  • Guest
How do i bring into game
« on: 01 Jun 2003, 02:53:46 »
I am new to WRP Edit. I have made a map, but how do i get it into the game. I tried using pbo tool on it and then putting it into addons, but that did not work.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:How do i bring into game
« Reply #1 on: 01 Jun 2003, 03:40:35 »
As a minimum, you need to PBO your Wrp file along with a config.cpp.

Put the resulting PBO file in your Addons folder.


Planck
I know a little about a lot, and a lot about a little.

Leone

  • Guest
Re:How do i bring into game
« Reply #2 on: 01 Jun 2003, 08:12:17 »
Sample config.cpp:

// MyIslandName

#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 MyIslandName
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"MyIslandName"};
      requiredVersion = 1.30;
   };
};
class CfgVehicles{};
class CfgSurfaces
{
   class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
   class DefaultWorld {};
   class  MyIslandName: DefaultWorld
   {
      access=3;
      description="MyIslandName";
      icon="_training.paa";
      worldName="\MyIslandName\MyIslandName.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 CfgWorldList
{
   class  MyIslandName{};
};


Just replace MyIslandName with, ahem, your island name  ;D

Nitrox

  • Guest
Re:How do i bring into game
« Reply #3 on: 01 Jun 2003, 11:24:17 »
I had the same question before so if you use the search function youll find a good thread about this.

in the line
worldName="\MyIslandName\MyIslandName.wrp";

the first myislandname is the name of your .pbo file without the.pbo extension (took me awhile before I figured that out heh.

I made a map called Devil.wrp

So I made a folder called Devil
in it i put my map devil.wrp and a config file config.cpp (Those are the only 2 files you need)
then I knew I vould call my pbo file Devil1 so in the worldname in config I put:
worldName="\Devil1\Devil.wrp";

Hope this helps.