OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: megatron on 12 Aug 2004, 17:58:02
-
I've got a custom island made with Wrptool and its fine, i can use it in OFP, but i've tried to add ils details for the runway and i pbo the wrp and the new config it no longer appears in the laptop when i open the misson editor, i think its something ive done wrong with the brackets or layout.
Heres the config:
class CfgPatches {
class wrptool_12km {
units[] = {};
weapons[] = {};
worlds[] = {wrptool_12km};
requiredVersion = 1.91;
};
};
class CfgWorlds {
class DefaultWorld {};
class Intro : DefaultWorld {};
class wrptool_12km : Intro {
access = 3;
description = "WrpTool 12km";
icon = "\wrptool_12km\_wrptool_12km.paa";
worldName = "wrptool_12km.wrp";
cutscenes[] = {"..\addons\wrptool_12km_anims\intro"};
ilsposition[]={4573.3, 8262.1,0};//north end
ilsDirection[] ={0,0.08,1};
ilsTaxiIn[]=
{
4694.0, 7928.1,
4606.5, 7881.5,
4610.3, 7973.4,
4601.3, 8076.1,
4576.0, 8179.0,
4576.0, 7719.4,
4576.0, 7684.5,
4576.0, 7665.1,
};
ilsTaxiOff[]=
{
4573.3, 8262.1,
4576.0, 7984.0,
4576.0, 7972.0,
4644.7, 7929.5,
4702.2, 7624.7,
4717.9, 7926.2,
};
class CfgWorldList {
class wrptool_12km {};
}:
};
Can someone tell me what ive done wrong with this?
-
I think you are correct, it is another curly bracket problem.
Try this:
class CfgPatches {
class wrptool_12km {
units[] = {};
weapons[] = {};
worlds[] = {wrptool_12km};
requiredVersion = 1.91;
};
};
class CfgWorlds {
class DefaultWorld {};
class Intro : DefaultWorld {};
class wrptool_12km : Intro {
access = 3;
description = "WrpTool 12km";
icon = "\wrptool_12km\_wrptool_12km.paa";
worldName = "wrptool_12km.wrp";
cutscenes[] = {"..\addons\wrptool_12km_anims\intro"};
ilsposition[]={4573.3, 8262.1,0};//north end
ilsDirection[] ={0,0.08,1};
ilsTaxiIn[]=
{
4694.0, 7928.1,
4606.5, 7881.5,
4610.3, 7973.4,
4601.3, 8076.1,
4576.0, 8179.0,
4576.0, 7719.4,
4576.0, 7684.5,
4576.0, 7665.1,
};
ilsTaxiOff[]=
{
4573.3, 8262.1,
4576.0, 7984.0,
4576.0, 7972.0,
4644.7, 7929.5,
4702.2, 7624.7,
4717.9, 7926.2,
};
};
};
class CfgWorldList {
class wrptool_12km {};
}:
Note: additions in red
Planck
-
thanks, but it still dosent appear, i tried moving the last section around
class CfgWorldList {
class wrptool_12km {};
}:
};
because i saw it in a different place in a few configs.
Its annoying because i make a new pbo with the default config that comes with wrptool it shows up again, and i cant see anything obviously wrong with it.
-
Did you try the altered config I posted?
Just copy paste it into a new Notepad document.
I deliberately left the last '};' off the class cfgWorldList section.
You do not require it, it should look thus:
class CfgWorldList {
class wrptool_12km {};
}:
Planck
-
thanks, got it working now, i only copy and pasted the bit that was wrong before, but this time i deleted the old one and replaced it, now it works. The taxing needs a little work at the moment, the pilot taxis right out of the airport and into a building :D