Home   Help Search Login Register  

Author Topic: Viewing your map. How?  (Read 1539 times)

0 Members and 1 Guest are viewing this topic.

MGeo

  • Guest
Viewing your map. How?
« on: 13 Mar 2004, 09:16:31 »
I have WRPEdit. Since i am a newbie to this i don't know how to view any map in the game. Can you tell me how to view a map that i have made?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Viewing your map. How?
« Reply #1 on: 13 Mar 2004, 14:33:58 »
Once you have your island made all you need is a config.cpp for it, then you pbo them together and put the resulting pbo file in your addons folder.

So, you have:

yourisland.wrp
config.cpp

Put both files in an appropriately named folder by themselves, then.......
Use stuffPBO to pbo them.

Put the pbo file in Addons.


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

MGeo

  • Guest
Re:Viewing your map. How?
« Reply #2 on: 13 Mar 2004, 14:45:19 »
Ok. But how to create that config.cpp ?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Viewing your map. How?
« Reply #3 on: 13 Mar 2004, 15:12:06 »
Tell me 3 things and I can cook one up for you pronto.

1./   The name you want to see in the Editor island selection list.

2./   The name you will call your PBO file.

3./   The name of your WRP file.


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

MGeo

  • Guest
Re:Viewing your map. How?
« Reply #4 on: 13 Mar 2004, 20:14:17 »
Ok.
A example will be good for me.

OK here:

1./  The name you want to see in the Editor island selection list.
Testmap

2./  The name you will call your PBO file.
Testmap

3./  The name of your WRP file.
Test.wrp

Well the map is a little test i am doing.

Thnx.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Viewing your map. How?
« Reply #5 on: 13 Mar 2004, 20:53:10 »
Ok here you go:

Code: [Select]
#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 Testmap
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"Test"};
      requiredVersion = 1.30;
   };
};
class CfgVehicles{};
class CfgSurfaces
{
   class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
   class DefaultWorld {};
   class  Test: DefaultWorld
   {
      access=3;
      description="Testmap";
      icon="_training.paa";
      worldName="\Testmap\Test.wrp";
      plateFormat="TS$ - #####";
      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  Test{};
};

Hope this helps you a bit.


Planck

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

MGeo

  • Guest
Re:Viewing your map. How?
« Reply #6 on: 13 Mar 2004, 22:27:33 »
OK thnx man. But i am alittle confused.

Damn i didn't had to add all the same names.  :-\
*Crashing my head into a wood*

Can you add the names like this.

Sorry for that.

1./  The name you want to see in the Editor island selection list.
Nameone
2./  The name you will call your PBO file.
Nametwo
3./  The name of your WRP file.
Namethree.

 :-[

Sry again.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Viewing your map. How?
« Reply #7 on: 13 Mar 2004, 22:49:11 »
The name you wish to appear in the Editor list goes in this part:

description="Testmap";


The PBO name goes in the following parts:

class CfgPatches
{
   class Testmap

and:

worldName="\Testmap\Test.wrp";


The WRP file name also goes in:

worldName="\Testmap\Test.wrp";

and also in:

class CfgPatches
{
   class Testmap
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"Test"};

and:

class CfgWorldList
{
   class  Test{};
};


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

MGeo

  • Guest
Re:Viewing your map. How?
« Reply #8 on: 14 Mar 2004, 09:29:49 »
Thnx man. I really needed that.