OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: CrappyUrbanxShizZx on 01 Apr 2004, 00:35:34
-
How do I play my WRP map?
-
You need to make a config.cpp for it and then pbo the .wrp file and the config file.
Then place the pbo into Addons.
Planck
-
submit the map somwhere...
-
Heres a config you can edit :
class CfgPatches {
class blahblah {
units[] = {};
weapons[] = {};
worlds[] = {blahblah};
requiredVersion = 1.20;
};
};
class CfgWorlds {
class DefaultWorld {
};
class Intro : DefaultWorld {
};
class blahblah : Intro {
access = 3;
description = "My world!!";
worldName = "\fodlername\filename.wrp";
};
};
class CfgWorldList {
class blahblah {
};
};
You need to change :
blahblah to something like myisland (I normally use onix_name)
This line worldName = "\fodlername\filename.wrp";
Foldername is the foldername...! :P
This is acctaly the PBO name, but you put the WRP file, and this config in the fodler, and use MakePBO on the folder..
If you use find and replace on that file in notepad (I'm sure the win xp version has that, if not copy/paste it into wordpad, then copy/paste it back to notepad), find blahblah, and replace it with, say, I would use, onix_island
If you need anymore help, MSN me
Or email/pm
Good luck :)
- Ben
-
this is the config and i have makepbo and everytome i have it make the .pbo with this config it does not work i have it in a folder name map\carentan.wrp and also init is the config carentan.cpp is this right or is there something wrong with the config or can someone just put it ingame for me.
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1503;}\viewkind4\uc1\pard\f0\fs20 class CfgPatches \{\par
class Normandy \{\par
units[] = \{\};\par
weapons[] = \{\};\par
worlds[] = \{Normandy\};\par
requiredVersion = 1.20;\par
\};\par
\};\par
\par
class CfgWorlds \{\par
class DefaultWorld \{\par
\};\par
class Intro : DefaultWorld \{\par
\};\par
class Normandy : Intro \{\par
access = 3;\par
description = "My world!!";\par
worldName = "\\Map\carentan.wrp";\par
\};\par
\};\par
\par
class CfgWorldList \{\par
class Normandy \{\par
\};\par
\};\par
}
-
ok..........Just so everything is clear.
Your config makes no sense.
Post here what you want your PBO file to be called.
Post also the exact name of your .wrp file.
Post also what you want the map called on the choose island screen in the editor.
If you supply this info I can knock up a config for you in seconds.
Planck
-
Carentan.pbo
Carentan.wrp
Carentan is the name i want
there it is thanks
-
OK......Try this for a basic config.cpp.
#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
class CfgPatches
{
class Carentan
{
units[] = {};
weapons[] = {};
worlds[] = {"Carentan"};
requiredVersion = 1.30;
};
};
class CfgVehicles{};
class CfgSurfaces
{
class Default {};
};
class CfgEnvSounds {};
class CfgWorlds
{
class DefaultWorld {};
class Carentan: DefaultWorld
{
access=3;
description="Carentan";
icon="_training.paa";
worldName="\Carentan\Carentan.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 Carentan{};
};
Planck
-
Remember to get a Tag registed on OFPEC and use that ;)
- Ben
PS, the config looks like it should work :)
-
hey it did not work i don't know why it went into the game and when i clicked on it to go see it. It just shut flashpoint down.
-
If you want, I can look at it for you.
email it to me:
mcnicoll7@yahoo.com
I will try it out and see what might be wrong.
First though, double check that your .wrp file is called Carentan.wrp and your PBO is called Carentan.pbo.
If they are so named, then it must be a fault with the .wrp file somewhere.
Planck
-
Gday mate..
A quick cheat i use to view my isle..
Is to overwrite ...-the OperationFlashpoint/Worlds/Intro.wrp file with the isle im editing. (you can always rename it later)
And make sure all required objects are in addons directory.
Then remove addons from data directory (my setup in WRPedit) and play OFP
Load up in mission editor through 'desert isle'
Make a note I am using WRPedit.
;D
MadAussie out...
BTW Planck is the man for the cpp to get it done correctly